From 0dcee6477324bed9a19d43eb2acc53c06af38615 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 22 Aug 2026 12:53:03 +0200 Subject: [PATCH] Fix typo in code. Make getSystemDependantDataInternal (with "a") in getSystemDependentDataInternal (with "e") to have it coherent with addOrReplaceSystemDependentDataInternal and the class addOrReplaceSystemDependentDataInternal Change-Id: Id56d54c0981752f09387d43a3eb33fab81ccd5c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209484 Reviewed-by: Julien Nabet Tested-by: Jenkins --- basegfx/source/polygon/b2dpolygon.cxx | 2 +- basegfx/source/polygon/b2dpolypolygon.cxx | 2 +- bin/find-mergedlib-can-be-private-symbols.functions.results | 4 ++-- include/basegfx/polygon/b2dpolygon.hxx | 4 ++-- include/basegfx/polygon/b2dpolypolygon.hxx | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/basegfx/source/polygon/b2dpolygon.cxx b/basegfx/source/polygon/b2dpolygon.cxx index efbe42d47cd4..ca18b10d5975 100644 --- a/basegfx/source/polygon/b2dpolygon.cxx +++ b/basegfx/source/polygon/b2dpolygon.cxx @@ -1544,7 +1544,7 @@ namespace basegfx mpPolygon->addOrReplaceSystemDependentData(rData); } - SystemDependentData_SharedPtr B2DPolygon::getSystemDependantDataInternal(SDD_Type aType) const + SystemDependentData_SharedPtr B2DPolygon::getSystemDependentDataInternal(SDD_Type aType) const { return mpPolygon->getSystemDependentData(aType); } diff --git a/basegfx/source/polygon/b2dpolypolygon.cxx b/basegfx/source/polygon/b2dpolypolygon.cxx index 905c2d2dc6fd..f7614f7a0f78 100644 --- a/basegfx/source/polygon/b2dpolypolygon.cxx +++ b/basegfx/source/polygon/b2dpolypolygon.cxx @@ -436,7 +436,7 @@ public: mpPolyPolygon->addOrReplaceSystemDependentData(rData); } - SystemDependentData_SharedPtr B2DPolyPolygon::getSystemDependantDataInternal(SDD_Type aType) const + SystemDependentData_SharedPtr B2DPolyPolygon::getSystemDependentDataInternal(SDD_Type aType) const { return mpPolyPolygon->getSystemDependentData(aType); } diff --git a/bin/find-mergedlib-can-be-private-symbols.functions.results b/bin/find-mergedlib-can-be-private-symbols.functions.results index 3ff1b5fd7f7e..da284d38fed4 100644 --- a/bin/find-mergedlib-can-be-private-symbols.functions.results +++ b/bin/find-mergedlib-can-be-private-symbols.functions.results @@ -10916,7 +10916,7 @@ basegfx::B2DHomMatrix::scale(basegfx::B2DTuple const&) basegfx::B2DHomMatrix::set3x2(double, double, double, double, double, double) basegfx::B2DPolyPolygon::addOrReplaceSystemDependentDataInternal(std::shared_ptr&) const basegfx::B2DPolyPolygon::getDefaultAdaptiveSubdivision() const -basegfx::B2DPolyPolygon::getSystemDependantDataInternal(unsigned long) const +basegfx::B2DPolyPolygon::getSystemDependentDataInternal(unsigned long) const basegfx::B2DPolyPolygon::hasDoublePoints() const basegfx::B2DPolyPolygon::makeUnique() basegfx::B2DPolyRange::B2DPolyRange(basegfx::B2DPolyRange const&) @@ -10925,7 +10925,7 @@ basegfx::B2DPolyRange::transform(basegfx::B2DHomMatrix const&) basegfx::B2DPolygon::addOrReplaceSystemDependentDataInternal(std::shared_ptr&) const basegfx::B2DPolygon::getNextControlVector(unsigned int) const basegfx::B2DPolygon::getPrevControlVector(unsigned int) const -basegfx::B2DPolygon::getSystemDependantDataInternal(unsigned long) const +basegfx::B2DPolygon::getSystemDependentDataInternal(unsigned long) const basegfx::B2DPolygon::hasDoublePoints() const basegfx::B2DPolygon::makeUnique() basegfx::B2DRange::getUnitB2DRange() diff --git a/include/basegfx/polygon/b2dpolygon.hxx b/include/basegfx/polygon/b2dpolygon.hxx index 8c05bb67d73b..f5b6b82f6fac 100644 --- a/include/basegfx/polygon/b2dpolygon.hxx +++ b/include/basegfx/polygon/b2dpolygon.hxx @@ -234,7 +234,7 @@ namespace basegfx template std::shared_ptr getSystemDependentData(basegfx::SDD_Type aType) const { - return std::static_pointer_cast(getSystemDependantDataInternal(aType)); + return std::static_pointer_cast(getSystemDependentDataInternal(aType)); } template @@ -254,7 +254,7 @@ namespace basegfx private: void addOrReplaceSystemDependentDataInternal(SystemDependentData_SharedPtr& rData) const; - SystemDependentData_SharedPtr getSystemDependantDataInternal(basegfx::SDD_Type aType) const; + SystemDependentData_SharedPtr getSystemDependentDataInternal(basegfx::SDD_Type aType) const; const basegfx::B2DVector& getPrevControlVector(sal_uInt32 nIndex) const; const basegfx::B2DVector& getNextControlVector(sal_uInt32 nIndex) const; }; diff --git a/include/basegfx/polygon/b2dpolypolygon.hxx b/include/basegfx/polygon/b2dpolypolygon.hxx index eb7b4d0f7444..d6106671edd5 100644 --- a/include/basegfx/polygon/b2dpolypolygon.hxx +++ b/include/basegfx/polygon/b2dpolypolygon.hxx @@ -132,7 +132,7 @@ namespace basegfx template std::shared_ptr getSystemDependentData(basegfx::SDD_Type aType) const { - return std::static_pointer_cast(getSystemDependantDataInternal(aType)); + return std::static_pointer_cast(getSystemDependentDataInternal(aType)); } template @@ -152,7 +152,7 @@ namespace basegfx private: void addOrReplaceSystemDependentDataInternal(SystemDependentData_SharedPtr& rData) const; - SystemDependentData_SharedPtr getSystemDependantDataInternal(basegfx::SDD_Type aType) const; + SystemDependentData_SharedPtr getSystemDependentDataInternal(basegfx::SDD_Type aType) const; }; // typedef for a vector of B2DPolyPolygons