diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2021-05-12 20:01:05 +1000 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-08-30 06:09:49 +0200 |
commit | a2c8195f465a2e4346169d2b586c34e8fbed253c (patch) | |
tree | 2ad0a45dfebaaa63e26f96ce244486cf1d0598e4 /vcl/source/window/tabpage.cxx | |
parent | 229136b7c9363bc758c9e925ccfd0c9bb34ceaec (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 'vcl/source/window/tabpage.cxx')
-rw-r--r-- | vcl/source/window/tabpage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/tabpage.cxx b/vcl/source/window/tabpage.cxx index 784c2366bf48..08e0eebbe0a5 100644 --- a/vcl/source/window/tabpage.cxx +++ b/vcl/source/window/tabpage.cxx @@ -162,7 +162,7 @@ void TabPage::Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& aControlValue, OUString() ); } -void TabPage::Draw( OutputDevice* pDev, const Point& rPos, DrawFlags ) +void TabPage::Draw( OutputDevice* pDev, const Point& rPos, SystemTextColorFlags ) { Point aPos = pDev->LogicToPixel( rPos ); Size aSize = GetSizePixel(); |