summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-06-03 10:00:23 +0200
committerDavid Tardon <dtardon@redhat.com>2014-06-03 10:00:23 +0200
commit9533611f410dd36950c69a45fb6abe7e8760b281 (patch)
tree6bb72ec61fd2b6e2c4a83b069264e426efe1a1c1 /writerperfect
parent1031dba9e205a80de5011931b52c628881f62372 (diff)
drop useless const_cast
Change-Id: I8a14faf56303b986c3e6c8e9bec53210ae86fc87
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx
index b5786bfd7590..e2bcdc896115 100644
--- a/writerperfect/source/common/WPXSvInputStream.cxx
+++ b/writerperfect/source/common/WPXSvInputStream.cxx
@@ -876,7 +876,7 @@ const unsigned char *WPXSvInputStream::read(unsigned long numBytes, unsigned lon
numBytesRead = numBytes;
mpImpl->mnReadBufferPos += numBytesRead;
- return const_cast<const unsigned char *>(mpImpl->mpReadBuffer);
+ return mpImpl->mpReadBuffer;
}
long WPXSvInputStream::tell()