summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 18:12:38 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 06:04:21 +0000
commit53e6ac15a14b46c76049a9e6eb39da7bb4093037 (patch)
tree4ca4822554b29af4882e59f4e3cd8b95666899e4 /unoxml
parenta6e622480f4cbc9bef65561984810298f317f709 (diff)
Fix typos
Change-Id: Ia7394ab3c0aa28002a7022e73c2b7d9eb73dacb8 Reviewed-on: https://gerrit.libreoffice.org/18991 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/qa/complex/unoxml/RDFRepositoryTest.java6
-rw-r--r--unoxml/source/events/eventdispatcher.cxx6
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx2
3 files changed, 7 insertions, 7 deletions
diff --git a/unoxml/qa/complex/unoxml/RDFRepositoryTest.java b/unoxml/qa/complex/unoxml/RDFRepositoryTest.java
index ba2bdfd5ab9c..e9dbb3741999 100644
--- a/unoxml/qa/complex/unoxml/RDFRepositoryTest.java
+++ b/unoxml/qa/complex/unoxml/RDFRepositoryTest.java
@@ -103,10 +103,10 @@ public class RDFRepositoryTest
assertNotNull("uint", uint);
blank = BlankNode.create(xContext, "_:uno");
assertNotNull("blank", blank);
- lit = Literal.create(xContext, "i am the literal");
+ lit = Literal.create(xContext, "I am the literal");
assertNotNull("lit", lit);
litlang = Literal.createWithLanguage(xContext,
- "i am the literal", "en");
+ "I am the literal", "en");
assertNotNull("litlang", litlang);
littype = Literal.createWithType(xContext, "42", uint);
assertNotNull("littype", littype);
@@ -441,7 +441,7 @@ public class RDFRepositoryTest
try {
System.out.println("Checking RDFa gunk...");
- String content = "behold, for i am the content.";
+ String content = "behold, for I am the content.";
XTextRange xTR = new TestRange(content);
XMetadatable xM = (XMetadatable) xTR;
diff --git a/unoxml/source/events/eventdispatcher.cxx b/unoxml/source/events/eventdispatcher.cxx
index ae53ae2809d6..04051f2d64a7 100644
--- a/unoxml/source/events/eventdispatcher.cxx
+++ b/unoxml/source/events/eventdispatcher.cxx
@@ -62,7 +62,7 @@ namespace DOM { namespace events {
TypeListenerMap::const_iterator tIter = pTMap->find(aType);
if (tIter != pTMap->end()) {
ListenerMap *pMap = tIter->second;
- // find listeners of specied type for specified node
+ // find listeners of specified type for specified node
ListenerMap::iterator iter = pMap->find(pNode);
while (iter != pMap->end() && iter->first == pNode)
{
@@ -178,7 +178,7 @@ namespace DOM { namespace events {
pEvent->m_currentTarget = i_xEvent->getCurrentTarget();
pEvent->m_time = i_xEvent->getTimeStamp();
- // create the reference to the provate event implementation
+ // create the reference to the private event implementation
// that will be dispatched to the listeners
Reference< XEvent > const xEvent(pEvent);
@@ -203,7 +203,7 @@ namespace DOM { namespace events {
targetListeners = m_TargetListeners;
}
- // the caputre vector now holds the node path from target to root
+ // the capture vector now holds the node path from target to root
// first we must search for capture listernes in order root to
// to target. after that, any target listeners have to be called
// then bubbeling phase listeners are called in target to root
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index 0138511edbe0..8448f222ddc9 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -939,7 +939,7 @@ throw (uno::RuntimeException, std::exception)
bool formatNeedsBaseURI(::sal_Int16 i_Format)
{
- (void) i_Format; //FIXME any which dont?
+ (void) i_Format; //FIXME any which don't?
return true;
}