summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 16:05:03 +0200
committerNoel Grandin <noel@peralex.com>2016-04-12 08:33:32 +0200
commitdc0d98590f07c7dae4504b7ed0c0127794f032d8 (patch)
treeb3b926f947185f89f59788f8fc48e6305eac67ff /sc
parent03fd8d24c2e4603731e796b24e51289736c65621 (diff)
clang-tidy performance-unnecessary-value-param in xmloff
Change-Id: I8e6d8e66cdab2e50ee10882e139be29c14ce50f6
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlstyle.cxx4
-rw-r--r--sc/source/filter/xml/xmlstyle.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/xml/xmlstyle.cxx b/sc/source/filter/xml/xmlstyle.cxx
index ea45c1bd5df1..613787e4f1a1 100644
--- a/sc/source/filter/xml/xmlstyle.cxx
+++ b/sc/source/filter/xml/xmlstyle.cxx
@@ -191,7 +191,7 @@ ScXMLCellExportPropertyMapper::~ScXMLCellExportPropertyMapper()
void ScXMLCellExportPropertyMapper::ContextFilter(
bool bEnableFoFontFamily,
::std::vector< XMLPropertyState >& rProperties,
- uno::Reference< beans::XPropertySet > rPropSet ) const
+ const uno::Reference< beans::XPropertySet >& rPropSet ) const
{
XMLPropertyState* pPadding = nullptr;
XMLPropertyState* pPadding_Bottom = nullptr;
@@ -559,7 +559,7 @@ ScXMLRowExportPropertyMapper::~ScXMLRowExportPropertyMapper()
void ScXMLRowExportPropertyMapper::ContextFilter(
bool /* bEnableFoFontFamily */,
::std::vector< XMLPropertyState >& /* rProperties */,
- uno::Reference< beans::XPropertySet > /* rPropSet */ ) const
+ const uno::Reference< beans::XPropertySet >& /* rPropSet */ ) const
{
//#108550#; don't filter the height, so other applications know the calculated height
}
diff --git a/sc/source/filter/xml/xmlstyle.hxx b/sc/source/filter/xml/xmlstyle.hxx
index ce27051d1115..2730ec16aa27 100644
--- a/sc/source/filter/xml/xmlstyle.hxx
+++ b/sc/source/filter/xml/xmlstyle.hxx
@@ -109,7 +109,7 @@ protected:
virtual void ContextFilter(
bool bEnableFoFontFamily,
::std::vector< XMLPropertyState >& rProperties,
- css::uno::Reference<css::beans::XPropertySet > rPropSet ) const override;
+ const css::uno::Reference<css::beans::XPropertySet >& rPropSet ) const override;
public:
explicit ScXMLCellExportPropertyMapper(
const rtl::Reference< XMLPropertySetMapper >& rMapper );
@@ -138,7 +138,7 @@ protected:
virtual void ContextFilter(
bool bEnableFoFontFamily,
::std::vector< XMLPropertyState >& rProperties,
- css::uno::Reference<css::beans::XPropertySet > rPropSet ) const override;
+ const css::uno::Reference<css::beans::XPropertySet >& rPropSet ) const override;
public:
explicit ScXMLRowExportPropertyMapper(
const rtl::Reference< XMLPropertySetMapper >& rMapper );