diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-31 17:25:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-31 21:21:39 +0000 |
commit | f86b075ebe0ce6abbe573b0663275de7baa0bd57 (patch) | |
tree | b95aa13eeca3dbdc7abb7e115c420ebc738cb7bf | |
parent | c8cae05ee8cfa0742865224b31d344317ceb996f (diff) |
drop unused resource id argument
it's the wrong resource id anyway
Change-Id: Ie1880d2b745f3da6ddf173d98b326aa2d45ce0fd
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 4 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 3 | ||||
-rw-r--r-- | include/svx/svxdlg.hxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/grfflt.cxx | 2 |
4 files changed, 5 insertions, 6 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index f751bb4e585c..ea0341ece8ab 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -1536,8 +1536,8 @@ AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterPos return 0; } -AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterSmooth ( Window* pParent, - const Graphic& rGraphic, double nRadius, sal_uInt32) +AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterSmooth(Window* pParent, + const Graphic& rGraphic, double nRadius) { GraphicFilterDialog* pDlg = new GraphicFilterSmooth( pParent, rGraphic, nRadius ); return new AbstractGraphicFilterDialog_Impl( pDlg ); diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index f45595274072..416a440710f2 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -667,8 +667,7 @@ public: const Graphic& rGraphic, sal_uInt16 nCount, sal_uInt32 nResId); virtual AbstractGraphicFilterDialog * CreateGraphicFilterSmooth (Window* pParent, - const Graphic& rGraphic, double nRadius, - sal_uInt32 nResId); + const Graphic& rGraphic, double nRadius); virtual AbstractGraphicFilterDialog * CreateGraphicFilterSolarize (Window* pParent, const Graphic& rGraphic, sal_uInt8 nGreyThreshold, sal_Bool bInvert); diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx index 87da99ff3ca9..f07f935b26ca 100644 --- a/include/svx/svxdlg.hxx +++ b/include/svx/svxdlg.hxx @@ -421,7 +421,7 @@ public: sal_uInt32 nResId)=0; virtual AbstractGraphicFilterDialog * CreateGraphicFilterSmooth (Window* pParent, const Graphic& rGraphic, - double nRadius, sal_uInt32 nResId)=0; + double nRadius)=0; virtual AbstractGraphicFilterDialog * CreateGraphicFilterSolarize (Window* pParent, const Graphic& rGraphic, sal_uInt8 nGreyThreshold, sal_Bool bInvert)=0; diff --git a/svx/source/dialog/grfflt.cxx b/svx/source/dialog/grfflt.cxx index 845166f69aa3..a7e974cc27b0 100644 --- a/svx/source/dialog/grfflt.cxx +++ b/svx/source/dialog/grfflt.cxx @@ -77,7 +77,7 @@ sal_uIntPtr SvxGraphicFilter::ExecuteGrfFilterSlot( SfxRequest& rReq, GraphicObj SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); if(pFact) { - AbstractGraphicFilterDialog* aDlg = pFact->CreateGraphicFilterSmooth( pWindow, rGraphic, 0.7, RID_SVX_GRFFILTER_DLG_SEPIA); + AbstractGraphicFilterDialog* aDlg = pFact->CreateGraphicFilterSmooth(pWindow, rGraphic, 0.7); DBG_ASSERT(aDlg, "Dialogdiet fail!"); if( aDlg->Execute() == RET_OK ) aGraphic = aDlg->GetFilteredGraphic( rGraphic, 1.0, 1.0 ); |