summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbadocumentsbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbadocumentsbase.cxx b/vbahelper/source/vbahelper/vbadocumentsbase.cxx
index 849bbd97e092..c4d515868d64 100644
--- a/vbahelper/source/vbahelper/vbadocumentsbase.cxx
+++ b/vbahelper/source/vbahelper/vbadocumentsbase.cxx
@@ -278,7 +278,7 @@ uno::Any VbaDocumentsBase::openDocument( const OUString& rFileName, const uno::A
OUString aURL;
INetURLObject aObj;
aObj.SetURL( rFileName );
- bool bIsURL = aObj.GetProtocol() != INET_PROT_NOT_VALID;
+ bool bIsURL = aObj.GetProtocol() != INetProtocol::NOT_VALID;
if ( bIsURL )
aURL = rFileName;
else