summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/OLEHandler.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-07-21 21:40:47 +0200
committerMichael Stahl <mstahl@redhat.com>2014-07-22 16:32:35 +0200
commita140f3bca681ffcc5944d2b4cb9a81985c59c702 (patch)
tree66bcfca93b821df9295a4c798cb4b3950a7a4cc4 /writerfilter/source/dmapper/OLEHandler.cxx
parentd9c4aa3838044e86013ee6c0e49afa45274faf89 (diff)
writerfilter: more pass uno::Reference by reference in dmapper
Change-Id: I71645b208854877fbd5cb29327d467da5cbe0e46
Diffstat (limited to 'writerfilter/source/dmapper/OLEHandler.cxx')
-rw-r--r--writerfilter/source/dmapper/OLEHandler.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/OLEHandler.cxx b/writerfilter/source/dmapper/OLEHandler.cxx
index 73b0c6dae8e5..a0840057d285 100644
--- a/writerfilter/source/dmapper/OLEHandler.cxx
+++ b/writerfilter/source/dmapper/OLEHandler.cxx
@@ -177,7 +177,7 @@ void OLEHandler::lcl_sprm(Sprm & rSprm)
}
-void OLEHandler::saveInteropProperties( uno::Reference< text::XTextDocument > xTextDocument, const OUString& sObjectName )
+void OLEHandler::saveInteropProperties(uno::Reference<text::XTextDocument> const& xTextDocument, const OUString& sObjectName)
{
const OUString sGrabBagPropName = UNO_NAME_MISC_OBJ_INTEROPGRABBAG;
const OUString sEmbeddingsPropName = "EmbeddedObjects";
@@ -225,7 +225,8 @@ void OLEHandler::saveInteropProperties( uno::Reference< text::XTextDocument > xT
}
-OUString OLEHandler::copyOLEOStream( uno::Reference< text::XTextDocument > xTextDocument )
+OUString OLEHandler::copyOLEOStream(
+ uno::Reference<text::XTextDocument> const& xTextDocument)
{
OUString sRet;
if( !m_xInputStream.is( ) )