summaryrefslogtreecommitdiff
path: root/svtools/source/uno/treecontrolpeer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/uno/treecontrolpeer.cxx')
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx
index 850c6fadfeb9..13f004c77888 100644
--- a/svtools/source/uno/treecontrolpeer.cxx
+++ b/svtools/source/uno/treecontrolpeer.cxx
@@ -1601,7 +1601,7 @@ void UnoTreeListItem::Paint(
Size aSize(GetSize(&rDev, pEntry));
if (!!maImage)
{
- rRenderContext.DrawImage(aPos, maImage, rDev.IsEnabled() ? 0 : IMAGE_DRAW_DISABLE);
+ rRenderContext.DrawImage(aPos, maImage, rDev.IsEnabled() ? DrawImageFlags::NONE : DrawImageFlags::Disable);
int nWidth = maImage.GetSizePixel().Width() + 6;
aPos.X() += nWidth;
aSize.Width() -= nWidth;
@@ -1612,7 +1612,7 @@ void UnoTreeListItem::Paint(
{
if (!!maImage)
{
- rRenderContext.DrawImage(aPos, maImage, rDev.IsEnabled() ? 0 : IMAGE_DRAW_DISABLE);
+ rRenderContext.DrawImage(aPos, maImage, rDev.IsEnabled() ? DrawImageFlags::NONE : DrawImageFlags::Disable);
aPos.X() += maImage.GetSizePixel().Width() + 6;
}
rRenderContext.DrawText(aPos, maText);