diff options
Diffstat (limited to 'src/sp-rect.h')
| -rw-r--r-- | src/sp-rect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-rect.h b/src/sp-rect.h index 12f94a744..04026e051 100644 --- a/src/sp-rect.h +++ b/src/sp-rect.h @@ -20,7 +20,7 @@ #define SP_RECT(obj) ((SPRect*)obj) -#define SP_IS_RECT(obj) (dynamic_cast<const SPRect*>((SPObject*)obj)) +#define SP_IS_RECT(obj) (dynamic_cast<const SPRect*>((SPObject*)obj) != NULL) class SPRect : public SPShape { public: |
