diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-02 11:47:52 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-03 09:47:55 +0200 |
commit | f7613d2132e8115b7741e9397b111508f24615cc (patch) | |
tree | 8fdd0b068ea8579a36156618bbc33d2995345ecc /svx/source/fmcomp/gridctrl.cxx | |
parent | 3b28713ef82829fd1958d1ecf8c29b7391af78f5 (diff) |
Fix typos
Change-Id: Iaf2691b60796300f6c3acf56f60dcc526685eeb9
Reviewed-on: https://gerrit.libreoffice.org/76855
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svx/source/fmcomp/gridctrl.cxx')
-rw-r--r-- | svx/source/fmcomp/gridctrl.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 202efac174f4..d30818511578 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -1224,7 +1224,7 @@ namespace _rMode &= ~BrowserMode( BrowserMode::NO_HSCROLL | BrowserMode::NO_VSCROLL ); } - // note: if we have a navigation bar, we always have a AUTO_HSCROLL. In particular, + // note: if we have a navigation bar, we always have an AUTO_HSCROLL. In particular, // _bHideScrollbars is ignored then if ( _bNavigationBar ) { @@ -1418,7 +1418,7 @@ void DbGridControl::setDataSource(const Reference< XRowSet >& _xCursor, DbGridCo // is the new cursor valid ? // the cursor is only valid if it contains some columns - // if there is no cursor or the cursor is not valid we have to clean up an leave + // if there is no cursor or the cursor is not valid we have to clean up and leave if (!_xCursor.is() || !Reference< XColumnsSupplier > (_xCursor, UNO_QUERY_THROW)->getColumns()->hasElements()) { RemoveRows(); @@ -1482,7 +1482,7 @@ void DbGridControl::setDataSource(const Reference< XRowSet >& _xCursor, DbGridCo // (Normally one class would be sufficient : the multiplexer which could forward the property change to us. // But for that we would have been derived from ::comphelper::OPropertyChangeListener, which isn't exported. // So we introduce a second class, which is a ::comphelper::OPropertyChangeListener (in the implementation file we know this class) - // and forwards the property changes to a our special method "DataSourcePropertyChanged".) + // and forwards the property changes to our special method "DataSourcePropertyChanged".) if (m_pDataCursor) { m_pDataSourcePropListener = new FmXGridSourcePropListener(this); @@ -2287,7 +2287,7 @@ sal_Int32 DbGridControl::AlignSeekCursor() // somewhere) -> retry m_pSeekCursor->moveToBookmark(m_pDataCursor->getBookmark()); // Now there is still the chance of a failure but it is less likely. - // The alternative would be an loop until everything is fine - no good solution... + // The alternative would be a loop until everything is fine - no good solution... m_nSeekPos = m_pSeekCursor->getRow() - 1; } } @@ -2714,7 +2714,7 @@ void DbGridControl::DataSourcePropertyChanged(const PropertyChangeEvent& evt) sal_Int32 nRecordCount = 0; xSource->getPropertyValue(FM_PROP_ROWCOUNT) >>= nRecordCount; if (::comphelper::getBOOL(evt.NewValue)) - { // modified state changed from sal_False to sal_True and we're on a insert row + { // modified state changed from sal_False to sal_True and we're on an insert row // -> we've to add a new grid row if ((nRecordCount == GetRowCount() - 1) && m_xCurrentRow->IsNew()) { @@ -2724,7 +2724,7 @@ void DbGridControl::DataSourcePropertyChanged(const PropertyChangeEvent& evt) } } else - { // modified state changed from sal_True to sal_False and we're on a insert row + { // modified state changed from sal_True to sal_False and we're on an insert row // we have two "new row"s at the moment : the one we're editing currently (where the current // column is the only dirty element) and a "new new" row which is completely clean. As the first // one is about to be cleaned, too, the second one is obsolete now. @@ -3007,7 +3007,7 @@ void DbGridControl::Undo() // remove the row if (m_nCurrentPos == GetRowCount() - 2) { // maybe we already removed it (in resetCurrentRow, called if the above moveToInsertRow - // caused our data source form to be reset - which should be the usual case ....) + // caused our data source form to be reset - which should be the usual case...) RowRemoved(GetRowCount() - 1); m_aBar->InvalidateAll(m_nCurrentPos); } |