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

Stephan Bergmann sbergman at redhat.com
Fri Apr 20 06:51:52 UTC 2018


 shell/source/win32/ooofilereader/contentreader.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bb589f8e5b267a663c5034343f96808a4814f7b3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Apr 20 08:51:12 2018 +0200

    loplugin:redundantfcast (clang-cl)
    
    Change-Id: I2ce9f8bcf4631ea93407eeaa49ca27eed3eb8e23

diff --git a/shell/source/win32/ooofilereader/contentreader.cxx b/shell/source/win32/ooofilereader/contentreader.cxx
index af6bb81df648..2093c837fcba 100644
--- a/shell/source/win32/ooofilereader/contentreader.cxx
+++ b/shell/source/win32/ooofilereader/contentreader.cxx
@@ -208,7 +208,7 @@ void CContentReader::characters( const std::wstring& character )
 {
     if ( character.length() > 0 && !HasOnlySpaces( character ) )
     {
-        addChunk( getLocale( getCurrentContentStyle() ), ::std::wstring( character ) );
+        addChunk( getLocale( getCurrentContentStyle() ), character );
 
         ITag* pTagBuilder = m_TagBuilderStack.top();
         pTagBuilder->addCharacters( character );


More information about the Libreoffice-commits mailing list