summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-07 09:20:45 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-15 01:30:53 +0100
commitca4d16429ab0d060b8e894fc6363b75ba82c80b0 (patch)
treeb7cac2d2bb5cb4f6df6a7549c8154eff2dbd47f0 /sfx2
parent3ce6b70835762ef0cb21e5742c6744c7c2ad4aed (diff)
let us pass this parameter by value
Change-Id: I1430da4ee9ff87b1fb549a43115aa8fe41c76343
Diffstat (limited to 'sfx2')
-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,