diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:27:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:27:41 +0200 |
commit | 34fb5d7e91a7cd4c986434e6d6a3a67f12c65f7a (patch) | |
tree | 0f421d58ba594af311b066434a3f5f0be0cb1f7d /vcl/source/fontsubset/cff.cxx | |
parent | 1cea5a80a71243e780bfc2cc161044449a87eda9 (diff) |
loplugin:casttovoid: vcl
Change-Id: Icdc9d009849f2a93f6e1dbba07b1042dbb1ff561
Diffstat (limited to 'vcl/source/fontsubset/cff.cxx')
-rw-r--r-- | vcl/source/fontsubset/cff.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx index 29e7cf7351c0..bd7312457b77 100644 --- a/vcl/source/fontsubset/cff.cxx +++ b/vcl/source/fontsubset/cff.cxx @@ -522,10 +522,8 @@ void CffSubsetterContext::readDictOp() mpCffLocal->mnPrivDictSize = popInt(); break; case 'r': { // ROS operands - int nSid1 = popInt(); - int nSid2 = popInt(); - (void)nSid1; // TODO: use - (void)nSid2; // TODO: use + popInt(); // TODO: use sid1 + popInt(); // TODO: use sid2 popVal(); mbCIDFont = true; } break; @@ -1004,9 +1002,8 @@ void CffSubsetterContext::convertOneTypeEsc() assert( nNum >= 0); assert( nNum < mnStackIdx-2 ); (void)nNum; // TODO: implement - const int nOfs = static_cast<int>(pTop[-1]); + // TODO: implement: const int nOfs = static_cast<int>(pTop[-1]); mnStackIdx -= 2; - (void)nOfs;// TODO: implement break; } case TYPE2OP::HFLEX1: { @@ -1035,8 +1032,7 @@ void CffSubsetterContext::convertOneTypeEsc() assert( mnStackIdx == 13 ); writeCurveTo( mnStackIdx, -13, -12, -11, -10, -9, -8 ); writeCurveTo( mnStackIdx, -7, -6, -5, -4, -3, -2 ); - const ValType nFlexDepth = mnValStack[ mnStackIdx-1 ]; - (void)nFlexDepth; // ignoring nFlexDepth + // ignoring ValType nFlexDepth = mnValStack[ mnStackIdx-1 ]; mnStackIdx -= 13; } break; |