diff options
Diffstat (limited to 'svx/source/unodraw/unoshap2.cxx')
-rw-r--r-- | svx/source/unodraw/unoshap2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx index f0f4eb3bb932..b942a0d7057c 100644 --- a/svx/source/unodraw/unoshap2.cxx +++ b/svx/source/unodraw/unoshap2.cxx @@ -1495,7 +1495,7 @@ bool SvxGraphicObject::setPropertyValueImpl( const OUString& rName, const SfxIte { INetURLObject aURLObj( aURL ); - if( aURLObj.GetProtocol() == INET_PROT_NOT_VALID ) + if( aURLObj.GetProtocol() == INetProtocol::NOT_VALID ) { OUString aValidURL; @@ -1503,7 +1503,7 @@ bool SvxGraphicObject::setPropertyValueImpl( const OUString& rName, const SfxIte aURLObj = INetURLObject( aValidURL ); } - if( aURLObj.GetProtocol() != INET_PROT_NOT_VALID ) + if( aURLObj.GetProtocol() != INetProtocol::NOT_VALID ) { GraphicFilter &rGrfFilter = GraphicFilter::GetGraphicFilter(); aFilterName = rGrfFilter.GetImportFormatName( rGrfFilter.GetImportFormatNumberForShortName( aURLObj.getExtension() ) ); |