summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-31 16:58:58 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-01 10:34:18 +0200
commit578dc3477011e4bdcaf703533c1def9d55000de4 (patch)
treead7c181a072f02e8668b5f70b1963b03190be65d /dbaccess/source
parent262ab496955582341e1f383c6eff9a0bb37dd9d7 (diff)
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 <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/inc/QueryDesignView.hxx2
-rw-r--r--dbaccess/source/ui/inc/QueryViewSwitch.hxx2
-rw-r--r--dbaccess/source/ui/inc/querycontainerwindow.hxx2
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignView.cxx6
-rw-r--r--dbaccess/source/ui/querydesign/QueryViewSwitch.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx2
-rw-r--r--dbaccess/source/ui/querydesign/querycontroller.cxx2
8 files changed, 11 insertions, 11 deletions
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()