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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Sep 26 14:38:48 UTC 2018


 reportdesign/source/ui/inc/DesignView.hxx    |    2 +-
 reportdesign/source/ui/report/DesignView.cxx |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit faa2f029c16b8f25e88b054f22f69ef474fa289d
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Sep 17 12:07:41 2018 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Sep 26 16:38:26 2018 +0200

    Fix _bToogleOn -> _bToggleOn
    
    It passed "make check" on Linux
    
    Change-Id: I2b26805bc3be7c8cb9ee8cd85fd8fcb35dd4fc58
    Reviewed-on: https://gerrit.libreoffice.org/60632
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/reportdesign/source/ui/inc/DesignView.hxx b/reportdesign/source/ui/inc/DesignView.hxx
index 07e01d0d2b79..fe9f7b20554e 100644
--- a/reportdesign/source/ui/inc/DesignView.hxx
+++ b/reportdesign/source/ui/inc/DesignView.hxx
@@ -172,7 +172,7 @@ namespace rptui
         */
         void            toggleGrid(bool _bGridVisible);
 
-        void            togglePropertyBrowser(bool _bToogleOn);
+        void            togglePropertyBrowser(bool _bToggleOn);
 
         bool            isAddFieldVisible() const;
         void            toggleAddField();
diff --git a/reportdesign/source/ui/report/DesignView.cxx b/reportdesign/source/ui/report/DesignView.cxx
index 3c506a98a07d..be9bc4c63b52 100644
--- a/reportdesign/source/ui/report/DesignView.cxx
+++ b/reportdesign/source/ui/report/DesignView.cxx
@@ -418,21 +418,21 @@ void ODesignView::unmarkAllObjects()
     m_aScrollWindow->unmarkAllObjects();
 }
 
-void ODesignView::togglePropertyBrowser(bool _bToogleOn)
+void ODesignView::togglePropertyBrowser(bool _bToggleOn)
 {
-    if ( !m_pPropWin && _bToogleOn )
+    if ( !m_pPropWin && _bToggleOn )
     {
         m_pPropWin = VclPtr<PropBrw>::Create(getController().getORB(), m_pTaskPane,this);
         m_pPropWin->Invalidate();
         static_cast<OTaskWindow*>(m_pTaskPane.get())->setPropertyBrowser(m_pPropWin);
         notifySystemWindow(this,m_pPropWin,::comphelper::mem_fun(&TaskPaneList::AddWindow));
     }
-    if ( m_pPropWin && _bToogleOn != m_pPropWin->IsVisible() )
+    if ( m_pPropWin && _bToggleOn != m_pPropWin->IsVisible() )
     {
         if ( !m_pCurrentView && !m_xReportComponent.is() )
             m_xReportComponent = getController().getReportDefinition();
 
-        const bool bWillBeVisible = _bToogleOn;
+        const bool bWillBeVisible = _bToggleOn;
         m_pPropWin->Show(bWillBeVisible);
         m_pTaskPane->Show(bWillBeVisible);
         m_pTaskPane->Invalidate();


More information about the Libreoffice-commits mailing list