From 0dee0bdaea1ddfb72cf84b81dda0e9ff2fc58159 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 26 Sep 2021 20:39:58 +0200 Subject: Typo: *Transparanc*->*Transparenc* Change-Id: Ia9325a397b89c09dac4b6c76e4a0521bbdbf5db5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122655 Tested-by: Jenkins Reviewed-by: Julien Nabet --- chart2/qa/extras/chart2import.cxx | 6 +++--- include/svx/sidebar/AreaPropertyPanelBase.hxx | 2 +- svx/source/sidebar/area/AreaPropertyPanelBase.cxx | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/chart2/qa/extras/chart2import.cxx b/chart2/qa/extras/chart2import.cxx index 0b0977a1ebd8..682f24febca0 100644 --- a/chart2/qa/extras/chart2import.cxx +++ b/chart2/qa/extras/chart2import.cxx @@ -69,7 +69,7 @@ public: void testODPChartSeries(); void testBnc864396(); void testBnc882383(); - void testTransparancyGradientValue(); + void testTransparencyGradientValue(); void testBnc889755(); void testSimpleStrictXLSX(); void testDelayedCellImport(); // chart range referencing content on later sheets @@ -165,7 +165,7 @@ public: CPPUNIT_TEST(testODPChartSeries); CPPUNIT_TEST(testBnc864396); CPPUNIT_TEST(testBnc882383); - CPPUNIT_TEST(testTransparancyGradientValue); + CPPUNIT_TEST(testTransparencyGradientValue); CPPUNIT_TEST(testBnc889755); CPPUNIT_TEST(testSimpleStrictXLSX); CPPUNIT_TEST(testDelayedCellImport); @@ -808,7 +808,7 @@ void Chart2ImportTest::testBnc882383() CPPUNIT_ASSERT(!sGradientName.isEmpty()); } -void Chart2ImportTest::testTransparancyGradientValue() +void Chart2ImportTest::testTransparencyGradientValue() { load(u"/chart2/qa/extras/data/xlsx/", "tdf128732.xlsx"); uno::Reference< chart2::XChartDocument > xChartDoc = getChartDocFromSheet(0, mxComponent); diff --git a/include/svx/sidebar/AreaPropertyPanelBase.hxx b/include/svx/sidebar/AreaPropertyPanelBase.hxx index 802ac2857d28..28640a87161e 100644 --- a/include/svx/sidebar/AreaPropertyPanelBase.hxx +++ b/include/svx/sidebar/AreaPropertyPanelBase.hxx @@ -145,7 +145,7 @@ protected: OUString maImgLinear; std::unique_ptr< XFillFloatTransparenceItem > mpFloatTransparenceItem; - std::unique_ptr< SfxUInt16Item > mpTransparanceItem; + std::unique_ptr< SfxUInt16Item > mpTransparenceItem; DECL_LINK(SelectFillTypeHdl, weld::ComboBox&, void ); DECL_LINK(SelectFillAttrHdl, weld::ComboBox&, void ); diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx index 6329c2121bb8..f5d550ab51f7 100644 --- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx +++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx @@ -591,13 +591,13 @@ void AreaPropertyPanelBase::SelectFillAttrHdl_Impl() void AreaPropertyPanelBase::ImpUpdateTransparencies() { - if(mpTransparanceItem || mpFloatTransparenceItem) + if(mpTransparenceItem || mpFloatTransparenceItem) { bool bZeroValue(false); - if (mpTransparanceItem) + if (mpTransparenceItem) { - const sal_uInt16 nValue(mpTransparanceItem->GetValue()); + const sal_uInt16 nValue(mpTransparenceItem->GetValue()); if(!nValue) { @@ -720,7 +720,7 @@ void AreaPropertyPanelBase::updateFillTransparence(bool bDisabled, bool bDefault { if (bDisabled) { - mpTransparanceItem.reset(); + mpTransparenceItem.reset(); return; } else if (bDefaultOrSet) @@ -728,19 +728,19 @@ void AreaPropertyPanelBase::updateFillTransparence(bool bDisabled, bool bDefault if (pState) { const SfxUInt16Item* pItem = static_cast(pState); - mpTransparanceItem.reset(pItem->Clone()); + mpTransparenceItem.reset(pItem->Clone()); } else { - mpTransparanceItem.reset(); + mpTransparenceItem.reset(); } } else { - mpTransparanceItem.reset(); + mpTransparenceItem.reset(); } - // update transparency settings dependent of mpTransparanceItem and mpFloatTransparenceItem + // update transparency settings dependent of mpTransparenceItem and mpFloatTransparenceItem ImpUpdateTransparencies(); } @@ -769,7 +769,7 @@ void AreaPropertyPanelBase::updateFillFloatTransparence(bool bDisabled, bool bDe mpFloatTransparenceItem.reset(); } - // update transparency settings dependent of mpTransparanceItem and mpFloatTransparenceItem + // update transparency settings dependent of mpTransparenceItem and mpFloatTransparenceItem ImpUpdateTransparencies(); } -- cgit v1.2.3