[Libreoffice-commits] core.git: chart2/source include/sfx2 svx/source sw/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 1 15:00:08 UTC 2020


 chart2/source/tools/AxisHelper.cxx           |    8 ++++----
 chart2/source/view/main/VButton.cxx          |   10 +++++-----
 include/sfx2/shell.hxx                       |    2 +-
 svx/source/form/fmshell.cxx                  |    4 ++--
 sw/source/filter/ww8/docxattributeoutput.hxx |    2 +-
 5 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit 9146658c0108120c91ce6f759e37b9fa64e47660
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 31 16:15:17 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Sep 1 16:59:29 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I8336c2a639a1d45c8370fd13204896f3f1494b4f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101801
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx
index 735f00a430c7..a68fbc8dfa5e 100644
--- a/chart2/source/tools/AxisHelper.cxx
+++ b/chart2/source/tools/AxisHelper.cxx
@@ -689,14 +689,14 @@ bool AxisHelper::areAxisLabelsVisible( const Reference< beans::XPropertySet >& x
     return bRet;
 }
 
-bool AxisHelper::isGridVisible( const Reference< beans::XPropertySet >& xGridProperies )
+bool AxisHelper::isGridVisible( const Reference< beans::XPropertySet >& xGridproperties )
 {
     bool bRet = false;
 
-    if( xGridProperies.is() )
+    if( xGridproperties.is() )
     {
-        xGridProperies->getPropertyValue( "Show" ) >>= bRet;
-        bRet = bRet && LinePropertiesHelper::IsLineVisible( xGridProperies );
+        xGridproperties->getPropertyValue( "Show" ) >>= bRet;
+        bRet = bRet && LinePropertiesHelper::IsLineVisible( xGridproperties );
     }
 
     return bRet;
diff --git a/chart2/source/view/main/VButton.cxx b/chart2/source/view/main/VButton.cxx
index 088df5850416..5e609348b914 100644
--- a/chart2/source/view/main/VButton.cxx
+++ b/chart2/source/view/main/VButton.cxx
@@ -51,7 +51,7 @@ uno::Reference<drawing::XShape> VButton::createTriangle(awt::Size aSize)
     if (!xShape.is())
         return xShape;
 
-    uno::Reference<beans::XPropertySet> xProperies(xShape, uno::UNO_QUERY);
+    uno::Reference<beans::XPropertySet> xproperties(xShape, uno::UNO_QUERY);
 
     drawing::PolyPolygonShape3D aPolyPolygon;
     aPolyPolygon.SequenceX.realloc(1);
@@ -82,10 +82,10 @@ uno::Reference<drawing::XShape> VButton::createTriangle(awt::Size aSize)
     pInnerSequenceY[2] = 0.0;
     pInnerSequenceZ[2] = 0.0;
 
-    xProperies->setPropertyValue("Name", uno::makeAny(m_sCID));
-    xProperies->setPropertyValue(UNO_NAME_POLYPOLYGON, uno::Any(PolyToPointSequence(aPolyPolygon)));
-    xProperies->setPropertyValue("LineStyle", uno::makeAny(drawing::LineStyle_NONE));
-    xProperies->setPropertyValue("FillColor", uno::makeAny(m_nArrowColor));
+    xproperties->setPropertyValue("Name", uno::makeAny(m_sCID));
+    xproperties->setPropertyValue(UNO_NAME_POLYPOLYGON, uno::Any(PolyToPointSequence(aPolyPolygon)));
+    xproperties->setPropertyValue("LineStyle", uno::makeAny(drawing::LineStyle_NONE));
+    xproperties->setPropertyValue("FillColor", uno::makeAny(m_nArrowColor));
 
     return xShape;
 }
diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx
index 36374f3841ac..5b6edb8a0d48 100644
--- a/include/sfx2/shell.hxx
+++ b/include/sfx2/shell.hxx
@@ -79,7 +79,7 @@ enum class SfxShellFeature
     // Forms only, class FmFormShell
     FormShowDatabaseBar     = 0x0008,
     FormShowField           = 0x0010,
-    FormShowProperies       = 0x0020,
+    FormShowproperties      = 0x0020,
     FormShowExplorer        = 0x0040,
     FormShowFilterBar       = 0x0080,
     FormShowFilterNavigator = 0x0100,
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index 31170e1ec6d6..14f5fb4577c9 100644
--- a/svx/source/form/fmshell.cxx
+++ b/svx/source/form/fmshell.cxx
@@ -146,7 +146,7 @@ void FmFormShell::InitInterface_Impl()
                                             SfxShellFeature::FormShowTextControlBar);
 
     GetStaticInterface()->RegisterChildWindow(SID_FM_ADD_FIELD, false, SfxShellFeature::FormShowField);
-    GetStaticInterface()->RegisterChildWindow(SID_FM_SHOW_PROPERTIES, false, SfxShellFeature::FormShowProperies);
+    GetStaticInterface()->RegisterChildWindow(SID_FM_SHOW_PROPERTIES, false, SfxShellFeature::FormShowproperties);
     GetStaticInterface()->RegisterChildWindow(SID_FM_SHOW_FMEXPLORER, false, SfxShellFeature::FormShowExplorer);
     GetStaticInterface()->RegisterChildWindow(SID_FM_FILTER_NAVIGATOR, false, SfxShellFeature::FormShowFilterNavigator);
     GetStaticInterface()->RegisterChildWindow(SID_FM_SHOW_DATANAVIGATOR, false, SfxShellFeature::FormShowDataNavigator);
@@ -292,7 +292,7 @@ bool FmFormShell::HasUIFeature(SfxShellFeature nFeature) const
     {
         bResult = m_bDesignMode && m_pFormView && m_bHasForms;
     }
-    else if (nFeature & SfxShellFeature::FormShowProperies)
+    else if (nFeature & SfxShellFeature::FormShowproperties)
     {
         bResult = m_bDesignMode && m_pFormView && m_bHasForms;
     }
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx
index 471992eed57f..e37819f83d8e 100644
--- a/sw/source/filter/ww8/docxattributeoutput.hxx
+++ b/sw/source/filter/ww8/docxattributeoutput.hxx
@@ -392,7 +392,7 @@ private:
 
     /// Output what we collected during the run properties output.
     ///
-    /// @see InitCollectedRunProperies(), WriteCollectedParagraphProperties()
+    /// @see InitCollectedRunproperties(), WriteCollectedParagraphProperties()
     void WriteCollectedRunProperties();
 
     /// Output graphic fly frames or replacement graphics for OLE nodes.


More information about the Libreoffice-commits mailing list