summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-23 16:41:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-23 19:35:46 +0200
commitbc50aa40f9ad790c7a9afc1dd9059ac0755be3fe (patch)
tree2c0765395ed2fd23710357e23c8eb9140166bbf2 /include
parent79e1d1353b4bed9a120c44b3a0436d4b041c30f7 (diff)
loplugin:returnconstval in xmloff
Change-Id: I200080ff1c44544fdb8211e58228fd62465f3732 Reviewed-on: https://gerrit.libreoffice.org/78020 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/xmlcnimp.hxx4
-rw-r--r--include/xmloff/xmlimp.hxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/include/xmloff/xmlcnimp.hxx b/include/xmloff/xmlcnimp.hxx
index 338a48f753ac..c987e9943138 100644
--- a/include/xmloff/xmlcnimp.hxx
+++ b/include/xmloff/xmlcnimp.hxx
@@ -47,8 +47,8 @@ public:
const OUString& rValue );
size_t GetAttrCount() const;
- const OUString GetAttrNamespace( size_t i ) const;
- const OUString GetAttrPrefix( size_t i ) const;
+ OUString GetAttrNamespace( size_t i ) const;
+ OUString GetAttrPrefix( size_t i ) const;
const OUString& GetAttrLName( size_t i ) const;
const OUString& GetAttrValue( size_t i ) const;
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 33ab9dab9d68..9713f720f08a 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -376,10 +376,10 @@ public:
// get import helper for events
XMLEventImportHelper& GetEventImport();
- static const OUString getNameFromToken( sal_Int32 nToken );
- static const OUString getNamespacePrefixFromToken(sal_Int32 nToken, const SvXMLNamespaceMap* pMap);
- static const OUString getNamespaceURIFromToken( sal_Int32 nToken );
- static const OUString getNamespacePrefixFromURI( const OUString& rURI );
+ static OUString getNameFromToken( sal_Int32 nToken );
+ static OUString getNamespacePrefixFromToken(sal_Int32 nToken, const SvXMLNamespaceMap* pMap);
+ static OUString getNamespaceURIFromToken( sal_Int32 nToken );
+ static OUString getNamespacePrefixFromURI( const OUString& rURI );
SvXMLNamespaceMap& GetNamespaceMap() { return *mpNamespaceMap; }
const SvXMLNamespaceMap& GetNamespaceMap() const { return *mpNamespaceMap; }