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.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/viewfac.hxx b/include/sfx2/viewfac.hxx
index efd511ea2b3d..c09791216f0e 100644
--- a/include/sfx2/viewfac.hxx
+++ b/include/sfx2/viewfac.hxx
@@ -27,7 +27,7 @@
class SfxViewFrame;
class SfxViewShell;
-typedef SfxViewShell* (*SfxViewCtor)(SfxViewFrame*, SfxViewShell*);
+typedef SfxViewShell* (*SfxViewCtor)(SfxViewFrame&, SfxViewShell*);
// CLASS -----------------------------------------------------------------
class SFX2_DLLPUBLIC SfxViewFactory
@@ -36,7 +36,7 @@ public:
SfxViewFactory( SfxViewCtor fnC,
SfxInterfaceId nOrdinal, const char* asciiViewName );
- SfxViewShell* CreateInstance(SfxViewFrame *pViewFrame, SfxViewShell *pOldSh);
+ SfxViewShell* CreateInstance(SfxViewFrame& rViewFrame, SfxViewShell *pOldSh);
SfxInterfaceId GetOrdinal() const { return nOrd; }
/// returns a legacy view name. This is "view" with an appended ordinal/ID.