[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Mon Jan 9 09:03:50 UTC 2017
vcl/source/filter/ixbm/xbmread.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5aa8569b8412f86ff4c1e00d9cefeeaac9bc3c7c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Jan 9 09:00:10 2017 +0000
unnecessary const cast
Change-Id: Ib88b8de40184b13cd7aa0ae4787e6b6477996d67
diff --git a/vcl/source/filter/ixbm/xbmread.cxx b/vcl/source/filter/ixbm/xbmread.cxx
index 1c29a1f..6e66d9e 100644
--- a/vcl/source/filter/ixbm/xbmread.cxx
+++ b/vcl/source/filter/ixbm/xbmread.cxx
@@ -153,7 +153,7 @@ OString XBMReader::FindTokenLine( SvStream* pInStm, const char* pTok1,
long XBMReader::ParseDefine( const sal_Char* pDefine )
{
long nRet = 0;
- char* pTmp = const_cast<char*>(pDefine);
+ const char* pTmp = pDefine;
unsigned char cTmp;
// move to end
More information about the Libreoffice-commits
mailing list