diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-16 15:12:13 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-17 08:08:22 +0000 |
commit | c23757066d914ac04a39abcd72279c7c3d8919d5 (patch) | |
tree | e391a6f83a6e6ad89785e79cc39d0f503ed5fa53 /cui | |
parent | f6a0ed20ba79c72788fa029fe99572e2d5a666e7 (diff) |
loplugin:constantparam in svx
Change-Id: I50fa7e4c7525d2f8107a11d8203957a47680eb80
Reviewed-on: https://gerrit.libreoffice.org/23303
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 9 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 6 |
2 files changed, 6 insertions, 9 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 0335cc3b04d4..67cdd98128f8 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -1265,17 +1265,16 @@ AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterSmo } AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterSolarize (vcl::Window* pParent, - const Graphic& rGraphic, sal_uInt8 nGreyThreshold, bool bInvert) + const Graphic& rGraphic, sal_uInt8 nGreyThreshold) { - VclPtrInstance<GraphicFilterSolarize> pDlg( pParent, rGraphic, nGreyThreshold, bInvert ); + VclPtrInstance<GraphicFilterSolarize> pDlg( pParent, rGraphic, nGreyThreshold, false/*bInvert*/ ); return new AbstractGraphicFilterDialog_Impl( pDlg ); } AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterMosaic (vcl::Window* pParent, - const Graphic& rGraphic, sal_uInt16 nTileWidth, sal_uInt16 nTileHeight, - bool bEnhanceEdges) + const Graphic& rGraphic, sal_uInt16 nTileWidth, sal_uInt16 nTileHeight) { - VclPtrInstance<GraphicFilterMosaic> pDlg(pParent, rGraphic, nTileWidth, nTileHeight, bEnhanceEdges); + VclPtrInstance<GraphicFilterMosaic> pDlg(pParent, rGraphic, nTileWidth, nTileHeight, false/*bEnhanceEdges*/); return new AbstractGraphicFilterDialog_Impl( pDlg ); } diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index 6f8bc05635e4..873ef11963ea 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -602,11 +602,9 @@ public: virtual AbstractGraphicFilterDialog * CreateGraphicFilterSmooth (vcl::Window* pParent, const Graphic& rGraphic, double nRadius) override; virtual AbstractGraphicFilterDialog * CreateGraphicFilterSolarize (vcl::Window* pParent, - const Graphic& rGraphic, sal_uInt8 nGreyThreshold, - bool bInvert) override; + const Graphic& rGraphic, sal_uInt8 nGreyThreshold) override; virtual AbstractGraphicFilterDialog * CreateGraphicFilterMosaic (vcl::Window* pParent, - const Graphic& rGraphic, sal_uInt16 nTileWidth, sal_uInt16 nTileHeight, - bool bEnhanceEdges) override; + const Graphic& rGraphic, sal_uInt16 nTileWidth, sal_uInt16 nTileHeight) override; virtual AbstractSvxAreaTabDialog* CreateSvxAreaTabDialog( vcl::Window* pParent, const SfxItemSet* pAttr, SdrModel* pModel, |