summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-28 13:13:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-29 11:36:25 +0200
commit74b716c62c55d1d3a65348b15d8b91e68b38f8c0 (patch)
tree4f8f94bcf9aef9824c3271ff2b82d472602b4364
parentcc4ec9b8ace6672053bae850f3783ef79e98588a (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: I69b670c05215be4f8226f4d5e552f832ae00a44b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101610 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sc/qa/unit/test_ScChartListenerCollection.cxx6
-rw-r--r--svx/source/unodraw/unobrushitemhelper.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/unit/test_ScChartListenerCollection.cxx b/sc/qa/unit/test_ScChartListenerCollection.cxx
index f7c7f2419179..a4a6e479b21d 100644
--- a/sc/qa/unit/test_ScChartListenerCollection.cxx
+++ b/sc/qa/unit/test_ScChartListenerCollection.cxx
@@ -29,7 +29,7 @@ class ChartListenerCollectionTest : public CppUnit::TestFixture {
void ListenerGetsNotifiedTwiceWhenRegisteredTwoTimes();
void ListenerDoesNotGetNotifiedWhenListeningStops();
void ListenerStopsListeningForAllRanges();
- void ListenersStopListeningIdependently();
+ void ListenersStopListeningIndependently();
CPPUNIT_TEST_SUITE(ChartListenerCollectionTest);
@@ -37,7 +37,7 @@ class ChartListenerCollectionTest : public CppUnit::TestFixture {
CPPUNIT_TEST(ListenerGetsNotifiedTwiceWhenRegisteredTwoTimes);
CPPUNIT_TEST(ListenerDoesNotGetNotifiedWhenListeningStops);
CPPUNIT_TEST(ListenerStopsListeningForAllRanges);
- CPPUNIT_TEST(ListenersStopListeningIdependently);
+ CPPUNIT_TEST(ListenersStopListeningIndependently);
CPPUNIT_TEST_SUITE_END();
@@ -99,7 +99,7 @@ void ChartListenerCollectionTest::ListenerStopsListeningForAllRanges() {
CPPUNIT_ASSERT_EQUAL(0u, listener.mNotifyCount);
}
-void ChartListenerCollectionTest::ListenersStopListeningIdependently() {
+void ChartListenerCollectionTest::ListenersStopListeningIndependently() {
MockedHiddenRangeListener listener1;
MockedHiddenRangeListener listener2;
diff --git a/svx/source/unodraw/unobrushitemhelper.cxx b/svx/source/unodraw/unobrushitemhelper.cxx
index e6c5758db9c1..90168e42c8b3 100644
--- a/svx/source/unodraw/unobrushitemhelper.cxx
+++ b/svx/source/unodraw/unobrushitemhelper.cxx
@@ -287,7 +287,7 @@ std::unique_ptr<SvxBrushItem> getSvxBrushItemFromSourceSet(const SfxItemSet& rSo
const XFillBitmapItem& rBmpItm = rSourceSet.Get(XATTR_FILLBITMAP, bSearchInParents);
const Graphic aGraphic(rBmpItm.GetGraphicObject().GetGraphic());
- // continue idependent of evtl. GraphicType::NONE as aGraphic.GetType(), we still need to rescue positions
+ // continue independent of evtl. GraphicType::NONE as aGraphic.GetType(), we still need to rescue positions
SvxGraphicPosition aSvxGraphicPosition(GPOS_NONE);
const XFillBmpStretchItem& rStretchItem = rSourceSet.Get(XATTR_FILLBMP_STRETCH, bSearchInParents);
const XFillBmpTileItem& rTileItem = rSourceSet.Get(XATTR_FILLBMP_TILE, bSearchInParents);