Kaydet (Commit) 06e5bd86 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: I2de8448564c963d3361a828bb96dcdb15eddf717
Reviewed-on: https://gerrit.libreoffice.org/46151Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst ce652a7f
......@@ -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:
......
......@@ -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);
......
......@@ -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", "", "",
......
......@@ -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;
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment