summaryrefslogtreecommitdiff
path: root/sal/textenc/tencinfo.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:27:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:27:42 +0200
commite60cea3c8d14c1146ed2855024872fecb0959f66 (patch)
tree213022ad44fe31ea4f55fcc874d7135d024207f1 /sal/textenc/tencinfo.cxx
parent0fc8d8f6eba3ff49e7252fce661aa61dccfb3740 (diff)
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: Iad01e628b692a6dcf882696908de0ef1f24c04c4
Diffstat (limited to 'sal/textenc/tencinfo.cxx')
-rw-r--r--sal/textenc/tencinfo.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/textenc/tencinfo.cxx b/sal/textenc/tencinfo.cxx
index 381b2f0a21e7..192619dbab41 100644
--- a/sal/textenc/tencinfo.cxx
+++ b/sal/textenc/tencinfo.cxx
@@ -793,9 +793,9 @@ const char* SAL_CALL rtl_getBestUnixCharsetFromTextEncoding( rtl_TextEncoding eT
{
const ImplTextEncodingData* pData = Impl_getTextEncodingData( eTextEncoding );
if ( pData )
- return (char const *) pData->mpBestUnixCharset;
+ return pData->mpBestUnixCharset;
else if( eTextEncoding == RTL_TEXTENCODING_UNICODE )
- return (char const *) "iso10646-1";
+ return "iso10646-1";
else
return 0;
}
@@ -814,7 +814,7 @@ const char* SAL_CALL rtl_getBestMimeCharsetFromTextEncoding( rtl_TextEncoding eT
{
const ImplTextEncodingData* pData = Impl_getTextEncodingData( eTextEncoding );
if ( pData )
- return (char const *) pData->mpBestMimeCharset;
+ return pData->mpBestMimeCharset;
else
return 0;
}