summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-06 21:08:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-06 21:08:45 +0200
commit2105f5b4403fcda7cdadbd108d6578ca759af219 (patch)
tree2c7c081483060c82398526542ea1beef7f3b2136 /sw
parent6720da5d7a59323df6fde12b2a24e548d6a9b812 (diff)
Elide const var
Change-Id: Idbbfd0f3e8fc96550c99a0750ff466629d6007bf
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/wrtww8.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index a038aa174916..81a9f2dc2d1f 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 ) );