summaryrefslogtreecommitdiff
path: root/editeng/source/items
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-02 18:32:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-02 18:33:37 +0200
commit54e87df11faf697d3b2666198a3d20b3ee091419 (patch)
tree8cfe316f012a4969ca6980fa6ac2fdb3a9424118 /editeng/source/items
parent3aac11a1233f679ea813fee8b8de134553d7db60 (diff)
Change INetProtocol enumerators to CamelCase
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
Diffstat (limited to 'editeng/source/items')
-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 )
{