From 0302c9b192c3b7ba10daabed61d6864c24c14070 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 12 Sep 2018 15:51:15 +0200 Subject: loplugin:constfields in xmloff Change-Id: I9623e6b483b28f5b50a2c76016bcc319b375a35a Reviewed-on: https://gerrit.libreoffice.org/60394 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/text/XMLTextFrameContext.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xmloff/source/text/XMLTextFrameContext.cxx') diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index a0a071bbde80..4a554125c796 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -84,10 +84,10 @@ typedef ::std::map < const OUString, OUString > ParamMap; class XMLTextFrameContextHyperlink_Impl { - OUString sHRef; - OUString sName; - OUString sTargetFrameName; - bool bMap; + OUString const sHRef; + OUString const sName; + OUString const sTargetFrameName; + bool const bMap; public: @@ -359,7 +359,7 @@ class XMLTextFrameContext_Impl : public SvXMLImportContext sal_Int16 nRelWidth; sal_Int16 nRelHeight; - sal_uInt16 nType; + sal_uInt16 const nType; css::text::TextContentAnchorType eAnchorType; bool bMayScript : 1; -- cgit v1.2.3