diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-30 10:24:32 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-31 06:26:25 +0000 |
commit | fe6ac2d11a6f870094bd630759f998d8ed9272e3 (patch) | |
tree | 6012c260e7926a2cdd01e586f83add8af1ec327e /svx/source/unodraw | |
parent | 0b23eec200c8c12db5778405df44f4bf8e38e4ad (diff) |
Convert GfxLinkType to scoped enum
Change-Id: Iae074ef0927a55f1fbf401cb66f4f183213f547c
Reviewed-on: https://gerrit.libreoffice.org/25656
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r-- | svx/source/unodraw/unoshap4.cxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index 093d72fc5703..35b367abb0da 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -234,7 +234,7 @@ bool SvxOle2Shape::getPropertyValueImpl( const OUString& rName, const SfxItemPro if ( pGraphic->IsLink() ) { GfxLink aLnk = pGraphic->GetLink(); - if ( aLnk.GetType() == GFX_LINK_TYPE_NATIVE_WMF ) + if ( aLnk.GetType() == GfxLinkType::NativeWmf ) { bIsWMF = true; uno::Sequence<sal_Int8> aSeq(reinterpret_cast<sal_Int8 const *>(aLnk.GetData()), (sal_Int32) aLnk.GetDataSize()); diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index a6fe3ae4f1bf..4c3c4e6041e1 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -2873,7 +2873,7 @@ bool SvxShape::getPropertyValueImpl( const OUString&, const SfxItemPropertySimpl if ( pGraphic->IsLink() ) { GfxLink aLnk = pGraphic->GetLink(); - if ( aLnk.GetType() == GFX_LINK_TYPE_NATIVE_WMF ) + if ( aLnk.GetType() == GfxLinkType::NativeWmf ) { bIsWMF = true; uno::Sequence<sal_Int8> aSeq(reinterpret_cast<sal_Int8 const *>(aLnk.GetData()), (sal_Int32) aLnk.GetDataSize()); |