summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmldlg_imexp/imp_share.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xmldlg_imexp/imp_share.hxx')
-rw-r--r--xmlscript/source/xmldlg_imexp/imp_share.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlscript/source/xmldlg_imexp/imp_share.hxx b/xmlscript/source/xmldlg_imexp/imp_share.hxx
index 48bc18b70ceb..30f8ffdba28b 100644
--- a/xmlscript/source/xmldlg_imexp/imp_share.hxx
+++ b/xmlscript/source/xmldlg_imexp/imp_share.hxx
@@ -176,7 +176,7 @@ public:
virtual ~DialogImport();
- inline css::uno::Reference< css::frame::XModel > getDocOwner() { return _xDoc; }
+ const css::uno::Reference< css::frame::XModel >& getDocOwner() { return _xDoc; }
// XRoot
virtual void SAL_CALL startDocument(
@@ -394,7 +394,7 @@ public:
_aId( id )
{ OSL_ASSERT( _xControlModel.is() ); }
- inline css::uno::Reference< css::beans::XPropertySet > getControlModel() const
+ const css::uno::Reference< css::beans::XPropertySet >& getControlModel() const
{ return _xControlModel; }
void importScollableSettings( css::uno::Reference< css::xml::input::XAttributes > const & xAttributes );