diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-21 17:06:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-22 06:43:35 +0000 |
commit | 41f7878ccbc457ef0431c999d38d9d77265d5dc7 (patch) | |
tree | e0b6700f1019b5537ca1629d82fd65cfd1a7f626 /svx | |
parent | 7444355f1d544e015083c2412696e1df6f295e2d (diff) |
convert BmpFilter to scoped enum
Change-Id: I22c5b49f108d4ce103dea5098a2a0dc9d6bc854c
Reviewed-on: https://gerrit.libreoffice.org/32292
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/grfflt.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/dialog/grfflt.cxx b/svx/source/dialog/grfflt.cxx index df6eb0846eff..c8858fd16487 100644 --- a/svx/source/dialog/grfflt.cxx +++ b/svx/source/dialog/grfflt.cxx @@ -91,14 +91,14 @@ sal_uIntPtr SvxGraphicFilter::ExecuteGrfFilterSlot( SfxRequest& rReq, GraphicObj { Animation aAnimation( rGraphic.GetAnimation() ); - if( aAnimation.Filter( BMP_FILTER_SHARPEN ) ) + if( aAnimation.Filter( BmpFilter::Sharpen ) ) aGraphic = aAnimation; } else { BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); - if( aBmpEx.Filter( BMP_FILTER_SHARPEN ) ) + if( aBmpEx.Filter( BmpFilter::Sharpen ) ) aGraphic = aBmpEx; } @@ -116,14 +116,14 @@ sal_uIntPtr SvxGraphicFilter::ExecuteGrfFilterSlot( SfxRequest& rReq, GraphicObj { Animation aAnimation( rGraphic.GetAnimation() ); - if( aAnimation.Filter( BMP_FILTER_REMOVENOISE ) ) + if( aAnimation.Filter( BmpFilter::RemoveNoise ) ) aGraphic = aAnimation; } else { BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); - if( aBmpEx.Filter( BMP_FILTER_REMOVENOISE ) ) + if( aBmpEx.Filter( BmpFilter::RemoveNoise ) ) aGraphic = aBmpEx; } @@ -141,14 +141,14 @@ sal_uIntPtr SvxGraphicFilter::ExecuteGrfFilterSlot( SfxRequest& rReq, GraphicObj { Animation aAnimation( rGraphic.GetAnimation() ); - if( aAnimation.Filter( BMP_FILTER_SOBEL_GREY ) ) + if( aAnimation.Filter( BmpFilter::SobelGrey ) ) aGraphic = aAnimation; } else { BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); - if( aBmpEx.Filter( BMP_FILTER_SOBEL_GREY ) ) + if( aBmpEx.Filter( BmpFilter::SobelGrey ) ) aGraphic = aBmpEx; } @@ -205,14 +205,14 @@ sal_uIntPtr SvxGraphicFilter::ExecuteGrfFilterSlot( SfxRequest& rReq, GraphicObj { Animation aAnimation( rGraphic.GetAnimation() ); - if( aAnimation.Filter( BMP_FILTER_POPART ) ) + if( aAnimation.Filter( BmpFilter::PopArt ) ) aGraphic = aAnimation; } else { BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); - if( aBmpEx.Filter( BMP_FILTER_POPART ) ) + if( aBmpEx.Filter( BmpFilter::PopArt ) ) aGraphic = aBmpEx; } |