New loplugin:conststringvar: scaddins

Change-Id: I14b74d90fabaa288f412ebb63a10c07de824f0f3
This commit is contained in:
Stephan Bergmann
2017-01-10 08:10:53 +01:00
parent 5637e56cc6
commit 86215f8c6b

View File

@@ -715,7 +715,7 @@ double ConvertToDec( const OUString& aStr, sal_uInt16 nBase, sal_uInt16 nCharLim
static inline sal_Char GetMaxChar( sal_uInt16 nBase )
{
const sal_Char* c = "--123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
const sal_Char* const c = "--123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
return c[ nBase ];
}