diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-04 10:01:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-04 12:06:18 +0000 |
commit | 071dcb5f6aaf7179619a251933dec8bbdc6f3cd8 (patch) | |
tree | 920b7feebb188fa679344585a76823f79502f197 /shell | |
parent | 9a4b0beaa500320316cbb9147a3300fa2258e217 (diff) |
loplugin:redundantinline (clang-cl)
Change-Id: I03a19b599005f6ef25040889a1e1802445ebf430
Reviewed-on: https://gerrit.libreoffice.org/36063
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/inc/contentreader.hxx | 4 | ||||
-rw-r--r-- | shell/source/win32/ooofilereader/autostyletag.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/shell/inc/contentreader.hxx b/shell/inc/contentreader.hxx index d51ad7fbc4c7..d73f4d093741 100644 --- a/shell/inc/contentreader.hxx +++ b/shell/inc/contentreader.hxx @@ -41,7 +41,7 @@ public: @return the chunkbuffer of the document. */ - inline ChunkBuffer_t const & getChunkBuffer( ) const{ return m_ChunkBuffer; }; + ChunkBuffer_t const & getChunkBuffer( ) const{ return m_ChunkBuffer; }; protected: // protected because its only an implementation relevant class @@ -92,7 +92,7 @@ protected: @return the Style-Locale map */ - inline StyleLocaleMap_t const & getStyleMap( ) const{ return m_StyleMap; }; + StyleLocaleMap_t const & getStyleMap( ) const{ return m_StyleMap; }; /** get style of the current content. diff --git a/shell/source/win32/ooofilereader/autostyletag.hxx b/shell/source/win32/ooofilereader/autostyletag.hxx index b988ac3f9e0f..b1a5cfb546f1 100644 --- a/shell/source/win32/ooofilereader/autostyletag.hxx +++ b/shell/source/win32/ooofilereader/autostyletag.hxx @@ -50,8 +50,8 @@ class CAutoStyleTag : public ITag void setStyle( ::std::wstring const & Style ); void setLocale(const LocaleSet_t& Locale); void clearStyleLocalePair(); - inline StyleLocalePair_t getStyleLocalePair() const{ return m_CurrentStyleLocalePair; } - inline bool isFull() const + StyleLocalePair_t getStyleLocalePair() const{ return m_CurrentStyleLocalePair; } + bool isFull() const { return (( m_CurrentStyleLocalePair.first != EMPTY_STRING )&& ( m_CurrentStyleLocalePair.second != EMPTY_LOCALE)); |