summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-04-20 19:40:09 +0200
committerJulien Nabet <serval2412@yahoo.fr>2022-04-22 13:43:53 +0200
commit7a81b803101f24975877d371c9b53dede9dbaf46 (patch)
treecdc08452f37a11fc4528fe026cb9d3683e4986cd
parent2b0579fbcc064dbcaf9217feead7ef23ec7a5222 (diff)
Fix typo in code
Change-Id: I289162ed8adf93139bbc69e8f5f4a1444dd52199 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133231 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--include/svx/svdogrp.hxx4
-rw-r--r--oox/source/drawingml/diagram/diagramhelper.cxx2
-rw-r--r--svx/source/svdraw/svdogrp.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/svdogrp.hxx b/include/svx/svdogrp.hxx
index 26d6ddbd4e01..5aab501ec9e4 100644
--- a/include/svx/svdogrp.hxx
+++ b/include/svx/svdogrp.hxx
@@ -56,7 +56,7 @@ private:
// If true and mxThemeDocument exists it will be re-imported to
// a newly created oox::drawingml::Theme object
- bool mbForceThemePtrReceation; // false
+ bool mbForceThemePtrRecreation; // false
protected:
void anchorToSdrObjGroup(SdrObjGroup& rTarget);
@@ -83,7 +83,7 @@ public:
bool UseDiagramThemeData() const { return mbUseDiagramThemeData; }
bool UseDiagramModelData() const { return mbUseDiagramModelData; }
- bool ForceThemePtrReceation() const { return mbForceThemePtrReceation; };
+ bool ForceThemePtrRecreation() const { return mbForceThemePtrRecreation; };
};
// SdrObjGroup
diff --git a/oox/source/drawingml/diagram/diagramhelper.cxx b/oox/source/drawingml/diagram/diagramhelper.cxx
index 2ee9e64f2535..0164ce0845d3 100644
--- a/oox/source/drawingml/diagram/diagramhelper.cxx
+++ b/oox/source/drawingml/diagram/diagramhelper.cxx
@@ -220,7 +220,7 @@ std::shared_ptr< ::oox::drawingml::Theme > AdvancedDiagramHelper::getOrCreateThe
{
// (Re-)Use already existing Theme if existing/imported if possible.
// If not, re-import Theme if data is available and thus possible
- if(hasDiagramData() && (ForceThemePtrReceation() || !mpThemePtr))
+ if(hasDiagramData() && (ForceThemePtrRecreation() || !mpThemePtr))
{
// get the originally imported dom::XDocument
const uno::Reference< css::xml::dom::XDocument >& xThemeDocument(mpDiagramPtr->getData()->getThemeDocument());
diff --git a/svx/source/svdraw/svdogrp.cxx b/svx/source/svdraw/svdogrp.cxx
index b1ad4b729e7e..f7fb1eb14f79 100644
--- a/svx/source/svdraw/svdogrp.cxx
+++ b/svx/source/svdraw/svdogrp.cxx
@@ -37,7 +37,7 @@
IDiagramHelper::IDiagramHelper()
: mbUseDiagramThemeData(false)
, mbUseDiagramModelData(true)
-, mbForceThemePtrReceation(false)
+, mbForceThemePtrRecreation(false)
{
}