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.