shell/source/win32/ooofilereader/autostyletag.hxx |    2 +-
 shell/source/win32/ooofilereader/dummytag.hxx     |    2 +-
 shell/source/win32/ooofilereader/itag.hxx         |    2 +-
 shell/source/win32/ooofilereader/keywordstag.hxx  |    2 +-
 shell/source/win32/ooofilereader/simpletag.cxx    |    2 +-
 shell/source/win32/ooofilereader/simpletag.hxx    |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit ac8cb02cfdeef48dac0baa6646253170d1e1f2c9
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Oct 1 14:00:28 2019 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Oct 1 21:42:00 2019 +0200

    loplugin:returnconstval (clang-cl)
    
    Change-Id: Id1bcc878f40fba804f78f7a5b7cd463db8dc5988
    Reviewed-on: https://gerrit.libreoffice.org/79957
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to