[Libreoffice-commits] core.git: sc/qa sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Dec 22 11:49:19 UTC 2018
sc/qa/extras/sctablerowsobj.cxx | 12 ++++++------
sw/source/core/access/acccell.cxx | 6 +++---
sw/source/core/access/acctable.cxx | 6 +++---
3 files changed, 12 insertions(+), 12 deletions(-)
New commits:
commit 2ee85baac60dde5238e42483d610edf28fcffc6b
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Dec 19 22:27:48 2018 +0100
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Dec 22 12:48:58 2018 +0100
Fix typo in code
It passed "make check" on Linux
Change-Id: I23bb5e475c5b769e91f47bea19dc57994fbca091
Reviewed-on: https://gerrit.libreoffice.org/65565
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/sc/qa/extras/sctablerowsobj.cxx b/sc/qa/extras/sctablerowsobj.cxx
index ce2aadab51be..110770463e78 100644
--- a/sc/qa/extras/sctablerowsobj.cxx
+++ b/sc/qa/extras/sctablerowsobj.cxx
@@ -73,7 +73,7 @@ public:
CPPUNIT_TEST_SUITE_END();
private:
- uno::Reference<lang::XComponent> m_xCompoment;
+ uno::Reference<lang::XComponent> m_xComponent;
};
ScTableRowsObj::ScTableRowsObj()
@@ -86,7 +86,7 @@ ScTableRowsObj::ScTableRowsObj()
uno::Reference<uno::XInterface> ScTableRowsObj::init()
{
- uno::Reference<sheet::XSpreadsheetDocument> xDoc(m_xCompoment, uno::UNO_QUERY_THROW);
+ uno::Reference<sheet::XSpreadsheetDocument> xDoc(m_xComponent, uno::UNO_QUERY_THROW);
CPPUNIT_ASSERT_MESSAGE("no calc document", xDoc.is());
uno::Reference<sheet::XSpreadsheets> xSheets(xDoc->getSheets(), uno::UNO_QUERY_THROW);
@@ -102,7 +102,7 @@ uno::Reference<uno::XInterface> ScTableRowsObj::init()
uno::Reference<uno::XInterface> ScTableRowsObj::getXCellRange()
{
- uno::Reference<sheet::XSpreadsheetDocument> xDoc(m_xCompoment, uno::UNO_QUERY_THROW);
+ uno::Reference<sheet::XSpreadsheetDocument> xDoc(m_xComponent, uno::UNO_QUERY_THROW);
CPPUNIT_ASSERT_MESSAGE("no calc document", xDoc.is());
uno::Reference<sheet::XSpreadsheets> xSheets(xDoc->getSheets(), uno::UNO_QUERY_THROW);
@@ -117,13 +117,13 @@ uno::Reference<uno::XInterface> ScTableRowsObj::getXCellRange()
void ScTableRowsObj::setUp()
{
CalcUnoApiTest::setUp();
- m_xCompoment = loadFromDesktop("private:factory/scalc");
- CPPUNIT_ASSERT_MESSAGE("no component", m_xCompoment.is());
+ m_xComponent = loadFromDesktop("private:factory/scalc");
+ CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
void ScTableRowsObj::tearDown()
{
- closeDocument(m_xCompoment);
+ closeDocument(m_xComponent);
CalcUnoApiTest::tearDown();
}
diff --git a/sw/source/core/access/acccell.cxx b/sw/source/core/access/acccell.cxx
index 9589ac0a893c..f36b4f86691b 100644
--- a/sw/source/core/access/acccell.cxx
+++ b/sw/source/core/access/acccell.cxx
@@ -425,10 +425,10 @@ sal_Int32 SAL_CALL SwAccessibleCell::getBackground()
uno::Reference<XAccessible> xAccDoc = getAccessibleParent();
if (xAccDoc.is())
{
- uno::Reference<XAccessibleComponent> xCompoentDoc(xAccDoc, uno::UNO_QUERY);
- if (xCompoentDoc.is())
+ uno::Reference<XAccessibleComponent> xComponentDoc(xAccDoc, uno::UNO_QUERY);
+ if (xComponentDoc.is())
{
- crBack = Color(xCompoentDoc->getBackground());
+ crBack = Color(xComponentDoc->getBackground());
}
}
}
diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx
index d7cae3b0090b..03fc575e9064 100644
--- a/sw/source/core/access/acctable.cxx
+++ b/sw/source/core/access/acctable.cxx
@@ -1573,10 +1573,10 @@ sal_Int32 SAL_CALL SwAccessibleTable::getBackground()
uno::Reference<XAccessible> xAccDoc = getAccessibleParent();
if (xAccDoc.is())
{
- uno::Reference<XAccessibleComponent> xCompoentDoc(xAccDoc,uno::UNO_QUERY);
- if (xCompoentDoc.is())
+ uno::Reference<XAccessibleComponent> xComponentDoc(xAccDoc,uno::UNO_QUERY);
+ if (xComponentDoc.is())
{
- crBack = Color(xCompoentDoc->getBackground());
+ crBack = Color(xComponentDoc->getBackground());
}
}
}
More information about the Libreoffice-commits
mailing list