summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-14 09:44:40 +0200
committerNoel Grandin <noel@peralex.com>2015-05-14 12:00:40 +0200
commitf30ce25c3c5954eb90e126dd4904eee5454f044c (patch)
treee21ccf7d1b782b7ad1a08913f2831ca662d87283 /svx
parent19a32ddfd2b9c1beb17641e99f139ac0d3dcaf96 (diff)
convert GRFILTER_I_FLAGS to scoped enum
Change-Id: Ic1cb9b32fe252706cd607abb2ae1fd5a00999901
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdograf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 170a4029dcc2..2fa62cc96e3c 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -99,7 +99,7 @@ const Graphic ImpLoadLinkedGraphic( const OUString& aFileName, const OUString& a
// to interpret included links may fail.
// Alternatively the path may be set at the result after this call when it is known
// that it is a SVG graphic, but only because no one yet tried to interpret it.
- rGF.ImportGraphic( aGraphic, aFileName, *pInStrm, nFilter, NULL, 0, &aFilterData );
+ rGF.ImportGraphic( aGraphic, aFileName, *pInStrm, nFilter, NULL, GraphicFilterImportFlags::NONE, &aFilterData );
}
return aGraphic;
}
@@ -1346,7 +1346,7 @@ IMPL_LINK( SdrGrafObj, ImpSwapHdl, GraphicObject*, pO )
if(!GraphicFilter::GetGraphicFilter().ImportGraphic(
aGraphic, aUserData, *pStream,
- GRFILTER_FORMAT_DONTKNOW, NULL, 0, pFilterData.get()))
+ GRFILTER_FORMAT_DONTKNOW, NULL, GraphicFilterImportFlags::NONE, pFilterData.get()))
{
const OUString aNewUserData( pGraphic->GetUserData() );
pGraphic->SetGraphic( aGraphic );