diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-05 08:47:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-05 12:49:02 +0200 |
commit | bfde4866e07746eafa2f0d6173c29d805cc35ad0 (patch) | |
tree | be939a44eb70c7187fa5536089b782326b160013 /toolkit | |
parent | 803215142efa6437515348f63bd70ffdcf5d45f1 (diff) |
convert DecodeMechanism to scoped enum
Change-Id: I5c56634b1bca8e37fa73d02d2428645301b6c547
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/animatedimagespeer.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx index 82169b358d70..3dae4a6bfad5 100644 --- a/toolkit/source/awt/animatedimagespeer.cxx +++ b/toolkit/source/awt/animatedimagespeer.cxx @@ -109,7 +109,7 @@ namespace toolkit if ( aURL.GetProtocol() != INetProtocol::PrivSoffice ) { OSL_VERIFY( aURL.insertName( "hicontrast", false, 0 ) ); - return aURL.GetMainURL( INetURLObject::NO_DECODE ); + return aURL.GetMainURL( INetURLObject::DecodeMechanism::NONE ); } // the private: scheme is not considered to be hierarchical by INetURLObject, so manually insert the // segment diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 3cf4abb36d26..32a80af35cc4 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -1824,7 +1824,7 @@ OUString getPhysicalLocation( const css::uno::Any& rbase, const css::uno::Any& r { INetURLObject urlObj(baseLocation); urlObj.removeSegment(); - baseLocation = urlObj.GetMainURL( INetURLObject::NO_DECODE ); + baseLocation = urlObj.GetMainURL( INetURLObject::DecodeMechanism::NONE ); const INetURLObject protocolCheck( url ); const INetProtocol protocol = protocolCheck.GetProtocol(); |