summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-21 17:06:15 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-11-28 00:12:40 -0500
commit36b35a92b44b65756e594d67354fdb75f385825a (patch)
treecc6e5127e3bfbd4648619e6841c1d07a9892a09b /svx
parentb8ddfc7a4980f02907b8b7acbe8596e7f522c905 (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> (cherry picked from commit 41f7878ccbc457ef0431c999d38d9d77265d5dc7)
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/grfflt.cxx16
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;
}