summaryrefslogtreecommitdiff
path: root/svtools/source/control/filectrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/filectrl.cxx')
-rw-r--r--svtools/source/control/filectrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/filectrl.cxx b/svtools/source/control/filectrl.cxx
index cf72f0f2080a..fba5ac31fdeb 100644
--- a/svtools/source/control/filectrl.cxx
+++ b/svtools/source/control/filectrl.cxx
@@ -236,7 +236,7 @@ void FileControl::ImplBrowseFile( )
{
OUString aNewText = aPathSeq[0];
INetURLObject aObj( aNewText );
- if ( aObj.GetProtocol() == INET_PROT_FILE )
+ if ( aObj.GetProtocol() == INetProtocol::FILE )
aNewText = aObj.PathToFileName();
SetText( aNewText );
maEdit.GetModifyHdl().Call( &maEdit );