summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuinsert.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuinsert.cxx')
-rw-r--r--sd/source/ui/func/fuinsert.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx
index ffa9c4977965..ccdcb5c7d8fe 100644
--- a/sd/source/ui/func/fuinsert.cxx
+++ b/sd/source/ui/func/fuinsert.cxx
@@ -485,8 +485,8 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
{
// get URL
OUString aStrURL(aPluginFileDialog.GetPath());
- INetURLObject aURL( aStrURL, INET_PROT_FILE );
- if( aURL.GetProtocol() != INET_PROT_NOT_VALID )
+ INetURLObject aURL( aStrURL, INetProtocol::FILE );
+ if( aURL.GetProtocol() != INetProtocol::NOT_VALID )
{
// create a plugin object
xObj = mpViewShell->GetObjectShell()->GetEmbeddedObjectContainer().CreateEmbeddedObject( SvGlobalName( SO3_PLUGIN_CLASSID ).GetByteSequence(), aName );