From 59dc8ed50e2347e9ecfdb69a1dd7a4bd80775ec0 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Tue, 16 Nov 2010 15:31:34 +0100 Subject: Fix build and remove hicontrast parameter The parameter is not needed anymore, as there are no specific hicontrast definitions. Forgot to adapt {0,0,0} ->{0,0} when I removed a struct member in the previous commit. This compiles now again. --- svx/source/tbxctrls/grafctrl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx index 32f8b4ba70b3..8267f4ec9951 100644 --- a/svx/source/tbxctrls/grafctrl.cxx +++ b/svx/source/tbxctrls/grafctrl.cxx @@ -255,7 +255,7 @@ struct CommandToRID USHORT nResId; }; -static USHORT ImplGetRID( const OUString& aCommand, bool bHighContrast ) +static USHORT ImplGetRID( const OUString& aCommand ) { static const CommandToRID aImplCommandToResMap[] = { @@ -266,7 +266,7 @@ static USHORT ImplGetRID( const OUString& aCommand, bool bHighContrast ) { ".uno:GrafContrast", RID_SVXIMG_GRAF_CONTRAST }, { ".uno:GrafGamma", RID_SVXIMG_GRAF_GAMMA }, { ".uno:GrafTransparence", RID_SVXIMG_GRAF_TRANSPARENCE }, - { 0, 0, 0 } + { 0, 0 } }; USHORT nRID = 0; @@ -314,7 +314,7 @@ ImplGrafControl::ImplGrafControl( Window* pParent, USHORT nSlotId, const rtl::OU maImage ( this ), maField ( this, rCmd, rFrame ) { - ResId aResId( ImplGetRID( rCmd, false ), DIALOG_MGR() ) ; + ResId aResId( ImplGetRID( rCmd ), DIALOG_MGR() ) ; Image aImage( aResId ); Size aImgSize( aImage.GetSizePixel() ); -- cgit