summaryrefslogtreecommitdiff
path: root/filter/source/msfilter/msocximex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/msfilter/msocximex.cxx')
-rw-r--r--filter/source/msfilter/msocximex.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/filter/source/msfilter/msocximex.cxx b/filter/source/msfilter/msocximex.cxx
index a796798317c5..5ed9bbf2b5a3 100644
--- a/filter/source/msfilter/msocximex.cxx
+++ b/filter/source/msfilter/msocximex.cxx
@@ -40,8 +40,7 @@ SvxMSConvertOCXControls::~SvxMSConvertOCXControls()
{
}
-const uno::Reference< drawing::XDrawPage >&
- SvxMSConvertOCXControls::GetDrawPage()
+void SvxMSConvertOCXControls::GetDrawPage()
{
if( !xDrawPage.is() && mxModel.is() )
{
@@ -51,8 +50,6 @@ const uno::Reference< drawing::XDrawPage >&
xDrawPage = xTxtDoc->getDrawPage();
OSL_ENSURE( xDrawPage.is(), "no XDrawPage" );
}
-
- return xDrawPage;
}