summaryrefslogtreecommitdiff
path: root/sfx2/inc/sfx2/viewfac.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/inc/sfx2/viewfac.hxx')
-rw-r--r--sfx2/inc/sfx2/viewfac.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/inc/sfx2/viewfac.hxx b/sfx2/inc/sfx2/viewfac.hxx
index 420a44440aae..f3376e733702 100644
--- a/sfx2/inc/sfx2/viewfac.hxx
+++ b/sfx2/inc/sfx2/viewfac.hxx
@@ -44,12 +44,12 @@ class SFX2_DLLPUBLIC SfxViewFactory
{
public:
SfxViewFactory( SfxViewCtor fnC, SfxViewInit fnI,
- USHORT nOrdinal, const sal_Char* asciiViewName );
+ sal_uInt16 nOrdinal, const sal_Char* asciiViewName );
~SfxViewFactory();
SfxViewShell *CreateInstance(SfxViewFrame *pViewFrame, SfxViewShell *pOldSh);
void InitFactory();
- USHORT GetOrdinal() const { return nOrd; }
+ sal_uInt16 GetOrdinal() const { return nOrd; }
/// returns a legacy view name. This is "view" with an appended ordinal/ID.
String GetLegacyViewName() const;
@@ -64,7 +64,7 @@ public:
private:
SfxViewCtor fnCreate;
SfxViewInit fnInit;
- USHORT nOrd;
+ sal_uInt16 nOrd;
const String m_sViewName;
};