summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-02 09:37:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-02 09:37:06 +0200
commitcac4aa7b7a272e81360bcd27a6388500b0f6aeef (patch)
tree24248768dda5dc2929c0e06ffea5f4fec2ae6951 /package
parentc71d9f3bb1aad3f86de93655cf02313a8894f877 (diff)
Improved loplugin:redundantcast static_cast handling: package
Change-Id: I3b38df7b130ac8c0591b9429d871274718dcb993
Diffstat (limited to 'package')
-rw-r--r--package/source/zippackage/ZipPackageStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx
index 03884d510b38..01f2896d68f0 100644
--- a/package/source/zippackage/ZipPackageStream.cxx
+++ b/package/source/zippackage/ZipPackageStream.cxx
@@ -1226,7 +1226,7 @@ void SAL_CALL ZipPackageStream::setPropertyValue( const OUString& aPropertyName,
sal_Int8 *pArray = aSequence.getArray();
const sal_Unicode *pChar = sTempString.getStr();
for ( sal_Int32 i = 0; i < nPathLength; i++ )
- pArray[i] = static_cast < const sal_Int8 > ( pChar[i] );
+ pArray[i] = static_cast < sal_Int8 > ( pChar[i] );
aNewKey = aSequence;
}
else