From 54e87df11faf697d3b2666198a3d20b3ee091419 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 2 Apr 2015 18:32:36 +0200 Subject: Change INetProtocol enumerators to CamelCase ...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050 --- xmlsecurity/source/dialogs/macrosecurity.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx index 17cedc4eaca6..e5246617540a 100644 --- a/xmlsecurity/source/dialogs/macrosecurity.cxx +++ b/xmlsecurity/source/dialogs/macrosecurity.cxx @@ -240,7 +240,7 @@ IMPL_LINK_NOARG(MacroSecurityTrustedSourcesTP, AddLocPBHdl) aNewObj.removeFinalSlash(); // then the new path also an URL else system path - OUString aSystemFileURL = ( aNewObj.GetProtocol() != INetProtocol::NOT_VALID ) ? + OUString aSystemFileURL = ( aNewObj.GetProtocol() != INetProtocol::NotValid ) ? aPathStr : aNewObj.getFSysPath( INetURLObject::FSYS_DETECT ); OUString aNewPathStr(aSystemFileURL); -- cgit