summaryrefslogtreecommitdiffstats
path: root/include/sfx2/viewfac.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2/viewfac.hxx')
-rw-r--r--include/sfx2/viewfac.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/viewfac.hxx b/include/sfx2/viewfac.hxx
index 687be03d1b1a..d5fe2484d4dd 100644
--- a/include/sfx2/viewfac.hxx
+++ b/include/sfx2/viewfac.hxx
@@ -37,7 +37,7 @@ public:
SfxViewFactory( SfxViewCtor fnC,
sal_uInt16 nOrdinal, const sal_Char* asciiViewName );
- SfxViewShell *CreateInstance(SfxViewFrame *pViewFrame, SfxViewShell *pOldSh);
+ rtl::Reference< SfxViewShell >CreateInstance(SfxViewFrame *pViewFrame, rtl::Reference< SfxViewShell > pOldSh);
sal_uInt16 GetOrdinal() const { return nOrd; }
/// returns a legacy view name. This is "view" with an appended ordinal/ID.