summaryrefslogtreecommitdiff
path: root/sw/inc/unoprnms.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/unoprnms.hxx')
-rw-r--r--sw/inc/unoprnms.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/unoprnms.hxx b/sw/inc/unoprnms.hxx
index 0ea5fa9db598..5fe59c9648fe 100644
--- a/sw/inc/unoprnms.hxx
+++ b/sw/inc/unoprnms.hxx
@@ -813,7 +813,7 @@ enum SwPropNameIds
struct SwPropNameLen
{
const char* pName;
- USHORT nNameLen;
+ sal_uInt16 nNameLen;
operator const char*() const { return pName; }
};
@@ -825,8 +825,8 @@ extern const SwPropNameTab aPropNameTab;
// !!! function must not(!) be inline because it is called via the below !!!
// !!! listed macros from the swui DLL and that can not access the !!!
// !!! array aPropNameTab which is located in a different DLL. !!!
-SW_DLLPUBLIC const SwPropNameLen& GetPropName( USHORT nId );
-SW_DLLPUBLIC const SwPropNameLen& SwGetPropName( USHORT nId );
+SW_DLLPUBLIC const SwPropNameLen& GetPropName( sal_uInt16 nId );
+SW_DLLPUBLIC const SwPropNameLen& SwGetPropName( sal_uInt16 nId );
#define SW_PROP_NAME(nId) \
GetPropName( nId ).pName, GetPropName( nId ).nNameLen