summaryrefslogtreecommitdiff
path: root/editeng/source/items/flditem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/items/flditem.cxx')
-rw-r--r--editeng/source/items/flditem.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx
index 09e8021f5ade..8297a406c6c9 100644
--- a/editeng/source/items/flditem.cxx
+++ b/editeng/source/items/flditem.cxx
@@ -1008,7 +1008,7 @@ OUString SvxExtFileField::GetFormatted() const
INetURLObject aURLObj( aFile );
- if( INetProtocol::NOT_VALID == aURLObj.GetProtocol() )
+ if( INetProtocol::NotValid == aURLObj.GetProtocol() )
{
// invalid? try to interpret string as system file name
OUString aURLStr;
@@ -1020,12 +1020,12 @@ OUString SvxExtFileField::GetFormatted() const
// #92009# Be somewhat liberate when trying to
// get formatted content out of the FileField
- if( INetProtocol::NOT_VALID == aURLObj.GetProtocol() )
+ if( INetProtocol::NotValid == aURLObj.GetProtocol() )
{
// still not valid? Then output as is
aString = aFile;
}
- else if( INetProtocol::FILE == aURLObj.GetProtocol() )
+ else if( INetProtocol::File == aURLObj.GetProtocol() )
{
switch( eFormat )
{