blob: a67f265220aa63db032d7fef4107aad7140551a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- xalan-c-1.11_original/c/src/xalanc/PlatformSupport/XSLException.cpp 2014-05-29 22:27:20.366792350 +0200
+++ xalan-c-1.11_patched/c/src/xalanc/PlatformSupport/XSLException.cpp 2014-05-29 22:56:01.136185453 +0200
@@ -41,11 +41,7 @@
const Locator* theLocator) :
m_memoryManager(theManager),
m_message(theMessage, theManager),
- m_uri(
- XalanLocator::getSystemId(
- theLocator,
- &s_dummy),
- theManager),
+ m_uri(theLocator == 0 ? s_dummy : theLocator->getSystemId()),
m_lineNumber(XalanLocator::getLineNumber(theLocator)),
m_columnNumber(XalanLocator::getColumnNumber(theLocator)),
m_formatted(false)
|