summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxwindow.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2021-05-12 20:01:05 +1000
committerMike Kaganski <mike.kaganski@collabora.com>2021-08-30 06:09:49 +0200
commita2c8195f465a2e4346169d2b586c34e8fbed253c (patch)
tree2ad0a45dfebaaa63e26f96ce244486cf1d0598e4 /toolkit/source/awt/vclxwindow.cxx
parent229136b7c9363bc758c9e925ccfd0c9bb34ceaec (diff)
tdf#74702 vcl: introduce GetSystemTextColor()
Also rename DrawFlags to SystemDrawColorFlags, added a unit test. Change-Id: I3cb74b278e43561d1055b3b55b9730cdbdea51aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113559 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'toolkit/source/awt/vclxwindow.cxx')
-rw-r--r--toolkit/source/awt/vclxwindow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index 28eb6942fe6c..1292bcea88c0 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -2243,7 +2243,7 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY )
{
Point aPos( nX, nY );
aPos = pDev->PixelToLogic( aPos );
- pTabPage->Draw( pDev, aPos, DrawFlags::NONE );
+ pTabPage->Draw( pDev, aPos, SystemTextColorFlags::NONE );
return;
}
@@ -2298,7 +2298,7 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY )
|| ( pPDFExport != nullptr );
if ( bDrawSimple )
{
- pWindow->Draw( pDev, aP, DrawFlags::NoControls );
+ pWindow->Draw( pDev, aP, SystemTextColorFlags::NoControls );
}
else
{