summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/dinfdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-11-11 22:05:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-11-12 09:03:02 +0100
commit41ab82d5dbfd04eca6437dc072e0cef15b5d1ae9 (patch)
tree96b2239c97abb505b2367e7b77bc135d9a8da37b /sfx2/source/dialog/dinfdlg.cxx
parent65d52af42f329bbe7c5e7d6ac617320f7faa4760 (diff)
clang-tidy: performance-unnecessary-copy-initialization in sfx2
Change-Id: If818f7b10eb81f8921b5d90fe0c2db4d4ad97ed6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176439 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/dialog/dinfdlg.cxx')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index b42e8261194c..05ef79f5dda6 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1205,7 +1205,7 @@ void SfxDocumentPage::Reset( const SfxItemSet* rSet )
// Check for cmis properties where otherwise unavailable
if ( rInfoItem.isCmisDocument( ) )
{
- const uno::Sequence< document::CmisProperty > aCmisProps = rInfoItem.GetCmisProperties();
+ const uno::Sequence< document::CmisProperty >& aCmisProps = rInfoItem.GetCmisProperties();
for ( const auto& rCmisProp : aCmisProps )
{
if ( rCmisProp.Id == "cmis:contentStreamLength" &&