dbaccess/source/ui/inc/QueryDesignView.hxx | 2 +- dbaccess/source/ui/inc/QueryViewSwitch.hxx | 2 +- dbaccess/source/ui/inc/querycontainerwindow.hxx | 2 +- dbaccess/source/ui/querydesign/QueryDesignView.cxx | 6 +++--- dbaccess/source/ui/querydesign/QueryViewSwitch.cxx | 4 ++-- dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 2 +- dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx | 2 +- dbaccess/source/ui/querydesign/querycontroller.cxx | 2 +- reportdesign/source/ui/report/ReportController.cxx | 6 +++--- 9 files changed, 14 insertions(+), 14 deletions(-)
New commits: commit 578dc3477011e4bdcaf703533c1def9d55000de4 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Mon Aug 31 16:58:58 2020 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Tue Sep 1 10:34:18 2020 +0200 Fix typo in code It passed "make check" on Linux Change-Id: I3482e32e3ce4a7ebfa04f9d54e2ab23c164f50c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101808 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/dbaccess/source/ui/inc/QueryDesignView.hxx b/dbaccess/source/ui/inc/QueryDesignView.hxx index 4f057178669c..abdaed8912f4 100644 --- a/dbaccess/source/ui/inc/QueryDesignView.hxx +++ b/dbaccess/source/ui/inc/QueryDesignView.hxx @@ -100,7 +100,7 @@ namespace dbaui bool isSlotEnabled(sal_Int32 _nSlotId); void setSlotEnabled(sal_Int32 _nSlotId, bool _bEnable); - void setNoneVisbleRow(sal_Int32 _nRows); + void setNoneVisibleRow(sal_Int32 _nRows); const css::lang::Locale& getLocale() const { return m_aLocale;} const OUString& getDecimalSeparator() const { return m_sDecimalSep;} diff --git a/dbaccess/source/ui/inc/QueryViewSwitch.hxx b/dbaccess/source/ui/inc/QueryViewSwitch.hxx index 879c29b01d42..70ff371a8a64 100644 --- a/dbaccess/source/ui/inc/QueryViewSwitch.hxx +++ b/dbaccess/source/ui/inc/QueryViewSwitch.hxx @@ -72,7 +72,7 @@ namespace dbaui void forceInitialView(); bool isSlotEnabled(sal_Int32 _nSlotId); void setSlotEnabled(sal_Int32 _nSlotId, bool _bEnable); - void setNoneVisbleRow(sal_Int32 _nRows); + void setNoneVisibleRow(sal_Int32 _nRows); void SaveUIConfig(); void reset(); void GrabFocus(); diff --git a/dbaccess/source/ui/inc/querycontainerwindow.hxx b/dbaccess/source/ui/inc/querycontainerwindow.hxx index 607a38c82920..cb44f025bba2 100644 --- a/dbaccess/source/ui/inc/querycontainerwindow.hxx +++ b/dbaccess/source/ui/inc/querycontainerwindow.hxx @@ -76,7 +76,7 @@ namespace dbaui void clear() { m_pViewSwitch->clear(); } bool isSlotEnabled( sal_Int32 _nSlotId ) { return m_pViewSwitch->isSlotEnabled( _nSlotId ); } void setSlotEnabled( sal_Int32 _nSlotId, bool _bEnable ) { m_pViewSwitch->setSlotEnabled( _nSlotId, _bEnable ); } - void setNoneVisbleRow(sal_Int32 _nRows) { m_pViewSwitch->setNoneVisbleRow( _nRows); } + void setNoneVisibleRow(sal_Int32 _nRows) { m_pViewSwitch->setNoneVisibleRow( _nRows); } bool checkStatement() { return m_pViewSwitch->checkStatement( ); } OUString getStatement() { return m_pViewSwitch->getStatement( ); } diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index f605e8fb58d4..487d6bce42ce 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -2427,7 +2427,7 @@ OQueryDesignView::OQueryDesignView( OQueryContainerWindow* _pParent, m_pSelectionBox = VclPtr<OSelectionBrowseBox>::Create(this); - setNoneVisbleRow(static_cast<OQueryController&>(getController()).getVisibleRows()); + setNoneVisibleRow(static_cast<OQueryController&>(getController()).getVisibleRows()); m_pSelectionBox->Show(); // setup Splitter m_aSplitter->SetSplitHdl(LINK(this, OQueryDesignView,SplitHdl)); @@ -3009,9 +3009,9 @@ void OQueryDesignView::reset() m_pTableView->ReSync(); } -void OQueryDesignView::setNoneVisbleRow(sal_Int32 _nRows) +void OQueryDesignView::setNoneVisibleRow(sal_Int32 _nRows) { - m_pSelectionBox->SetNoneVisbleRow(_nRows); + m_pSelectionBox->SetNoneVisibleRow(_nRows); } void OQueryDesignView::initByFieldDescriptions( const Sequence< PropertyValue >& i_rFieldDescriptions ) diff --git a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx index 626a1f346e44..fec372e29038 100644 --- a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx +++ b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx @@ -284,10 +284,10 @@ void OQueryViewSwitch::reset() switchView( nullptr ); } -void OQueryViewSwitch::setNoneVisbleRow(sal_Int32 _nRows) +void OQueryViewSwitch::setNoneVisibleRow(sal_Int32 _nRows) { if(m_pDesignView) - m_pDesignView->setNoneVisbleRow(_nRows); + m_pDesignView->setNoneVisibleRow(_nRows); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index 318fbb8ee8d2..d8415b6c2b94 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -2086,7 +2086,7 @@ sal_Int32 OSelectionBrowseBox::GetNoneVisibleRows() const return nErg; } -void OSelectionBrowseBox::SetNoneVisbleRow(long nRows) +void OSelectionBrowseBox::SetNoneVisibleRow(long nRows) { // only the first 11 rows are interesting sal_Int32 const nSize = SAL_N_ELEMENTS(nVisibleRowMask); diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx index 325554b6f0bc..80208c689ec9 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx @@ -112,7 +112,7 @@ namespace dbaui void SetCellContents(sal_Int32 nCellIndex, sal_uInt16 nColId, const OUString& strNewText); // cell content (formatted as string) set/return sal_Int32 GetNoneVisibleRows() const; - void SetNoneVisbleRow(long nRows); + void SetNoneVisibleRow(long nRows); bool IsRowVisible(sal_uInt16 _nWhich) const; void SetRowVisible(sal_uInt16 _nWhich, bool _bVis); diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index 17c8f1933354..31c67a71f124 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -1711,7 +1711,7 @@ void OQueryController::impl_reset( const bool i_bForceCurrentControllerSettings setQueryComposer(); OSL_ENSURE(m_pSqlIterator,"No SQLIterator set!"); - getContainer()->setNoneVisbleRow(m_nVisibleRows); + getContainer()->setNoneVisibleRow(m_nVisibleRows); } void OQueryController::reset() diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index c23bac87250a..9ada654efac8 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -2225,7 +2225,7 @@ void SAL_CALL OReportController::disposing( const lang::EventObject& Source ) } -static sal_uInt16 lcl_getNonVisbleGroupsBefore( const uno::Reference< report::XGroups>& _xGroups +static sal_uInt16 lcl_getNonVisibleGroupsBefore( const uno::Reference< report::XGroups>& _xGroups ,sal_Int32 _nGroupPos ,::std::function<bool(OGroupHelper *)> const & _pGroupMemberFunction) { @@ -2253,7 +2253,7 @@ void OReportController::groupChange( const uno::Reference< report::XGroup>& _xGr if ( _sPropName == PROPERTY_HEADERON ) { nPosition = m_xReportDefinition->getPageHeaderOn() ? (m_xReportDefinition->getReportHeaderOn() ? 2 : 1) : (m_xReportDefinition->getReportHeaderOn() ? 1 : 0); - nPosition += (static_cast<sal_uInt16>(_nGroupPos) - lcl_getNonVisbleGroupsBefore(m_xReportDefinition->getGroups(),_nGroupPos,pMemFun)); + nPosition += (static_cast<sal_uInt16>(_nGroupPos) - lcl_getNonVisibleGroupsBefore(m_xReportDefinition->getGroups(),_nGroupPos,pMemFun)); bHandle = true; } else if ( _sPropName == PROPERTY_FOOTERON ) @@ -2267,7 +2267,7 @@ void OReportController::groupChange( const uno::Reference< report::XGroup>& _xGr if ( m_xReportDefinition->getReportFooterOn() ) --nPosition; sColor = DBGROUPFOOTER; - nPosition -= (static_cast<sal_uInt16>(_nGroupPos) - lcl_getNonVisbleGroupsBefore(m_xReportDefinition->getGroups(),_nGroupPos,pMemFun)); + nPosition -= (static_cast<sal_uInt16>(_nGroupPos) - lcl_getNonVisibleGroupsBefore(m_xReportDefinition->getGroups(),_nGroupPos,pMemFun)); if ( !_bShow ) --nPosition; bHandle = true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits