diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-10 12:29:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-11 07:01:14 +0100 |
commit | 2fab2c9d494035cc55d0bc56a47e784be6e64510 (patch) | |
tree | 719f64e6f10d9649717cac591dbed52a6020889f /vcl/source/fontsubset | |
parent | 71a61ab2d8b650ebe0655cebd7233959a5a3811e (diff) |
loplugin:indentation in vcl
Change-Id: Idd7166833764fdf1d9c42a050490572a8b330199
Reviewed-on: https://gerrit.libreoffice.org/67610
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/fontsubset')
-rw-r--r-- | vcl/source/fontsubset/cff.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx index ef230704cd66..ade0a6607a8f 100644 --- a/vcl/source/fontsubset/cff.cxx +++ b/vcl/source/fontsubset/cff.cxx @@ -1109,10 +1109,10 @@ int CffSubsetterContext::convert2Type1Ops( CffLocal* pCffLocal, const U8* const writeType1Val( 0); // TODO: aSubsetterContext.getLeftSideBearing(); writeType1Val( 1000/*###getCharWidth()###*/); writeTypeOp( TYPE1OP::HSBW); -mbNeedClose = false; -mbIgnoreHints = false; -mnHintSize=mnHorzHintSize=mnStackIdx=0; maCharWidth=-1;//####### -mnCntrMask = 0; + mbNeedClose = false; + mbIgnoreHints = false; + mnHintSize=mnHorzHintSize=mnStackIdx=0; maCharWidth=-1;//####### + mnCntrMask = 0; while( mpReadPtr < mpReadEnd) convertOneTypeOp(); // if( bActivePath) @@ -1496,7 +1496,7 @@ int CffSubsetterContext::getGlyphSID( int nGlyphIndex) const return -1; // get the SID/CID from the Charset table - const U8* pReadPtr = mpBasePtr + mnCharsetBase; + const U8* pReadPtr = mpBasePtr + mnCharsetBase; const U8 nCSetFormat = *(pReadPtr++); int nGlyphsToSkip = nGlyphIndex - 1; switch( nCSetFormat) { @@ -1566,7 +1566,7 @@ const char* CffSubsetterContext::getGlyphName( int nGlyphIndex) sprintf( aDefaultGlyphName, "bad%03d", nSID); } - return pGlyphName; + return pGlyphName; } class Type1Emitter @@ -1984,10 +1984,10 @@ void CffSubsetterContext::emitAsType1( Type1Emitter& rEmitter, rEmitter.emitAllCrypted(); // mark stop of eexec encryption - if( rEmitter.mbPfbSubset) { + if( rEmitter.mbPfbSubset) { const int nEExecLen = rEmitter.tellPos() - nEExecSegTell; rEmitter.updateLen( nEExecSegTell-4, nEExecLen); - } + } // create PFB footer static const char aPfxFooter[] = "\x80\x01\x14\x02\x00\x00\n" // TODO: check segment len |