sw/source/filter/ww8/wrtww8.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 2105f5b4403fcda7cdadbd108d6578ca759af219 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Apr 6 21:08:45 2016 +0200 Elide const var Change-Id: Idbbfd0f3e8fc96550c99a0750ff466629d6007bf diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index a038aa1..81a9f2d 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -3375,7 +3375,6 @@ void WW8Export::ExportDocument_Impl() void WW8Export::PrepareStorage() { - static const char pName[] = "Microsoft Word-Document"; static const sal_uInt8 pData[] = { 0x01, 0x00, 0xFE, 0xFF, 0x03, 0x0A, 0x00, 0x00, @@ -3401,7 +3400,8 @@ void WW8Export::PrepareStorage() }; SvGlobalName aGName(MSO_WW8_CLASSID); - GetWriter().GetStorage().SetClass( aGName, SotClipboardFormatId::NONE, pName); + GetWriter().GetStorage().SetClass( + aGName, SotClipboardFormatId::NONE, "Microsoft Word-Document"); tools::SvRef<SotStorageStream> xStor( GetWriter().GetStorage().OpenSotStream(sCompObj) ); xStor->Write( pData, sizeof( pData ) ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits