From 5aa8569b8412f86ff4c1e00d9cefeeaac9bc3c7c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 9 Jan 2017 09:00:10 +0000 Subject: unnecessary const cast Change-Id: Ib88b8de40184b13cd7aa0ae4787e6b6477996d67 --- vcl/source/filter/ixbm/xbmread.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/source/filter/ixbm/xbmread.cxx b/vcl/source/filter/ixbm/xbmread.cxx index 1c29a1f4405b..6e66d9e23d20 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(pDefine); + const char* pTmp = pDefine; unsigned char cTmp; // move to end -- cgit