diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-02 18:32:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-02 18:33:37 +0200 |
commit | 54e87df11faf697d3b2666198a3d20b3ee091419 (patch) | |
tree | 8cfe316f012a4969ca6980fa6ac2fdb3a9424118 /svx/source/xml | |
parent | 3aac11a1233f679ea813fee8b8de134553d7db60 (diff) |
Change INetProtocol enumerators to CamelCase
...to avoid clashes with macros and poor warnings about hiding global FILE
Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
Diffstat (limited to 'svx/source/xml')
-rw-r--r-- | svx/source/xml/xmlxtexp.cxx | 2 | ||||
-rw-r--r-- | svx/source/xml/xmlxtimp.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx index e308779f7331..7a582966b10e 100644 --- a/svx/source/xml/xmlxtexp.cxx +++ b/svx/source/xml/xmlxtexp.cxx @@ -218,7 +218,7 @@ bool SvxXMLXTableExportComponent::save( sal_Int32 eCreate = embed::ElementModes::WRITE | embed::ElementModes::TRUNCATE; INetURLObject aURLObj( rURL ); - bool bToStorage = aURLObj.GetProtocol() == INetProtocol::NOT_VALID; // a relative path + bool bToStorage = aURLObj.GetProtocol() == INetProtocol::NotValid; // a relative path bool bSaveAsStorage = xTable->getElementType() == cppu::UnoType<OUString>::get(); diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx index e3239c3f9648..9d2e68b69349 100644 --- a/svx/source/xml/xmlxtimp.cxx +++ b/svx/source/xml/xmlxtimp.cxx @@ -375,7 +375,7 @@ bool SvxXMLXTableImport::load( const OUString &rPath, const OUString &rReferer, SvXMLGraphicHelper* pGraphicHelper = 0; INetURLObject aURLObj( rPath ); - bool bUseStorage = aURLObj.GetProtocol() == INetProtocol::NOT_VALID; // a relative path + bool bUseStorage = aURLObj.GetProtocol() == INetProtocol::NotValid; // a relative path try { |