summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-01 14:00:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-01 21:42:00 +0200
commitac8cb02cfdeef48dac0baa6646253170d1e1f2c9 (patch)
treed1486e7d345f23c81fad2740b338bcc2814bec84 /shell
parent152b3ef0f36a067e3ee07172d3057a3a728e12f1 (diff)
loplugin:returnconstval (clang-cl)
Change-Id: Id1bcc878f40fba804f78f7a5b7cd463db8dc5988 Reviewed-on: https://gerrit.libreoffice.org/79957 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/ooofilereader/autostyletag.hxx2
-rw-r--r--shell/source/win32/ooofilereader/dummytag.hxx2
-rw-r--r--shell/source/win32/ooofilereader/itag.hxx2
-rw-r--r--shell/source/win32/ooofilereader/keywordstag.hxx2
-rw-r--r--shell/source/win32/ooofilereader/simpletag.cxx2
-rw-r--r--shell/source/win32/ooofilereader/simpletag.hxx2
6 files changed, 6 insertions, 6 deletions
diff --git a/shell/source/win32/ooofilereader/autostyletag.hxx b/shell/source/win32/ooofilereader/autostyletag.hxx
index b1a5cfb546f1..2bfe4f8f4d20 100644
--- a/shell/source/win32/ooofilereader/autostyletag.hxx
+++ b/shell/source/win32/ooofilereader/autostyletag.hxx
@@ -45,7 +45,7 @@ class CAutoStyleTag : public ITag
virtual void addCharacters(const std::wstring& characters) override;
virtual void addAttributes(const XmlTagAttributes_t& attributes) override;
virtual std::wstring getTagContent() override { return EMPTY_STRING; };
- virtual ::std::wstring const getTagAttribute( ::std::wstring const & /*attrname*/ ) override { return ::std::wstring() ; }
+ virtual ::std::wstring getTagAttribute( ::std::wstring const & /*attrname*/ ) override { return ::std::wstring() ; }
void setStyle( ::std::wstring const & Style );
void setLocale(const LocaleSet_t& Locale);
diff --git a/shell/source/win32/ooofilereader/dummytag.hxx b/shell/source/win32/ooofilereader/dummytag.hxx
index ca16b5503e33..8af406d35d27 100644
--- a/shell/source/win32/ooofilereader/dummytag.hxx
+++ b/shell/source/win32/ooofilereader/dummytag.hxx
@@ -46,7 +46,7 @@ class CDummyTag : public ITag
return EMPTY_STRING;
};
- virtual ::std::wstring const getTagAttribute( ::std::wstring const & /*attrname*/ ) override { return ::std::wstring(EMPTY_STRING); };
+ virtual ::std::wstring getTagAttribute( ::std::wstring const & /*attrname*/ ) override { return ::std::wstring(EMPTY_STRING); };
};
diff --git a/shell/source/win32/ooofilereader/itag.hxx b/shell/source/win32/ooofilereader/itag.hxx
index 841771818257..64a3f8bd7e79 100644
--- a/shell/source/win32/ooofilereader/itag.hxx
+++ b/shell/source/win32/ooofilereader/itag.hxx
@@ -38,7 +38,7 @@ class ITag
virtual void addCharacters(const std::wstring& characters) = 0;
virtual void addAttributes(const XmlTagAttributes_t& attributes) = 0;
virtual ::std::wstring getTagContent() = 0;
- virtual ::std::wstring const getTagAttribute( ::std::wstring const & attrname ) = 0;
+ virtual ::std::wstring getTagAttribute( ::std::wstring const & attrname ) = 0;
};
#endif
diff --git a/shell/source/win32/ooofilereader/keywordstag.hxx b/shell/source/win32/ooofilereader/keywordstag.hxx
index 3fb5372c47eb..2ec3de1cf1c5 100644
--- a/shell/source/win32/ooofilereader/keywordstag.hxx
+++ b/shell/source/win32/ooofilereader/keywordstag.hxx
@@ -36,7 +36,7 @@ class CKeywordsTag : public ITag
virtual void addCharacters(const std::wstring& characters) override;
virtual void addAttributes(const XmlTagAttributes_t& attributes) override;
virtual std::wstring getTagContent() override;
- virtual ::std::wstring const getTagAttribute( ::std::wstring const & /*attrname*/ ) override { return ::std::wstring(); };
+ virtual ::std::wstring getTagAttribute( ::std::wstring const & /*attrname*/ ) override { return ::std::wstring(); };
private:
std::vector<std::wstring> m_slKeywords;
diff --git a/shell/source/win32/ooofilereader/simpletag.cxx b/shell/source/win32/ooofilereader/simpletag.cxx
index 717437bfdb11..82b85aec5ce3 100644
--- a/shell/source/win32/ooofilereader/simpletag.cxx
+++ b/shell/source/win32/ooofilereader/simpletag.cxx
@@ -46,7 +46,7 @@ std::wstring CSimpleTag::getTagContent( )
return m_SimpleContent;
}
-::std::wstring const CSimpleTag::getTagAttribute( ::std::wstring const & attrname )
+::std::wstring CSimpleTag::getTagAttribute( ::std::wstring const & attrname )
{
if ( m_SimpleAttributes.find(attrname) != m_SimpleAttributes.end())
return m_SimpleAttributes[attrname];
diff --git a/shell/source/win32/ooofilereader/simpletag.hxx b/shell/source/win32/ooofilereader/simpletag.hxx
index 5f167681ec4d..4d878fc483d3 100644
--- a/shell/source/win32/ooofilereader/simpletag.hxx
+++ b/shell/source/win32/ooofilereader/simpletag.hxx
@@ -40,7 +40,7 @@ class CSimpleTag : public ITag
virtual void addAttributes(const XmlTagAttributes_t& attributes) override;
virtual std::wstring getTagContent() override;
- virtual ::std::wstring const getTagAttribute( ::std::wstring const & attrname ) override;
+ virtual ::std::wstring getTagAttribute( ::std::wstring const & attrname ) override;
private:
std::wstring m_SimpleContent;