summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-07-21 18:36:01 +0900
committerMichael Stahl <mstahl@redhat.com>2017-07-27 22:46:27 +0200
commit3956e4cb58033cae360beddf97136596ff3bb740 (patch)
tree5f78a5b29755f18fefcd77517889fca419ca2e68
parent6f5841e60ed29ae2577e63623edacc9fe1467ba5 (diff)
sw: these arrays are constant
Change-Id: Id80e939412ed05324300189949d47b3f33bb5116 Reviewed-on: https://gerrit.libreoffice.org/40263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--sw/source/filter/ww8/wrtw8esh.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx
index e1caa29190d5..2a778eb8d8b0 100644
--- a/sw/source/filter/ww8/wrtw8esh.cxx
+++ b/sw/source/filter/ww8/wrtw8esh.cxx
@@ -177,14 +177,14 @@ void SwBasicEscherEx::WriteHyperlinkWithinFly( SvMemoryStream& rStrm, const SwFo
{
if ( !pINetFormatArg ) return;
- sal_uInt8 aGuidStdLink[ 16 ] ={
+ const sal_uInt8 aGuidStdLink[ 16 ] ={
0xD0, 0xC9, 0xEA, 0x79, 0xF9, 0xBA, 0xCE, 0x11, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B };
- sal_uInt8 aGuidUrlMoniker[ 16 ] = {
+ const sal_uInt8 aGuidUrlMoniker[ 16 ] = {
0xE0, 0xC9, 0xEA, 0x79, 0xF9, 0xBA, 0xCE, 0x11, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B };
- sal_uInt8 aGuidFileMoniker[ 16 ] = {
+ const sal_uInt8 aGuidFileMoniker[ 16 ] = {
0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 };
- sal_uInt8 aGuidFileTail[] = {
+ const sal_uInt8 aGuidFileTail[] = {
0xFF, 0xFF, 0xAD, 0xDE, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00