summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-27 09:37:41 +0200
committerNoel Grandin <noel@peralex.com>2015-05-27 11:14:26 +0200
commit66854d697f973f36e1b878080999901e0936dae6 (patch)
tree118776c3cda5bbeb59ece7d9b33686a5a4163fc6 /toolkit
parent9e3b1236b68069016d646b5682ce541335b5340c (diff)
convert WINDOW_DRAW flags to scoped enum
Change-Id: I9400a286fab18d683b4c109007961685f01b6da3
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxtabpagecontainer.cxx2
-rw-r--r--toolkit/source/awt/vclxwindow.cxx4
-rw-r--r--toolkit/source/awt/vclxwindows.cxx8
3 files changed, 7 insertions, 7 deletions
diff --git a/toolkit/source/awt/vclxtabpagecontainer.cxx b/toolkit/source/awt/vclxtabpagecontainer.cxx
index 7eb39fa623e5..cd2790129380 100644
--- a/toolkit/source/awt/vclxtabpagecontainer.cxx
+++ b/toolkit/source/awt/vclxtabpagecontainer.cxx
@@ -70,7 +70,7 @@ void SAL_CALL VCLXTabPageContainer::draw( sal_Int32 nX, sal_Int32 nY ) throw(Run
aPos = pDev->PixelToLogic( aPos );
aSize = pDev->PixelToLogic( aSize );
- pTabPage->Draw( pDev, aPos, aSize, 0 );
+ pTabPage->Draw( pDev, aPos, aSize, DrawFlags::NONE );
}
}
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index b2fc478adeb2..f293581c4109 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -2249,7 +2249,7 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno:
aPos = pDev->PixelToLogic( aPos );
aSize = pDev->PixelToLogic( aSize );
- pTabPage->Draw( pDev, aPos, aSize, 0 );
+ pTabPage->Draw( pDev, aPos, aSize, DrawFlags::NONE );
return;
}
@@ -2306,7 +2306,7 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno:
|| ( pPDFExport != NULL );
if ( bDrawSimple )
{
- pWindow->Draw( pDev, aP, aSz, WINDOW_DRAW_NOCONTROLS );
+ pWindow->Draw( pDev, aP, aSz, DrawFlags::NoControls );
}
else
{
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 64afdffef4e9..d5fb69ef01ee 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -2359,7 +2359,7 @@ void SAL_CALL VCLXDialog::draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::s
Size aSize = pDev->PixelToLogic( pWindow->GetSizePixel() );
Point aPos = pDev->PixelToLogic( Point( nX, nY ) );
- pWindow->Draw( pDev, aPos, aSize, WINDOW_DRAW_NOCONTROLS );
+ pWindow->Draw( pDev, aPos, aSize, DrawFlags::NoControls );
}
}
@@ -2492,7 +2492,7 @@ throw(::com::sun::star::uno::RuntimeException, std::exception)
Size aSize = pDev->PixelToLogic( pWindow->GetSizePixel() );
Point aPos = pDev->PixelToLogic( Point( nX, nY ) );
- pWindow->Draw( pDev, aPos, aSize, WINDOW_DRAW_NOCONTROLS );
+ pWindow->Draw( pDev, aPos, aSize, DrawFlags::NoControls );
}
}
@@ -2769,7 +2769,7 @@ throw(::com::sun::star::uno::RuntimeException, std::exception)
Size aSize = pDev->PixelToLogic( pWindow->GetSizePixel() );
Point aPos = pDev->PixelToLogic( Point( nX, nY ) );
- pWindow->Draw( pDev, aPos, aSize, WINDOW_DRAW_NOCONTROLS );
+ pWindow->Draw( pDev, aPos, aSize, DrawFlags::NoControls );
}
}
@@ -6583,7 +6583,7 @@ throw(::com::sun::star::uno::RuntimeException, std::exception)
Size aSize = pDev->PixelToLogic( pWindow->GetSizePixel() );
Point aPos = pDev->PixelToLogic( Point( nX, nY ) );
- pWindow->Draw( pDev, aPos, aSize, WINDOW_DRAW_NOCONTROLS );
+ pWindow->Draw( pDev, aPos, aSize, DrawFlags::NoControls );
}
}