diff options
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 8 | ||||
-rw-r--r-- | cppcanvas/source/mtfrenderer/transparencygroupaction.cxx | 2 | ||||
-rw-r--r-- | drawinglayer/source/primitive2d/metafileprimitive2d.cxx | 2 | ||||
-rw-r--r-- | filter/source/flash/swfwriter1.cxx | 2 | ||||
-rw-r--r-- | filter/source/graphicfilter/eos2met/eos2met.cxx | 2 | ||||
-rw-r--r-- | filter/source/graphicfilter/epict/epict.cxx | 2 | ||||
-rw-r--r-- | filter/source/graphicfilter/eps/eps.cxx | 2 | ||||
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 2 | ||||
-rw-r--r-- | include/vcl/metaactiontypes.hxx | 2 | ||||
-rw-r--r-- | svtools/source/graphic/grfcache.cxx | 2 | ||||
-rw-r--r-- | svtools/source/graphic/grfmgr2.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdfmtf.cxx | 2 | ||||
-rw-r--r-- | test/source/mtfxmldump.cxx | 2 | ||||
-rw-r--r-- | vcl/source/filter/wmf/emfwr.cxx | 2 | ||||
-rw-r--r-- | vcl/source/filter/wmf/wmfwr.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/cvtsvm.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/gdimetafiletools.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/gdimtf.cxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/metaact.cxx | 8 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl2.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/print2.cxx | 12 |
21 files changed, 33 insertions, 33 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index dcdbf5e627b4..99c76b2ae12d 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -99,7 +99,7 @@ namespace // force alpha part of color to // opaque. transparent painting is done - // explicitly via MetaActionType::TRANSPARENT + // explicitly via MetaActionType::Transparent aColor.SetTransparency(0); //aColor.SetTransparency(128); @@ -1242,7 +1242,7 @@ namespace cppcanvas // execute every action, to keep VDev state up-to-date // currently used only for // - the map mode - // - the line/fill color when processing a MetaActionType::TRANSPARENT + // - the line/fill color when processing a MetaActionType::Transparent // - SetFont to process font metric specific actions pCurrAct->Execute( &rVDev ); @@ -1431,7 +1431,7 @@ namespace cppcanvas // force alpha part of color to // opaque. transparent painting is done - // explicitly via MetaActionType::TRANSPARENT + // explicitly via MetaActionType::Transparent aColor.SetTransparency(0); rStates.getState().textColor = @@ -2408,7 +2408,7 @@ namespace cppcanvas // TODO(F2): NYI break; - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: { const OutDevState& rState( rStates.getState() ); if( rState.lineColor.getLength() || diff --git a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx index b83f9a54a0a4..cd274b333207 100644 --- a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx +++ b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx @@ -311,7 +311,7 @@ namespace cppcanvas case MetaActionType::MASKSCALEPART: case MetaActionType::GRADIENTEX: case MetaActionType::WALLPAPER: - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: case MetaActionType::FLOATTRANSPARENT: case MetaActionType::TEXT: case MetaActionType::TEXTARRAY: diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx index 6deb31ef7da3..100d2f31f7b8 100644 --- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx @@ -2833,7 +2833,7 @@ namespace break; } - case MetaActionType::TRANSPARENT : + case MetaActionType::Transparent : { /** CHECKED, WORKS WELL */ const MetaTransparentAction* pA = static_cast<const MetaTransparentAction*>(pAction); diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx index 2dcaf36c682e..1ffdd486c003 100644 --- a/filter/source/flash/swfwriter1.cxx +++ b/filter/source/flash/swfwriter1.cxx @@ -1543,7 +1543,7 @@ void Writer::Impl_writeActions( const GDIMetaFile& rMtf ) } break; - case( MetaActionType::TRANSPARENT ): + case( MetaActionType::Transparent ): { const MetaTransparentAction* pA = static_cast<const MetaTransparentAction*>(pAction); const tools::PolyPolygon& rPolyPoly = pA->GetPolyPolygon(); diff --git a/filter/source/graphicfilter/eos2met/eos2met.cxx b/filter/source/graphicfilter/eos2met/eos2met.cxx index 903973e1cbf0..abda124e92fb 100644 --- a/filter/source/graphicfilter/eos2met/eos2met.cxx +++ b/filter/source/graphicfilter/eos2met/eos2met.cxx @@ -2267,7 +2267,7 @@ void METWriter::WriteOrders( const GDIMetaFile* pMTF ) } break; - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: { if( aGDIFillColor != Color( COL_TRANSPARENT ) ) { diff --git a/filter/source/graphicfilter/epict/epict.cxx b/filter/source/graphicfilter/epict/epict.cxx index 9a9ea84f4451..9610b3717a9a 100644 --- a/filter/source/graphicfilter/epict/epict.cxx +++ b/filter/source/graphicfilter/epict/epict.cxx @@ -2073,7 +2073,7 @@ void PictWriter::WriteOpcodes( const GDIMetaFile & rMTF ) } break; - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: { const tools::PolyPolygon& rPolyPoly = static_cast<const MetaTransparentAction*>(pMA)->GetPolyPolygon(); diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx index 57007fa43fda..177fa354c428 100644 --- a/filter/source/graphicfilter/eps/eps.cxx +++ b/filter/source/graphicfilter/eps/eps.cxx @@ -1218,7 +1218,7 @@ void PSWriter::ImplWriteActions( const GDIMetaFile& rMtf, VirtualDevice& rVDev ) } break; - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: { // ImplLine( ( (const MetaTransparentAction*) pMA )->GetPolyPolygon() ); } diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index f9d8bceb1c07..16f3fc948431 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -2907,7 +2907,7 @@ void SVGActionWriter::ImplWriteActions( const GDIMetaFile& rMtf, } break; - case( MetaActionType::TRANSPARENT ): + case( MetaActionType::Transparent ): { if( nWriteFlags & SVGWRITER_WRITE_FILL ) { diff --git a/include/vcl/metaactiontypes.hxx b/include/vcl/metaactiontypes.hxx index 8fcdf1a99f0d..96eeb0ab45d6 100644 --- a/include/vcl/metaactiontypes.hxx +++ b/include/vcl/metaactiontypes.hxx @@ -65,7 +65,7 @@ enum class MetaActionType PUSH = 139, POP = 140, RASTEROP = 141, - TRANSPARENT = 142, + Transparent = 142, EPS = 143, REFPOINT = 144, TEXTLINECOLOR = 145, diff --git a/svtools/source/graphic/grfcache.cxx b/svtools/source/graphic/grfcache.cxx index a747380e3a5e..808cd5d6070f 100644 --- a/svtools/source/graphic/grfcache.cxx +++ b/svtools/source/graphic/grfcache.cxx @@ -703,7 +703,7 @@ bool GraphicDisplayCacheEntry::IsCacheableAsBitmap( const GDIMetaFile& rMtf, case MetaActionType::WALLPAPER: // FALLTHROUGH intended - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: // FALLTHROUGH intended case MetaActionType::EPS: // FALLTHROUGH intended diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx index fae233139002..5570b0c890a7 100644 --- a/svtools/source/graphic/grfmgr2.cxx +++ b/svtools/source/graphic/grfmgr2.cxx @@ -1334,7 +1334,7 @@ bool GraphicManager::ImplCreateOutput( OutputDevice* pOut, case MetaActionType::WALLPAPER: // FALLTHROUGH intended - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: // FALLTHROUGH intended case MetaActionType::EPS: // FALLTHROUGH intended diff --git a/svx/source/svdraw/svdfmtf.cxx b/svx/source/svdraw/svdfmtf.cxx index 03ae0f176fc7..002559e9cc11 100644 --- a/svx/source/svdraw/svdfmtf.cxx +++ b/svx/source/svdraw/svdfmtf.cxx @@ -186,7 +186,7 @@ void ImpSdrGDIMetaFileImport::DoLoopActions(GDIMetaFile& rMtf, SvdProgressInfo* case MetaActionType::MASKSCALEPART : DoAction(static_cast<MetaMaskScalePartAction&>(*pAct)); break; case MetaActionType::GRADIENT : DoAction(static_cast<MetaGradientAction&>(*pAct)); break; case MetaActionType::WALLPAPER : DoAction(static_cast<MetaWallpaperAction&>(*pAct)); break; - case MetaActionType::TRANSPARENT : DoAction(static_cast<MetaTransparentAction&>(*pAct)); break; + case MetaActionType::Transparent : DoAction(static_cast<MetaTransparentAction&>(*pAct)); break; case MetaActionType::EPS : DoAction(static_cast<MetaEPSAction&>(*pAct)); break; case MetaActionType::REFPOINT : DoAction(static_cast<MetaRefPointAction&>(*pAct)); break; case MetaActionType::TEXTLINECOLOR : DoAction(static_cast<MetaTextLineColorAction&>(*pAct)); break; diff --git a/test/source/mtfxmldump.cxx b/test/source/mtfxmldump.cxx index 45bb012ec3a8..3df33b956820 100644 --- a/test/source/mtfxmldump.cxx +++ b/test/source/mtfxmldump.cxx @@ -199,7 +199,7 @@ OString convertLineStyleToString(const MetaActionType nActionType) case MetaActionType::PUSH: return "push"; case MetaActionType::POP: return "pop"; case MetaActionType::RASTEROP: return "rasterop"; - case MetaActionType::TRANSPARENT: return "transparent"; + case MetaActionType::Transparent: return "transparent"; case MetaActionType::FLOATTRANSPARENT: return "floattransparent"; case MetaActionType::EPS: return "eps"; case MetaActionType::REFPOINT: return "refpoint"; diff --git a/vcl/source/filter/wmf/emfwr.cxx b/vcl/source/filter/wmf/emfwr.cxx index c4ab01fb9229..86ad5de1f19a 100644 --- a/vcl/source/filter/wmf/emfwr.cxx +++ b/vcl/source/filter/wmf/emfwr.cxx @@ -1206,7 +1206,7 @@ void EMFWriter::ImplWrite( const GDIMetaFile& rMtf ) } break; - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: { const tools::PolyPolygon& rPolyPoly = static_cast<const MetaTransparentAction*>(pAction)->GetPolyPolygon(); if( rPolyPoly.Count() ) diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx index 468479deff31..8e6040fc23ac 100644 --- a/vcl/source/filter/wmf/wmfwr.cxx +++ b/vcl/source/filter/wmf/wmfwr.cxx @@ -1552,7 +1552,7 @@ void WMFWriter::WriteRecords( const GDIMetaFile & rMTF ) } break; - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: { aSrcLineInfo = LineInfo(); SetLineAndFillAttr(); diff --git a/vcl/source/gdi/cvtsvm.cxx b/vcl/source/gdi/cvtsvm.cxx index a23dd5c0e310..ba8c530f6818 100644 --- a/vcl/source/gdi/cvtsvm.cxx +++ b/vcl/source/gdi/cvtsvm.cxx @@ -2164,7 +2164,7 @@ sal_uLong SVMConverter::ImplWriteActions( SvStream& rOStm, GDIMetaFile& rMtf, } break; - case( MetaActionType::TRANSPARENT ): + case( MetaActionType::Transparent ): { const tools::PolyPolygon& rPolyPoly = static_cast<const MetaTransparentAction*>(pAction)->GetPolyPolygon(); const sal_Int16 nTrans = static_cast<const MetaTransparentAction*>(pAction)->GetTransparence(); diff --git a/vcl/source/gdi/gdimetafiletools.cxx b/vcl/source/gdi/gdimetafiletools.cxx index 51961c8fc1af..fc8b6e91fe73 100644 --- a/vcl/source/gdi/gdimetafiletools.cxx +++ b/vcl/source/gdi/gdimetafiletools.cxx @@ -1017,7 +1017,7 @@ void clipMetafileContentAgainstOwnRegions(GDIMetaFile& rSource) // MetaActionType::TEXTALIGN // MetaActionType::MAPMODE // MetaActionType::FONT - // MetaActionType::TRANSPARENT + // MetaActionType::Transparent // MetaActionType::EPS // MetaActionType::REFPOINT // MetaActionType::TEXTLINECOLOR diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx index 25a3632d8a61..94be557415aa 100644 --- a/vcl/source/gdi/gdimtf.cxx +++ b/vcl/source/gdi/gdimtf.cxx @@ -1244,7 +1244,7 @@ void GDIMetaFile::Rotate( long nAngle10 ) } break; - case( MetaActionType::TRANSPARENT ): + case( MetaActionType::Transparent ): { MetaTransparentAction* pAct = static_cast<MetaTransparentAction*>(pAction); aMtf.AddAction( new MetaTransparentAction( ImplGetRotatedPolyPolygon( pAct->GetPolyPolygon(), aRotAnchor, aRotOffset, fSin, fCos ), @@ -1659,7 +1659,7 @@ Rectangle GDIMetaFile::GetBoundRect( OutputDevice& i_rReference, Rectangle* pHai } break; - case( MetaActionType::TRANSPARENT ): + case( MetaActionType::Transparent ): { MetaTransparentAction* pAct = static_cast<MetaTransparentAction*>(pAction); Rectangle aRect( pAct->GetPolyPolygon().GetBoundRect() ); diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx index 471fd9b4747a..9395dabdb0e9 100644 --- a/vcl/source/gdi/metaact.cxx +++ b/vcl/source/gdi/metaact.cxx @@ -86,7 +86,7 @@ meta_action_name(MetaActionType nMetaAction) case MetaActionType::PUSH: return "PUSH"; case MetaActionType::POP: return "POP"; case MetaActionType::RASTEROP: return "RASTEROP"; - case MetaActionType::TRANSPARENT: return "TRANSPARENT"; + case MetaActionType::Transparent: return "TRANSPARENT"; case MetaActionType::EPS: return "EPS"; case MetaActionType::REFPOINT: return "REFPOINT"; case MetaActionType::TEXTLINECOLOR: return "TEXTLINECOLOR"; @@ -252,7 +252,7 @@ MetaAction* MetaAction::ReadMetaAction( SvStream& rIStm, ImplMetaReadData* pData case MetaActionType::PUSH: pAction = new MetaPushAction; break; case MetaActionType::POP: pAction = new MetaPopAction; break; case MetaActionType::RASTEROP: pAction = new MetaRasterOpAction; break; - case MetaActionType::TRANSPARENT: pAction = new MetaTransparentAction; break; + case MetaActionType::Transparent: pAction = new MetaTransparentAction; break; case MetaActionType::FLOATTRANSPARENT: pAction = new MetaFloatTransparentAction; break; case MetaActionType::EPS: pAction = new MetaEPSAction; break; case MetaActionType::REFPOINT: pAction = new MetaRefPointAction; break; @@ -3230,7 +3230,7 @@ void MetaRasterOpAction::Read( SvStream& rIStm, ImplMetaReadData* ) } MetaTransparentAction::MetaTransparentAction() : - MetaAction ( MetaActionType::TRANSPARENT ), + MetaAction ( MetaActionType::Transparent ), mnTransPercent ( 0 ) {} @@ -3238,7 +3238,7 @@ MetaTransparentAction::~MetaTransparentAction() {} MetaTransparentAction::MetaTransparentAction( const tools::PolyPolygon& rPolyPoly, sal_uInt16 nTransPercent ) : - MetaAction ( MetaActionType::TRANSPARENT ), + MetaAction ( MetaActionType::Transparent ), maPolyPoly ( rPolyPoly ), mnTransPercent ( nTransPercent ) {} diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index 4ac06594e2f2..9dc93114ff95 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -388,7 +388,7 @@ void PDFWriterImpl::playMetafile( const GDIMetaFile& i_rMtf, vcl::PDFExtOutDevDa } break; - case( MetaActionType::TRANSPARENT ): + case( MetaActionType::Transparent ): { const MetaTransparentAction* pA = static_cast<const MetaTransparentAction*>(pAction); m_rOuterFace.DrawTransparent( pA->GetPolyPolygon(), pA->GetTransparence() ); diff --git a/vcl/source/gdi/print2.cxx b/vcl/source/gdi/print2.cxx index fbed7a746b67..da01c318a9b6 100644 --- a/vcl/source/gdi/print2.cxx +++ b/vcl/source/gdi/print2.cxx @@ -75,7 +75,7 @@ bool IsTransparentAction( const MetaAction& rAct ) { switch( rAct.GetType() ) { - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: return true; case MetaActionType::FLOATTRANSPARENT: @@ -111,7 +111,7 @@ bool DoesActionHandleTransparency( const MetaAction& rAct ) // white background. switch( rAct.GetType() ) { - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: case MetaActionType::BMPEX: case MetaActionType::BMPEXSCALE: case MetaActionType::BMPEXSCALEPART: @@ -157,7 +157,7 @@ void ImplConvertTransparentAction( GDIMetaFile& o_rMtf, const OutputDevice& rStateOutDev, Color aBgColor ) { - if( rAct.GetType() == MetaActionType::TRANSPARENT ) + if( rAct.GetType() == MetaActionType::Transparent ) { const MetaTransparentAction* pTransAct = static_cast<const MetaTransparentAction*>(&rAct); sal_uInt16 nTransparency( pTransAct->GetTransparence() ); @@ -204,7 +204,7 @@ void ImplConvertTransparentAction( GDIMetaFile& o_rMtf, aBmpEx = static_cast<const MetaBmpExScaleAction&>(rAct).GetBitmapEx(); break; - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: default: OSL_FAIL("Printer::GetPreparedMetafile impossible state reached"); @@ -375,7 +375,7 @@ bool ImplIsNotTransparent( const MetaAction& rAct, const OutputDevice& rOut ) case MetaActionType::GRADIENTEX: case MetaActionType::HATCH: case MetaActionType::WALLPAPER: - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: case MetaActionType::FLOATTRANSPARENT: case MetaActionType::EPS: case MetaActionType::TEXTRECT: @@ -546,7 +546,7 @@ Rectangle ImplCalcActionBounds( const MetaAction& rAct, const OutputDevice& rOut aActionBounds = static_cast<const MetaWallpaperAction&>(rAct).GetRect(); break; - case MetaActionType::TRANSPARENT: + case MetaActionType::Transparent: aActionBounds = static_cast<const MetaTransparentAction&>(rAct).GetPolyPolygon().GetBoundRect(); break; |