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

Stephan Bergmann sbergman at redhat.com
Wed Apr 6 19:07:40 UTC 2016


 sw/source/filter/ww8/wrtww8.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6720da5d7a59323df6fde12b2a24e548d6a9b812
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Apr 6 21:07:09 2016 +0200

    loplugin:stringconstant
    
    Change-Id: I0285ba64213bfd5180e09a40ea6fdf4b210f431b

diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index 06697ce..a038aa1 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -3401,7 +3401,7 @@ void WW8Export::PrepareStorage()
     };
 
     SvGlobalName aGName(MSO_WW8_CLASSID);
-    GetWriter().GetStorage().SetClass( aGName, SotClipboardFormatId::NONE, OUString::createFromAscii( pName ));
+    GetWriter().GetStorage().SetClass( aGName, SotClipboardFormatId::NONE, pName);
     tools::SvRef<SotStorageStream> xStor( GetWriter().GetStorage().OpenSotStream(sCompObj) );
     xStor->Write( pData, sizeof( pData ) );
 


More information about the Libreoffice-commits mailing list