[Libreoffice-commits] core.git: fpicker/source shell/source

Stephan Bergmann sbergman at redhat.com
Tue Jan 9 22:18:01 UTC 2018


 fpicker/source/win32/filepicker/FilterContainer.cxx |    2 +-
 shell/source/win32/ooofilereader/contentreader.cxx  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b4860abacf24d7b7397b7b8d6f954c9c0ce90d5c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jan 9 18:02:24 2018 +0100

    loplugin:unnecessaryparen (clang-cl)
    
    Change-Id: I867dd6f70d83f9e57ff3b9b5c73e18b6860e9026
    Reviewed-on: https://gerrit.libreoffice.org/47671
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/fpicker/source/win32/filepicker/FilterContainer.cxx b/fpicker/source/win32/filepicker/FilterContainer.cxx
index 9545251d073f..e518aef377ee 100644
--- a/fpicker/source/win32/filepicker/FilterContainer.cxx
+++ b/fpicker/source/win32/filepicker/FilterContainer.cxx
@@ -80,7 +80,7 @@ bool CFilterContainer::delFilter( const OUString& aName )
     sal_Int32 pos = getFilterTagPos( aName );
     if ( pos > -1 )
     {
-        m_vFilters.erase( ( m_vFilters.begin() + pos ) );
+        m_vFilters.erase( m_vFilters.begin() + pos );
         m_bIterInitialized = false;
     }
 
diff --git a/shell/source/win32/ooofilereader/contentreader.cxx b/shell/source/win32/ooofilereader/contentreader.cxx
index 97a88f1d8a65..af6bb81df648 100644
--- a/shell/source/win32/ooofilereader/contentreader.cxx
+++ b/shell/source/win32/ooofilereader/contentreader.cxx
@@ -111,7 +111,7 @@ ITag* CContentReader::chooseTagReader( const std::wstring& tag_name, const XmlTa
     assert( !m_TagBuilderStack.empty() );
     ITag* pTagBuilder = m_TagBuilderStack.top();
 
-    return ( pTagBuilder->getTagAttribute(CONTENT_TEXT_STYLENAME) );
+    return pTagBuilder->getTagAttribute(CONTENT_TEXT_STYLENAME);
 }
 
 /** add chunk into Chunk Buffer.


More information about the Libreoffice-commits mailing list