summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/recentdocsview.cxx2
-rw-r--r--sfx2/source/sidebar/TabItem.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index aad01fae4a27..0c0dad6690c6 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -278,7 +278,7 @@ void RecentDocsView::Paint(vcl::RenderContext& rRenderContext, const Rectangle &
Point aStr1Point((rSize.Width() - nTextWidth1)/2, nY + rImgSize.Height() + 0.7 * nTextHeight);
Point aStr2Point((rSize.Width() - nTextWidth2)/2, nY + rImgSize.Height() + 1.7 * nTextHeight);
- rRenderContext.DrawImage(aImgPoint, rImgSize, maWelcomeImage, IMAGE_DRAW_SEMITRANSPARENT);
+ rRenderContext.DrawImage(aImgPoint, rImgSize, maWelcomeImage, DrawImageFlags::SemiTransparent);
rRenderContext.DrawText(aStr1Point, maWelcomeLine1);
rRenderContext.DrawText(aStr2Point, maWelcomeLine2);
diff --git a/sfx2/source/sidebar/TabItem.cxx b/sfx2/source/sidebar/TabItem.cxx
index 438291c2aa9b..d053f323dc35 100644
--- a/sfx2/source/sidebar/TabItem.cxx
+++ b/sfx2/source/sidebar/TabItem.cxx
@@ -66,7 +66,7 @@ void TabItem::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rUpdate
const Size aIconSize (aIcon.GetSizePixel());
const Point aIconLocation((GetSizePixel().Width() - aIconSize.Width()) / 2,
(GetSizePixel().Height() - aIconSize.Height()) / 2);
- rRenderContext.DrawImage(aIconLocation, aIcon, IsEnabled() ? 0 : IMAGE_DRAW_DISABLE);
+ rRenderContext.DrawImage(aIconLocation, aIcon, IsEnabled() ? DrawImageFlags::NONE : DrawImageFlags::Disable);
break;
}
case PT_Native: