diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-02-24 01:53:13 +1100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-28 03:19:47 -0600 |
commit | 381f8a5673b70e31fda2739da25f3863895ae665 (patch) | |
tree | d9366671e0e2794164ef6cbffbf3e53242139efb /svtools | |
parent | cd56e54df1df9c9e1a455f81bd86457f1d832604 (diff) |
sal_Bool -> bool in mostly vcl module
Conflicts:
include/vcl/settings.hxx
svtools/source/table/tablecontrol_impl.cxx
sw/source/core/frmedt/fecopy.cxx
vcl/inc/canvasbitmap.hxx
vcl/inc/headless/svpframe.hxx
vcl/inc/unx/salframe.h
vcl/inc/win/salframe.h
vcl/inc/win/salprn.h
vcl/inc/win/salvd.h
vcl/osx/DragSource.cxx
vcl/osx/DragSource.hxx
vcl/osx/DropTarget.cxx
vcl/osx/DropTarget.hxx
vcl/osx/OSXTransferable.cxx
vcl/osx/OSXTransferable.hxx
vcl/osx/clipboard.cxx
vcl/osx/clipboard.hxx
vcl/osx/salprn.cxx
vcl/qa/cppunit/canvasbitmaptest.cxx
vcl/source/components/fontident.cxx
vcl/source/control/edit.cxx
vcl/source/control/spinfld.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/virdev.cxx
vcl/source/helper/canvasbitmap.cxx
vcl/source/window/dockwin.cxx
vcl/unx/generic/dtrans/X11_selection.hxx
vcl/unx/kde/UnxFilePicker.cxx
vcl/unx/kde/UnxFilePicker.hxx
vcl/unx/kde4/KDE4FilePicker.cxx
vcl/unx/kde4/KDE4FilePicker.hxx
vcl/unx/kde4/KDESalFrame.hxx
Change-Id: I9866d985da86dea2a56feff23f91c1467a1636b0
Reviewed-on: https://gerrit.libreoffice.org/8219
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/svimpbox.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/calendar.cxx | 2 | ||||
-rw-r--r-- | svtools/source/inc/svimpbox.hxx | 2 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol_impl.cxx | 10 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol_impl.hxx | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index ae82da14eb10..dac2f9866ece 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -2656,7 +2656,7 @@ void ImpLBSelEng::DestroyAnchor() pImp->pAnchor = 0; } -bool ImpLBSelEng::SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelectAtCursor) +bool ImpLBSelEng::SetCursorAtPoint(const Point& rPoint, bool bDontSelectAtCursor) { SvTreeListEntry* pNewCursor = pImp->MakePointVisible( rPoint ); if( pNewCursor != pImp->pCursor ) diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx index 793a02a0e7d2..1a1d7bfb5c4c 100644 --- a/svtools/source/control/calendar.cxx +++ b/svtools/source/control/calendar.cxx @@ -2485,7 +2485,7 @@ void CalendarField::Select() -bool CalendarField::ShowDropDown( sal_Bool bShow ) +bool CalendarField::ShowDropDown( bool bShow ) { if ( bShow ) { diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx index 3a407d3d0e38..23ea2afad716 100644 --- a/svtools/source/inc/svimpbox.hxx +++ b/svtools/source/inc/svimpbox.hxx @@ -57,7 +57,7 @@ public: void CreateAnchor(); void DestroyAnchor(); bool SetCursorAtPoint( const Point& rPoint, - sal_Bool bDontSelectAtCursor=sal_False ); + bool bDontSelectAtCursor=false ); bool IsSelectionAtPoint( const Point& rPoint ); void DeselectAtPoint( const Point& rPoint ); void DeselectAll(); diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx index 6f143006f4d6..3b6af6348816 100644 --- a/svtools/source/table/tablecontrol_impl.cxx +++ b/svtools/source/table/tablecontrol_impl.cxx @@ -2780,9 +2780,9 @@ namespace svt { namespace table } - bool TableFunctionSet::SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelectAtCursor) + bool TableFunctionSet::SetCursorAtPoint(const Point& rPoint, bool bDontSelectAtCursor) { - sal_Bool bHandled = sal_False; + bool bHandled = false; // newRow is the row which includes the point, getCurRow() is the last selected row, before the mouse click RowPos newRow = m_pTableControl->getRowAtPoint( rPoint ); if ( newRow == ROW_COL_HEADERS ) @@ -2799,7 +2799,7 @@ namespace svt { namespace table { if ( m_pTableControl->getSelectedRowCount() > 1 ) m_pTableControl->getSelEngine()->AddAlways(true); - bHandled = sal_True; + bHandled = true; } else if ( m_pTableControl->getAnchor() == m_pTableControl->getCurRow() ) { @@ -2829,7 +2829,7 @@ namespace svt { namespace table m_pTableControl->setAnchor( m_pTableControl->getAnchor() - 1 ); } m_pTableControl->invalidateSelectedRegion( m_pTableControl->getCurRow(), newRow ); - bHandled = sal_True; + bHandled = true; } //no region selected else @@ -2852,7 +2852,7 @@ namespace svt { namespace table m_pTableControl->getSelEngine()->AddAlways(true); m_pTableControl->invalidateRow( newRow ); - bHandled = sal_True; + bHandled = true; } m_pTableControl->goTo( newCol, newRow ); return bHandled; diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx index bd049c8580d6..35ccaa02313e 100644 --- a/svtools/source/table/tablecontrol_impl.hxx +++ b/svtools/source/table/tablecontrol_impl.hxx @@ -496,7 +496,7 @@ namespace svt { namespace table virtual void BeginDrag(); virtual void CreateAnchor(); virtual void DestroyAnchor(); - virtual bool SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelectAtCursor); + virtual bool SetCursorAtPoint(const Point& rPoint, bool bDontSelectAtCursor); virtual bool IsSelectionAtPoint( const Point& rPoint ); virtual void DeselectAtPoint( const Point& rPoint ); virtual void DeselectAll(); |