summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/inc/guisaveas.hxx2
-rw-r--r--sfx2/source/doc/guisaveas.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/inc/guisaveas.hxx b/sfx2/inc/guisaveas.hxx
index 9d6329049673..906e22f67cf2 100644
--- a/sfx2/inc/guisaveas.hxx
+++ b/sfx2/inc/guisaveas.hxx
@@ -58,7 +58,7 @@ public:
SfxStoringHelper();
sal_Bool GUIStoreModel(
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel,
+ ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > xModel,
const ::rtl::OUString& aSlotName,
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgsSequence,
sal_Bool bPreselectPassword,
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index ecf930b8016f..727e8178420e 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -1324,7 +1324,7 @@ uno::Reference< ::com::sun::star::frame::XModuleManager2 > SfxStoringHelper::Get
}
//-------------------------------------------------------------------------
-sal_Bool SfxStoringHelper::GUIStoreModel( const uno::Reference< frame::XModel >& xModel,
+sal_Bool SfxStoringHelper::GUIStoreModel( uno::Reference< frame::XModel > xModel,
const ::rtl::OUString& aSlotName,
uno::Sequence< beans::PropertyValue >& aArgsSequence,
sal_Bool bPreselectPassword,