diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 14:11:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-30 06:26:26 +0000 |
commit | 90305526ee48c855f9a2b3b4d730ea0bfb079119 (patch) | |
tree | 629f00210bb52847ef8aae9f14bf81143b5c489b /oox | |
parent | a34b33d2b900d3d1ea1ac806bc584846dc9d3fbe (diff) |
loplugin:unusedenumconstants
Change-Id: I628a0114e56ec25926bd08d159c61cfecb719a1c
Reviewed-on: https://gerrit.libreoffice.org/35854
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/core/binarycodec.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/core/binarycodec.cxx b/oox/source/core/binarycodec.cxx index 10c3a2c8941a..545be4e452c4 100644 --- a/oox/source/core/binarycodec.cxx +++ b/oox/source/core/binarycodec.cxx @@ -151,8 +151,7 @@ void BinaryCodec_XOR::initKey( const sal_uInt8 pnPassData[ 16 ] ) size_t nRotateSize = 0; switch( meCodecType ) { - case CODEC_WORD: nRotateSize = 7; break; - case CODEC_EXCEL: nRotateSize = 2; break; + case CodecType::Excel: nRotateSize = 2; break; // compiler will warn, if new codec type is introduced and not handled here } |