summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlflywriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlflywriter.cxx')
-rw-r--r--sw/source/filter/html/htmlflywriter.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/filter/html/htmlflywriter.cxx b/sw/source/filter/html/htmlflywriter.cxx
index 591fc649da8b..8ce58c3a01d6 100644
--- a/sw/source/filter/html/htmlflywriter.cxx
+++ b/sw/source/filter/html/htmlflywriter.cxx
@@ -1734,8 +1734,8 @@ static Writer & OutHTML_FrameFormatAsImage( Writer& rWrt, const SwFrameFormat& r
if( aGraphic.GetType() == GRAPHIC_NONE ||
XOutBitmap::WriteGraphic( aGraphic, GraphicURL,
"JPG",
- (XOUTBMP_USE_GIF_IF_POSSIBLE|
- XOUTBMP_USE_NATIVE_IF_POSSIBLE) ) != 0 )
+ (XOutFlags::UseGifIfPossible|
+ XOutFlags::UseNativeIfPossible) ) != 0 )
{
// leer oder fehlerhaft, da ist nichts auszugeben
rHTMLWrt.m_nWarn = WARN_SWG_POOR_LOAD | WARN_SW_WRITE_BASE;
@@ -1786,14 +1786,14 @@ static Writer& OutHTML_FrameFormatGrfNode( Writer& rWrt, const SwFrameFormat& rF
aGraphicURL = *rHTMLWrt.GetOrigFileName();
pGrfNd->GetGrf( true );
- sal_uLong nFlags = XOUTBMP_USE_GIF_IF_SENSIBLE |
- XOUTBMP_USE_NATIVE_IF_POSSIBLE;
+ XOutFlags nFlags = XOutFlags::UseGifIfSensible |
+ XOutFlags::UseNativeIfPossible;
switch( rMirror.GetValue() )
{
- case RES_MIRROR_GRAPH_VERT: nFlags = XOUTBMP_MIRROR_HORZ; break;
- case RES_MIRROR_GRAPH_HOR: nFlags = XOUTBMP_MIRROR_VERT; break;
+ case RES_MIRROR_GRAPH_VERT: nFlags = XOutFlags::MirrorHorz; break;
+ case RES_MIRROR_GRAPH_HOR: nFlags = XOutFlags::MirrorVert; break;
case RES_MIRROR_GRAPH_BOTH:
- nFlags = XOUTBMP_MIRROR_VERT | XOUTBMP_MIRROR_HORZ;
+ nFlags = XOutFlags::MirrorVert | XOutFlags::MirrorHorz;
break;
}