summaryrefslogtreecommitdiff
path: root/vcl/win/window
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-06 10:42:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-07 07:08:34 +0100
commitb3ee860e523dce3df16350a4053a67f39c2f92f8 (patch)
tree357c48461b3f62cc2773c959a5a11daf3c60c636 /vcl/win/window
parent2407c183092d6559771738891d57d6375c4212ab (diff)
use more Color in vcl
Change-Id: Ia92c52d26b90898c1f7860128b478d1fada9d406 Reviewed-on: https://gerrit.libreoffice.org/50795 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/win/window')
-rw-r--r--vcl/win/window/salframe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 64b073f99139..06f3b709cb5f 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -2659,7 +2659,7 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings )
ImplSVData* pSVData = ImplGetSVData();
pSVData->maNWFData.mnMenuFormatBorderX = 0;
pSVData->maNWFData.mnMenuFormatBorderY = 0;
- pSVData->maNWFData.maMenuBarHighlightTextColor = Color( COL_TRANSPARENT );
+ pSVData->maNWFData.maMenuBarHighlightTextColor = COL_TRANSPARENT;
GetSalData()->mbThemeMenuSupport = false;
if (officecfg::Office::Common::Accessibility::AutoDetectSystemHC::get())
{
@@ -4554,7 +4554,7 @@ static int ImplDrawItem(HWND, WPARAM wParam, LPARAM lParam )
// set transparent pixels to background color
if( fDisabled )
colBackground = RGB(255,255,255);
- aBitmap.Replace( Color( COL_LIGHTMAGENTA ),
+ aBitmap.Replace( COL_LIGHTMAGENTA,
Color( GetRValue(colBackground),GetGValue(colBackground),GetBValue(colBackground) ));
WinSalBitmap* pSalBmp = static_cast<WinSalBitmap*>(aBitmap.ImplGetImpBitmap()->ImplGetSalBitmap());