[Libreoffice-commits] core.git: xmloff/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 27 20:01:29 UTC 2020


 xmloff/source/chart/SchXMLAxisContext.cxx |    6 +++---
 xmloff/source/text/txtfldi.cxx            |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 89c2cd2fad6447b2d5b248147b2388db1cc9392e
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Aug 27 13:17:10 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Aug 27 22:00:41 2020 +0200

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

diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx
index 1599550d3a50..ebd512a6bca7 100644
--- a/xmloff/source/chart/SchXMLAxisContext.cxx
+++ b/xmloff/source/chart/SchXMLAxisContext.cxx
@@ -414,16 +414,16 @@ void SchXMLAxisContext::CreateAxis()
     }
     if( m_aCurrentAxis.eDimension==SCH_XML_AXIS_Z )
     {
-        bool bSettingZAxisSuccedded = false;
+        bool bSettingZAxisSucceeded = false;
         try
         {
-            xDiaProp->getPropertyValue( aPropName ) >>= bSettingZAxisSuccedded;
+            xDiaProp->getPropertyValue( aPropName ) >>= bSettingZAxisSucceeded;
         }
         catch( beans::UnknownPropertyException & )
         {
             SAL_INFO("xmloff.chart", "Couldn't turn on z axis" );
         }
-        if( !bSettingZAxisSuccedded )
+        if( !bSettingZAxisSucceeded )
             return;
     }
 
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index 917c061eb626..d975ef082632 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -1145,13 +1145,13 @@ const OUStringLiteral gsPropertyIsVisible("IsVisible");
 XMLDatabaseFieldImportContext::XMLDatabaseFieldImportContext(
     SvXMLImport& rImport, XMLTextImportHelper& rHlp,
     const char* pServiceName, sal_uInt16 nPrfx,
-    const OUString& sLocalName, bool bUseDisply)
+    const OUString& sLocalName, bool bUseDisplay)
 :   XMLTextFieldImportContext(rImport, rHlp, pServiceName, nPrfx, sLocalName)
 ,   m_nCommandType( sdb::CommandType::TABLE )
 ,   m_bCommandTypeOK(false)
 ,   m_bDisplay( true )
 ,   m_bDisplayOK( false )
-,   m_bUseDisplay( bUseDisply )
+,   m_bUseDisplay( bUseDisplay )
 ,   m_bDatabaseOK(false)
 ,   m_bDatabaseNameOK(false)
 ,   m_bDatabaseURLOK(false)


More information about the Libreoffice-commits mailing list