summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-09 18:02:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-09 23:17:23 +0100
commitb4860abacf24d7b7397b7b8d6f954c9c0ce90d5c (patch)
treef89cebef3288572d457b35d5eb19eff75762e82c
parenta5070d17b3db7ddebd6555f05f155709583b0a90 (diff)
loplugin:unnecessaryparen (clang-cl)
Change-Id: I867dd6f70d83f9e57ff3b9b5c73e18b6860e9026 Reviewed-on: https://gerrit.libreoffice.org/47671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--fpicker/source/win32/filepicker/FilterContainer.cxx2
-rw-r--r--shell/source/win32/ooofilereader/contentreader.cxx2
2 files changed, 2 insertions, 2 deletions
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.