diff options
Diffstat (limited to 'desktop/source/deployment/dp_persmap.cxx')
-rw-r--r-- | desktop/source/deployment/dp_persmap.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/deployment/dp_persmap.cxx b/desktop/source/deployment/dp_persmap.cxx index 63d02f51d41a..14e1f2076e47 100644 --- a/desktop/source/deployment/dp_persmap.cxx +++ b/desktop/source/deployment/dp_persmap.cxx @@ -66,7 +66,7 @@ PersistentMap::~PersistentMap() // replace "%" with "%%" static OString encodeString( const OString& rStr) { - const sal_Char* pChar = rStr.getStr(); + const char* pChar = rStr.getStr(); const sal_Int32 nLen = rStr.getLength(); sal_Int32 i = nLen; // short circuit for the simple non-encoded case @@ -101,7 +101,7 @@ static OString encodeString( const OString& rStr) // replace "%0".."%F" with 0x00..0x0F // replace "%%" with "%" -static OString decodeString( const sal_Char* pEncChars, int nLen) +static OString decodeString( const char* pEncChars, int nLen) { const char* pChar = pEncChars; sal_Int32 i = nLen; @@ -117,7 +117,7 @@ static OString decodeString( const sal_Char* pEncChars, int nLen) pChar = pEncChars; for( i = nLen; --i >= 0;) { - sal_Char c = *(pChar++); + char c = *(pChar++); // handle escaped character if( c == '%') { |