summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-09-17 12:07:41 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-09-26 16:38:26 +0200
commitfaa2f029c16b8f25e88b054f22f69ef474fa289d (patch)
tree8f8ad2fef10fe59abc86ed91e0943324dc422c3d
parent7f16835c10435ddafdfe05921eac9b89e488ab8e (diff)
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@yahoo.fr>
-rw-r--r--reportdesign/source/ui/inc/DesignView.hxx2
-rw-r--r--reportdesign/source/ui/report/DesignView.cxx8
2 files changed, 5 insertions, 5 deletions
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();