summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2010-11-16 15:31:34 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2010-11-16 15:31:34 +0100
commitd620ab7079843339e2531e3f11be32527fc31b35 (patch)
tree270156628794dd814f3d904bd2270e49e52ef472 /svx
parent998252dc18a9d1b9a386f9eb95d089d7a9db8c0c (diff)
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.
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/grafctrl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx
index c60a25d1a3..f349b31445 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() );