summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/docinf.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-08 16:33:17 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 08:21:18 +0200
commit4cbcec9ed4c51277b00c155a5fa097880c0dee4b (patch)
tree7ae7630e51f37d0d60bae4640b4dcd047eaaee29 /sfx2/source/doc/docinf.cxx
parentf3a43c723eaf751d5ee28b13c0cc6f8014094bbe (diff)
clang-tidy performance-unnecessary-value-param in sfx2
Change-Id: I035eec1f3701c48b9a85c60400c68f9365299b48
Diffstat (limited to 'sfx2/source/doc/docinf.cxx')
-rw-r--r--sfx2/source/doc/docinf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/docinf.cxx b/sfx2/source/doc/docinf.cxx
index 75a4dc673840..e27d276aca1a 100644
--- a/sfx2/source/doc/docinf.cxx
+++ b/sfx2/source/doc/docinf.cxx
@@ -45,7 +45,7 @@ using namespace ::com::sun::star;
namespace sfx2 {
sal_uInt32 LoadOlePropertySet(
- uno::Reference< document::XDocumentProperties> i_xDocProps,
+ const uno::Reference< document::XDocumentProperties>& i_xDocProps,
SotStorage* i_pStorage )
{
// *** global properties from stream "005SummaryInformation" ***
@@ -195,7 +195,7 @@ sal_uInt32 LoadOlePropertySet(
}
bool SaveOlePropertySet(
- uno::Reference< document::XDocumentProperties> i_xDocProps,
+ const uno::Reference< document::XDocumentProperties>& i_xDocProps,
SotStorage* i_pStorage,
const uno::Sequence<sal_uInt8> * i_pThumb,
const uno::Sequence<sal_uInt8> * i_pGuid,