diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-05 11:16:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:16 +0200 |
commit | 5e456cc3b30f2e099429f7075eda23e86871621e (patch) | |
tree | 97d50b238356b6e5187b505415fe844acae68326 /svx/source/fmcomp/fmgridcl.cxx | |
parent | 11bb658a60777243483fe8e682ca46e88855690a (diff) |
svx: sal_Bool->bool
Change-Id: I061f1e15c816f8077c0fbb0abbc1474eb286796b
Diffstat (limited to 'svx/source/fmcomp/fmgridcl.cxx')
-rw-r--r-- | svx/source/fmcomp/fmgridcl.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 61cdb3be6a3a..b425b7b70b1a 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -1045,7 +1045,7 @@ void FmGridControl::propertyChange(const ::com::sun::star::beans::PropertyChange if (evt.PropertyName == FM_PROP_ROWCOUNT) { // if we're not in the main thread call AdjustRows asynchronously - implAdjustInSolarThread(sal_True); + implAdjustInSolarThread(true); return; } @@ -1169,7 +1169,7 @@ void FmGridControl::DeleteSelectedRows() OSL_FAIL("Exception caught while deleting rows!"); } // An den DatenCursor anpassen - AdjustDataSource(sal_True); + AdjustDataSource(true); EndCursorAction(); SetUpdateMode(sal_True); } @@ -1201,7 +1201,7 @@ void FmGridControl::DeleteSelectedRows() // there is a next row to position on if (SeekCursor(nIdx)) { - GetSeekRow()->SetState(m_pSeekCursor, sal_True); + GetSeekRow()->SetState(m_pSeekCursor, true); bNewPos = sal_True; // if it's not the row for inserting we keep the bookmark @@ -1215,7 +1215,7 @@ void FmGridControl::DeleteSelectedRows() nIdx = FirstSelectedRow() - 1; if (nIdx >= 0 && SeekCursor(nIdx)) { - GetSeekRow()->SetState(m_pSeekCursor, sal_True); + GetSeekRow()->SetState(m_pSeekCursor, true); bNewPos = sal_True; aBookmark = m_pSeekCursor->getBookmark(); @@ -1318,7 +1318,7 @@ void FmGridControl::DeleteSelectedRows() } // An den DatenCursor anpassen - AdjustDataSource(sal_True); + AdjustDataSource(true); // es konnten nicht alle Zeilen geloescht werden // da nie nicht geloeschten wieder selektieren @@ -1382,7 +1382,7 @@ void FmGridControl::positioned(const ::com::sun::star::lang::EventObject& /*rEve { SAL_INFO("svx.fmcmop", "FmGridControl::positioned"); // position on the data source (force it to be done in the main thread) - implAdjustInSolarThread(sal_False); + implAdjustInSolarThread(false); } sal_Bool FmGridControl::commit() @@ -1407,8 +1407,8 @@ void FmGridControl::inserted(const ::com::sun::star::lang::EventObject& /*rEvent return; // Zeile ist eingefuegt worden, dann den status und mode zuruecksetzen - xRow->SetState(m_pDataCursor, sal_False); - xRow->SetNew(sal_False); + xRow->SetState(m_pDataCursor, false); + xRow->SetNew(false); } @@ -1832,7 +1832,7 @@ Sequence< Any> FmGridControl::getSelectionBookmarks() // Zunaechst den DatenCursor auf den selektierten Satz pos. if (SeekCursor(nIdx)) { - GetSeekRow()->SetState(m_pSeekCursor, sal_True); + GetSeekRow()->SetState(m_pSeekCursor, true); pBookmarks[i] = m_pSeekCursor->getBookmark(); } |