diff options
Diffstat (limited to 'sc/inc/unowids.hxx')
-rw-r--r-- | sc/inc/unowids.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/unowids.hxx b/sc/inc/unowids.hxx index 175022a0ba14..2a1ffdbbbfc7 100644 --- a/sc/inc/unowids.hxx +++ b/sc/inc/unowids.hxx @@ -82,12 +82,12 @@ #define SC_WID_UNO_END ( SC_WID_UNO_START + 41 ) -inline BOOL IsScUnoWid( USHORT nWid ) +inline sal_Bool IsScUnoWid( sal_uInt16 nWid ) { return nWid >= SC_WID_UNO_START && nWid <= SC_WID_UNO_END; } -inline BOOL IsScItemWid( USHORT nWid ) +inline sal_Bool IsScItemWid( sal_uInt16 nWid ) { return nWid >= ATTR_STARTINDEX && nWid <= ATTR_ENDINDEX; // incl. page } |