summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/StyleSheetTable.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 15:59:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 19:53:32 +0200
commit3b04455e23174a5f479932f919b7b2b9831b2c54 (patch)
tree80f3d11b2012702f08ef54fb2a61de23d834de44 /writerfilter/source/dmapper/StyleSheetTable.cxx
parentc2bf0d06fa3c634024db816a93e53e904f4eb2d1 (diff)
loplugin:constparams in writerfilter
Change-Id: Ic0455f0a61825ec649ecbb78244f78a20df2787a Reviewed-on: https://gerrit.libreoffice.org/40595 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/dmapper/StyleSheetTable.cxx')
-rw-r--r--writerfilter/source/dmapper/StyleSheetTable.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index 522102630a70..d821191a1302 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -270,7 +270,7 @@ struct StyleSheetTable_Impl
OUString HasListCharStyle( const PropertyValueVector_t& rCharProperties );
/// Appends the given key-value pair to the list of latent style properties of the current entry.
- void AppendLatentStyleProperty(const OUString& aName, Value& rValue);
+ void AppendLatentStyleProperty(const OUString& aName, Value const & rValue);
/// Sets all properties of xStyle back to default.
static void SetPropertiesToDefault(const uno::Reference<style::XStyle>& xStyle);
};
@@ -343,7 +343,7 @@ OUString StyleSheetTable_Impl::HasListCharStyle( const PropertyValueVector_t& rP
return OUString();
}
-void StyleSheetTable_Impl::AppendLatentStyleProperty(const OUString& aName, Value& rValue)
+void StyleSheetTable_Impl::AppendLatentStyleProperty(const OUString& aName, Value const & rValue)
{
beans::PropertyValue aValue;
aValue.Name = aName;