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
commit59dc8ed50e2347e9ecfdb69a1dd7a4bd80775ec0 (patch)
tree9b02e692c2a4b860f013eb6cb4d039747cd3f4ff /svx
parenta1320d3756d74b3844a52968e4a7b56dd314df5d (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 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() );