diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-09-14 20:43:15 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-09-14 20:43:15 +0000 |
| commit | bb4246887ab6a0833cc4d2263b31f951ce314061 (patch) | |
| tree | f5621a11fa7d21ff20b301de9daf047551d38cfb /src/sp-flowregion.h | |
| parent | Merged from trunk (r12517). (diff) | |
| download | inkscape-bb4246887ab6a0833cc4d2263b31f951ce314061.tar.gz inkscape-bb4246887ab6a0833cc4d2263b31f951ce314061.zip | |
Modified SP_IS_ macros.
(bzr r11608.1.122)
Diffstat (limited to 'src/sp-flowregion.h')
| -rw-r--r-- | src/sp-flowregion.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-flowregion.h b/src/sp-flowregion.h index 48d702494..2a17b1309 100644 --- a/src/sp-flowregion.h +++ b/src/sp-flowregion.h @@ -7,10 +7,10 @@ #include "sp-item.h" #define SP_FLOWREGION(obj) ((SPFlowregion*)obj) -#define SP_IS_FLOWREGION(obj) (dynamic_cast<const SPFlowregion*>((SPObject*)obj)) +#define SP_IS_FLOWREGION(obj) (dynamic_cast<const SPFlowregion*>((SPObject*)obj) != NULL) #define SP_FLOWREGIONEXCLUDE(obj) ((SPFlowregionExclude*)obj) -#define SP_IS_FLOWREGIONEXCLUDE(obj) (dynamic_cast<const SPFlowregionExclude*>((SPObject*)obj)) +#define SP_IS_FLOWREGIONEXCLUDE(obj) (dynamic_cast<const SPFlowregionExclude*>((SPObject*)obj) != NULL) class Path; class Shape; |
