New loplugin:conststringvar: svx
Change-Id: I440b34fca4b084e0702bbc9a7b836bfd39258bfe
This commit is contained in:
@@ -44,7 +44,7 @@ sal_Int32 HexColorControl::GetColor()
|
|||||||
|
|
||||||
if (nLen < 7)
|
if (nLen < 7)
|
||||||
{
|
{
|
||||||
static const sal_Char* pNullStr = "000000";
|
static const sal_Char* const pNullStr = "000000";
|
||||||
aStr += OUString::createFromAscii( &pNullStr[nLen-1] );
|
aStr += OUString::createFromAscii( &pNullStr[nLen-1] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -138,7 +138,7 @@ namespace svxform
|
|||||||
OString(
|
OString(
|
||||||
"lcl_implMapIntValue: could not convert the integer value "
|
"lcl_implMapIntValue: could not convert the integer value "
|
||||||
+ OString::number(_nValue) + " !").getStr());
|
+ OString::number(_nValue) + " !").getStr());
|
||||||
static const sal_Char* s_pDummy = "";
|
static const sal_Char* const s_pDummy = "";
|
||||||
// just as a fallback ....
|
// just as a fallback ....
|
||||||
return s_pDummy;
|
return s_pDummy;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user