summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-24 08:25:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-24 08:25:34 +0100
commit040a917c73c0af8635f96d0a097ecf7c61db176b (patch)
tree282721fb35f90e3352af0410e8221830dc5f4fbf /writerperfect
parentf5fae0f97b494cce5fef92b567f62f15e423fa01 (diff)
const these up
Change-Id: I78e0cea5afd2e226ea11aaf1bd440e67bbb376f0
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx
index b864966f6567..0fd2ae33ef0a 100644
--- a/writerperfect/source/common/WPXSvInputStream.cxx
+++ b/writerperfect/source/common/WPXSvInputStream.cxx
@@ -510,7 +510,7 @@ long WPXSvInputStreamImpl::tell()
return -1L;
else
{
- sal_Int64 tmpPosition = mxSeekable->getPosition();
+ const sal_Int64 tmpPosition = mxSeekable->getPosition();
if ((tmpPosition < 0) || (tmpPosition > LONG_MAX))
return -1L;
return (long)tmpPosition;
@@ -522,7 +522,7 @@ int WPXSvInputStreamImpl::seek(long offset)
if ((mnLength == 0) || !mxStream.is() || !mxSeekable.is())
return -1;
- sal_Int64 tmpPosition = mxSeekable->getPosition();
+ const sal_Int64 tmpPosition = mxSeekable->getPosition();
if ((tmpPosition < 0) || (tmpPosition > LONG_MAX))
return -1;