From 53e6ac15a14b46c76049a9e6eb39da7bb4093037 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 29 Sep 2015 18:12:38 +0200 Subject: Fix typos Change-Id: Ia7394ab3c0aa28002a7022e73c2b7d9eb73dacb8 Reviewed-on: https://gerrit.libreoffice.org/18991 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- unoxml/qa/complex/unoxml/RDFRepositoryTest.java | 6 +++--- unoxml/source/events/eventdispatcher.cxx | 6 +++--- unoxml/source/rdf/librdf_repository.cxx | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'unoxml') 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; } -- cgit