[Libreoffice-commits] core.git: compilerplugins/clang qadevOOo/tests sw/source test/source
Andrea Gelmini
andrea.gelmini at gelma.net
Sun Dec 10 09:34:19 UTC 2017
compilerplugins/clang/salcall.cxx | 2 +-
qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java | 2 +-
qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java | 2 +-
sw/source/filter/ww8/wrtw8nds.cxx | 4 ++--
test/source/sheet/xdatabaseranges.cxx | 4 ++--
5 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 06e5bd866b8c0bdb2d5686a3b446151abb8983fb
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Sat Dec 9 16:56:20 2017 +0100
Fix typos
Change-Id: I2de8448564c963d3361a828bb96dcdb15eddf717
Reviewed-on: https://gerrit.libreoffice.org/46151
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/compilerplugins/clang/salcall.cxx b/compilerplugins/clang/salcall.cxx
index dd4bea584a42..0f73e15adf66 100644
--- a/compilerplugins/clang/salcall.cxx
+++ b/compilerplugins/clang/salcall.cxx
@@ -479,7 +479,7 @@ bool SalCall::isSalCallFunction(FunctionDecl const* functionDecl, SourceLocation
// | foo\ |
// | barbaz##X |
//
- // starting at "barbaz" in the secod line, the next token reported will start at "\"
+ // starting at "barbaz" in the second line, the next token reported will start at "\"
// in the first line and include the intervening spaces and (part of? looks like an
// error in Clang) "barbaz", so just skip any tokens starting with backslash-newline
// when looking backwards here, without even trying to look at their content:
diff --git a/qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java b/qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java
index 50726cd739b9..5e30fa9e5af2 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSheetLinkObj.java
@@ -116,7 +116,7 @@ public class ScSheetLinkObj extends TestCase {
XSheetLinkable SL = UnoRuntime.queryInterface(XSheetLinkable.class, oSheet);
- // creating link. Doesn't matter that it refers to unexistant object.
+ // creating link. Doesn't matter that it refers to unexistent object.
// this is for proper work of XAccess tests.
String sURL = utils.getFullTestDocName("ScSheetLinksObj.ods");
SL.link(sURL, "Sheet1", "", "", com.sun.star.sheet.SheetLinkMode.VALUE);
diff --git a/qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java b/qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java
index cd209cfd8332..3a996abc81b7 100644
--- a/qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScSheetLinksObj.java
@@ -103,7 +103,7 @@ public class ScSheetLinksObj extends TestCase {
XSheetLinkable SL = UnoRuntime.queryInterface(XSheetLinkable.class, oSheet);
- // creating link. Doesn't matter that it refers to unexistant object.
+ // creating link. Doesn't matter that it refers to unexistent object.
// this is for proper work of X*Access tests.
String aSourceArea = util.utils.getFullTestURL("calcshapes.sxc");
SL.link(aSourceArea, "Sheet1", "", "",
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index 0355d420d697..76120b876fa4 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -2282,7 +2282,7 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode )
{
sal_Int32 nAktPos = *aBreakIt;
- if( softBreakList.size() > 1 ) // not for empty paragpraph
+ if( softBreakList.size() > 1 ) // not for empty paragraph
++aBreakIt;
AttrOutput().StartParagraph( pTextNodeInfo );
@@ -2495,7 +2495,7 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode )
}
nLen -= ofs;
- // if paragraph needs to be split, write only until split postition
+ // if paragraph needs to be split, write only until split position
if( bNeedParaSplit && nAktPos + ofs + nLen > *aBreakIt)
nLen = *aBreakIt - nAktPos - ofs;
diff --git a/test/source/sheet/xdatabaseranges.cxx b/test/source/sheet/xdatabaseranges.cxx
index 972631014e64..491e980fc468 100644
--- a/test/source/sheet/xdatabaseranges.cxx
+++ b/test/source/sheet/xdatabaseranges.cxx
@@ -31,14 +31,14 @@ void XDatabaseRanges::testAddRemoveDbRanges()
CPPUNIT_ASSERT_MESSAGE("Unable to add new db range", xDbRanges->hasByName("addNewRange"));
CPPUNIT_ASSERT_THROW_MESSAGE(
- "No execption thrown, when adding range with existing name",
+ "No exception thrown, when adding range with existing name",
xDbRanges->addNewByName("addNewRange", table::CellRangeAddress(0, 1, 2, 3, 4)),
css::uno::RuntimeException);
xDbRanges->removeByName("addNewRange");
CPPUNIT_ASSERT_MESSAGE("Unable to remove db range", !xDbRanges->hasByName("addNewRange"));
- CPPUNIT_ASSERT_THROW_MESSAGE("No execption, when removing none-existing range",
+ CPPUNIT_ASSERT_THROW_MESSAGE("No exception, when removing none-existing range",
xDbRanges->removeByName("addNewRange"),
css::uno::RuntimeException);
}
More information about the Libreoffice-commits
mailing list