summaryrefslogtreecommitdiff
path: root/include/sfx2/viewfac.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2/viewfac.hxx')
-rw-r--r--include/sfx2/viewfac.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/sfx2/viewfac.hxx b/include/sfx2/viewfac.hxx
index 2bff0da82258..e9bef0f6cc76 100644
--- a/include/sfx2/viewfac.hxx
+++ b/include/sfx2/viewfac.hxx
@@ -22,6 +22,7 @@
#include <rtl/ustring.hxx>
#include <sal/config.h>
#include <sfx2/dllapi.h>
+#include <sfx2/shell.hxx>
class SfxViewFrame;
class SfxViewShell;
@@ -34,10 +35,10 @@ class SFX2_DLLPUBLIC SfxViewFactory
{
public:
SfxViewFactory( SfxViewCtor fnC,
- sal_uInt16 nOrdinal, const sal_Char* asciiViewName );
+ SfxInterfaceId nOrdinal, const sal_Char* asciiViewName );
- SfxViewShell *CreateInstance(SfxViewFrame *pViewFrame, SfxViewShell *pOldSh);
- sal_uInt16 GetOrdinal() const { return nOrd; }
+ SfxViewShell* CreateInstance(SfxViewFrame *pViewFrame, SfxViewShell *pOldSh);
+ SfxInterfaceId GetOrdinal() const { return nOrd; }
/// returns a legacy view name. This is "view" with an appended ordinal/ID.
OUString GetLegacyViewName() const;
@@ -51,7 +52,7 @@ public:
private:
SfxViewCtor fnCreate;
- sal_uInt16 nOrd;
+ SfxInterfaceId nOrd;
const OUString m_sViewName;
};