summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/dialog/hexcolorcontrol.cxx2
-rw-r--r--svx/source/form/fmsrccfg.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/hexcolorcontrol.cxx b/svx/source/dialog/hexcolorcontrol.cxx
index 5cf5db04eafb..115dbe7997cd 100644
--- a/svx/source/dialog/hexcolorcontrol.cxx
+++ b/svx/source/dialog/hexcolorcontrol.cxx
@@ -44,7 +44,7 @@ sal_Int32 HexColorControl::GetColor()
if (nLen < 7)
{
- static const sal_Char* pNullStr = "000000";
+ static const sal_Char* const pNullStr = "000000";
aStr += OUString::createFromAscii( &pNullStr[nLen-1] );
}
diff --git a/svx/source/form/fmsrccfg.cxx b/svx/source/form/fmsrccfg.cxx
index beb85c9d32be..ee71be3a63de 100644
--- a/svx/source/form/fmsrccfg.cxx
+++ b/svx/source/form/fmsrccfg.cxx
@@ -138,7 +138,7 @@ namespace svxform
OString(
"lcl_implMapIntValue: could not convert the integer value "
+ OString::number(_nValue) + " !").getStr());
- static const sal_Char* s_pDummy = "";
+ static const sal_Char* const s_pDummy = "";
// just as a fallback ....
return s_pDummy;
}