summaryrefslogtreecommitdiff
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:14:43 +0200
commitc5b6eb836fdcc273a50ec4fc997eec61c8b79091 (patch)
tree756e559c47e228e05233cfb334009e8efd8baa02
parentd7217e91ed6f611e01532883b2b2363c21b791cd (diff)
drop useless const_cast
Change-Id: I8a14faf56303b986c3e6c8e9bec53210ae86fc87 (cherry picked from commit 9533611f410dd36950c69a45fb6abe7e8760b281)
-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()