diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-02-27 14:47:25 +1100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-27 06:43:20 -0600 |
commit | f6e0d356b7b11f0ece009428e71864f0ba41ef7e (patch) | |
tree | 465ed3f8c4e195f0325005418753a622ae1fd878 /vcl/source/fontsubset/cff.cxx | |
parent | 518b75326a83166a24b9d3c1b31ce63189f60c7f (diff) |
Removed unnecessary comment decorations and wspace from VCL sources
Change-Id: I190b57bb476a35ede1b6050f3c1edabd0ab00397
Reviewed-on: https://gerrit.libreoffice.org/8374
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/fontsubset/cff.cxx')
-rw-r--r-- | vcl/source/fontsubset/cff.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx index bfcf0780d51c..c4b50b157acd 100644 --- a/vcl/source/fontsubset/cff.cxx +++ b/vcl/source/fontsubset/cff.cxx @@ -256,6 +256,7 @@ struct TYPE2OP }; }; + struct CffGlobal { explicit CffGlobal(); @@ -284,6 +285,7 @@ struct CffGlobal int mnFamilyNameSID; }; + struct CffLocal { explicit CffLocal(); @@ -315,6 +317,7 @@ struct CffLocal bool mbForceBold; }; + class SubsetterContext { public: @@ -329,6 +332,7 @@ public: SubsetterContext::~SubsetterContext( void) {} + class CffSubsetterContext : public SubsetterContext , private CffGlobal @@ -519,7 +523,7 @@ void CffSubsetterContext::addHints( bool bVerticalHints) // copy the remaining values to the hint arrays // assert( (mnStackIdx & 1) == 0); // depends on called subrs - if( mnStackIdx & 1) --mnStackIdx; + if( mnStackIdx & 1) --mnStackIdx;//####### // TODO: if( !bSubr) assert( mnStackIdx >= 2); assert( (mnHintSize + mnStackIdx) <= 2*NMAXHINTS); @@ -1278,7 +1282,7 @@ int CffSubsetterContext::convert2Type1Ops( CffLocal* pCffLocal, const U8* const mbSawError = false; mbNeedClose = false; mbIgnoreHints = false; -mnHintSize=mnHorzHintSize=mnStackIdx=0; maCharWidth=-1; +mnHintSize=mnHorzHintSize=mnStackIdx=0; maCharWidth=-1;//####### mnCntrMask = 0; while( mpReadPtr < mpReadEnd) convertOneTypeOp(); @@ -1452,6 +1456,7 @@ void CffSubsetterContext::seekIndexEnd( int nIndexBase) assert( mpReadEnd <= mpBaseEnd); } + // initialize FONTDICT specific values CffLocal::CffLocal( void) : mnPrivDictBase( 0) |