diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlstyle.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlstyle.hxx | 4 |
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 ); |