summaryrefslogtreecommitdiff
path: root/unoxml/source/dom
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom')
-rw-r--r--unoxml/source/dom/attr.cxx4
-rw-r--r--unoxml/source/dom/characterdata.cxx2
-rw-r--r--unoxml/source/dom/document.cxx4
-rw-r--r--unoxml/source/dom/documentbuilder.cxx4
-rw-r--r--unoxml/source/dom/domimplementation.cxx2
-rw-r--r--unoxml/source/dom/element.cxx6
-rw-r--r--unoxml/source/dom/node.cxx14
7 files changed, 18 insertions, 18 deletions
diff --git a/unoxml/source/dom/attr.cxx b/unoxml/source/dom/attr.cxx
index fa8eb9af9791..e9a96e5dcdf9 100644
--- a/unoxml/source/dom/attr.cxx
+++ b/unoxml/source/dom/attr.cxx
@@ -141,7 +141,7 @@ namespace DOM
{
// FIXME if this DOM implementation supported DTDs it would need
// to check that this attribute is not default or something
- return sal_True;
+ return true;
}
/**
@@ -205,7 +205,7 @@ namespace DOM
Reference< XDocumentEvent > docevent(getOwnerDocument(), UNO_QUERY);
Reference< XMutationEvent > event(docevent->createEvent(sEventName),UNO_QUERY);
event->initMutationEvent(
- sEventName, sal_True, sal_False,
+ sEventName, true, false,
Reference<XNode>( static_cast<XAttr*>( this ) ),
sOldValue, value, getName(), AttrChangeType_MODIFICATION );
diff --git a/unoxml/source/dom/characterdata.cxx b/unoxml/source/dom/characterdata.cxx
index 0f1be2eec1f2..fea48292663c 100644
--- a/unoxml/source/dom/characterdata.cxx
+++ b/unoxml/source/dom/characterdata.cxx
@@ -51,7 +51,7 @@ namespace DOM
"DOMCharacterDataModified"), UNO_QUERY);
event->initMutationEvent(
"DOMCharacterDataModified",
- sal_True, sal_False, Reference< XNode >(),
+ true, false, Reference< XNode >(),
prevValue, newValue, OUString(), (AttrChangeType)0 );
dispatchEvent(event);
dispatchSubtreeModified();
diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx
index f43d0846cc01..4a017308702e 100644
--- a/unoxml/source/dom/document.cxx
+++ b/unoxml/source/dom/document.cxx
@@ -747,7 +747,7 @@ namespace DOM
while (xSibling.is())
{
Reference< XNode > const xTmp(
- xTargetDocument->importNode(xSibling, sal_True));
+ xTargetDocument->importNode(xSibling, true));
xTargetParent->appendChild(xTmp);
xSibling = xSibling->getNextSibling();
}
@@ -905,7 +905,7 @@ namespace DOM
Reference< XMutationEvent > const event(xDocevent->createEvent(
"DOMNodeInsertedIntoDocument"), UNO_QUERY_THROW);
event->initMutationEvent(
- "DOMNodeInsertedIntoDocument", sal_True, sal_False, Reference< XNode >(),
+ "DOMNodeInsertedIntoDocument", true, false, Reference< XNode >(),
OUString(), OUString(), OUString(), (AttrChangeType)0 );
Reference< XEventTarget > const xDocET(xDocument, UNO_QUERY);
xDocET->dispatchEvent(event);
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx
index eafab7e2bf9f..b460004687e0 100644
--- a/unoxml/source/dom/documentbuilder.cxx
+++ b/unoxml/source/dom/documentbuilder.cxx
@@ -149,13 +149,13 @@ namespace DOM
sal_Bool SAL_CALL CDocumentBuilder::isNamespaceAware()
throw (RuntimeException, std::exception)
{
- return sal_True;
+ return true;
}
sal_Bool SAL_CALL CDocumentBuilder::isValidating()
throw (RuntimeException, std::exception)
{
- return sal_False;
+ return false;
}
Reference< XDocument > SAL_CALL CDocumentBuilder::newDocument()
diff --git a/unoxml/source/dom/domimplementation.cxx b/unoxml/source/dom/domimplementation.cxx
index 01a573c3b0df..9439320e0ca5 100644
--- a/unoxml/source/dom/domimplementation.cxx
+++ b/unoxml/source/dom/domimplementation.cxx
@@ -80,7 +80,7 @@ namespace DOM
{
OSL_ENSURE(false,
"CDOMImplementation::hasFeature: not implemented (#i113683#)");
- return sal_False;
+ return false;
}
}
diff --git a/unoxml/source/dom/element.cxx b/unoxml/source/dom/element.cxx
index 6d40570a45e5..bd7f519e5ba3 100644
--- a/unoxml/source/dom/element.cxx
+++ b/unoxml/source/dom/element.cxx
@@ -580,7 +580,7 @@ namespace DOM
Reference< XMutationEvent > event(docevent->createEvent(
"DOMAttrModified"), UNO_QUERY);
event->initMutationEvent("DOMAttrModified",
- sal_True, sal_False, xAttr,
+ true, false, xAttr,
OUString(), xAttr->getValue(), xAttr->getName(),
AttrChangeType_ADDITION);
@@ -645,7 +645,7 @@ namespace DOM
Reference< XMutationEvent > event(docevent->createEvent(
"DOMAttrModified"), UNO_QUERY);
event->initMutationEvent("DOMAttrModified",
- sal_True, sal_False,
+ true, false,
Reference< XNode >(getAttributeNode(name), UNO_QUERY),
oldValue, value, name, aChangeType);
@@ -727,7 +727,7 @@ namespace DOM
Reference< XMutationEvent > event(docevent->createEvent(
"DOMAttrModified"), UNO_QUERY);
event->initMutationEvent(
- "DOMAttrModified", sal_True, sal_False,
+ "DOMAttrModified", true, false,
Reference< XNode >(getAttributeNodeNS(namespaceURI, OUString(reinterpret_cast<char const *>(xLName), strlen(reinterpret_cast<char const *>(xLName)), RTL_TEXTENCODING_UTF8)), UNO_QUERY),
oldValue, value, qualifiedName, aChangeType);
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx
index 197512072710..1941c09a8ba6 100644
--- a/unoxml/source/dom/node.cxx
+++ b/unoxml/source/dom/node.cxx
@@ -370,7 +370,7 @@ namespace DOM
Reference< XDocumentEvent > docevent(getOwnerDocument(), UNO_QUERY);
Reference< XMutationEvent > event(docevent->createEvent(
"DOMNodeInserted"), UNO_QUERY);
- event->initMutationEvent("DOMNodeInserted", sal_True, sal_False, this,
+ event->initMutationEvent("DOMNodeInserted", true, false, this,
OUString(), OUString(), OUString(), (AttrChangeType)0 );
// the following dispatch functions use only UNO interfaces
@@ -733,7 +733,7 @@ namespace DOM
throw (RuntimeException, std::exception)
{
OSL_ENSURE(false, "CNode::isSupported: not implemented (#i113683#)");
- return sal_False;
+ return false;
}
/**
@@ -809,8 +809,8 @@ namespace DOM
Reference< XMutationEvent > event(docevent->createEvent(
"DOMNodeRemoved"), UNO_QUERY);
event->initMutationEvent("DOMNodeRemoved",
- sal_True,
- sal_False,
+ true,
+ false,
this,
OUString(), OUString(), OUString(), (AttrChangeType)0 );
@@ -940,8 +940,8 @@ namespace DOM
Reference< XMutationEvent > event(docevent->createEvent(
"DOMSubtreeModified"), UNO_QUERY);
event->initMutationEvent(
- "DOMSubtreeModified", sal_True,
- sal_False, Reference< XNode >(),
+ "DOMSubtreeModified", true,
+ false, Reference< XNode >(),
OUString(), OUString(), OUString(), (AttrChangeType)0 );
dispatchEvent(event);
}
@@ -1025,7 +1025,7 @@ namespace DOM
}
// this calls event listeners, do not call with locked mutex
pDispatcher->dispatchEvent(*pDocument, m_rMutex, pNode, this, evt);
- return sal_True;
+ return true;
}
::sal_Int64 SAL_CALL