diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-02 16:10:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-05 05:55:06 +0000 |
commit | d92d9df55c002323219012cd4896034e2be935fd (patch) | |
tree | 8e701ce7d6be18af4eb368d0f0e2d39a27b1d1b6 /filter/source/msfilter/escherex.cxx | |
parent | fe3e1067bfa8d62d2a43c7ea227d87327ee020d2 (diff) |
convert E_GRAPH_PROV constants to typed_flags
and drop the never checked
E_GRAPH_PROV_DO_NOT_ROTATE_METAFILES
constant
Change-Id: Idd2598c209b34bfa4a58a84ce5ee14a7340d59d4
Reviewed-on: https://gerrit.libreoffice.org/31553
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source/msfilter/escherex.cxx')
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index b6d56403d36c..d6c8ce30403c 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -4065,7 +4065,7 @@ bool EscherBlibEntry::operator==( const EscherBlibEntry& rEscherBlibEntry ) cons return true; } -EscherGraphicProvider::EscherGraphicProvider( sal_uInt32 nFlags ) : +EscherGraphicProvider::EscherGraphicProvider( EscherGraphicProviderFlags nFlags ) : mnFlags ( nFlags ), mpBlibEntrys ( nullptr ), mnBlibBufSize ( 0 ), @@ -4326,7 +4326,7 @@ sal_uInt32 EscherGraphicProvider::GetBlibID( SvStream& rPicOutStrm, const OStrin sal_uInt32 nExtra, nAtomSize = 0; sal_uInt32 nInstance, nUncompressedSize = p_EscherBlibEntry->mnSize; - if ( mnFlags & E_GRAPH_PROV_USE_INSTANCES ) + if ( mnFlags & EscherGraphicProviderFlags::UseInstances ) { rPicOutStrm.WriteUInt32( 0x7f90000 | (sal_uInt16)( mnBlibEntrys << 4 ) ) .WriteUInt32( 0 ); @@ -4798,7 +4798,7 @@ void EscherSolverContainer::WriteSolver( SvStream& rStrm ) } } -EscherExGlobal::EscherExGlobal( sal_uInt32 nGraphicProvFlags ) : +EscherExGlobal::EscherExGlobal( EscherGraphicProviderFlags nGraphicProvFlags ) : EscherGraphicProvider( nGraphicProvFlags ), mpPicStrm( nullptr ), mbHasDggCont( false ), |