summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-20 11:14:54 +0200
committerNoel Grandin <noel@peralex.com>2014-03-24 08:12:09 +0200
commitf661ac03e049844fd529fb6ff02e628b32cac650 (patch)
treeec4c4c9ac697df5a3645e1d0c7d426d03968d50c /reportdesign
parentb1de52241c1c2045ceab4ea3526f51f145be2930 (diff)
svtools: sal_Bool->bool
Change-Id: I22d8869551f46d2a0607f670f937853f394b6acf
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/dlg/GroupsSorting.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx
index 51f0ae8d36fb..5d26f5095ab5 100644
--- a/reportdesign/source/ui/dlg/GroupsSorting.cxx
+++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx
@@ -130,16 +130,16 @@ public:
*/
void moveGroups(const uno::Sequence<uno::Any>& _aGroups,sal_Int32 _nRow,sal_Bool _bSelect = sal_True);
- virtual sal_Bool CursorMoving(long nNewRow, sal_uInt16 nNewCol);
+ virtual bool CursorMoving(long nNewRow, sal_uInt16 nNewCol);
using OFieldExpressionControl_Base::GetRowCount;
protected:
- virtual sal_Bool IsTabAllowed(sal_Bool bForward) const;
+ virtual bool IsTabAllowed(bool bForward) const;
virtual void InitController( ::svt::CellControllerRef& rController, long nRow, sal_uInt16 nCol );
virtual ::svt::CellController* GetController( long nRow, sal_uInt16 nCol );
virtual void PaintCell( OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColId ) const;
virtual bool SeekRow( long nRow );
- virtual sal_Bool SaveModified();
+ virtual bool SaveModified();
virtual OUString GetCellText( long nRow, sal_uInt16 nColId ) const;
virtual RowStatus GetRowStatus(long nRow) const;
@@ -392,13 +392,13 @@ IMPL_LINK( OFieldExpressionControl, CBChangeHdl, ComboBox*, /*pComboBox*/ )
}
-sal_Bool OFieldExpressionControl::IsTabAllowed(sal_Bool /*bForward*/) const
+bool OFieldExpressionControl::IsTabAllowed(bool /*bForward*/) const
{
- return sal_False;
+ return false;
}
-sal_Bool OFieldExpressionControl::SaveModified()
+bool OFieldExpressionControl::SaveModified()
{
return SaveModified(true);
}
@@ -519,11 +519,11 @@ void OFieldExpressionControl::InitController( CellControllerRef& /*rController*/
m_pComboCell->SetText( GetCellText( nRow, nColumnId ) );
}
-sal_Bool OFieldExpressionControl::CursorMoving(long nNewRow, sal_uInt16 nNewCol)
+bool OFieldExpressionControl::CursorMoving(long nNewRow, sal_uInt16 nNewCol)
{
if (!EditBrowseBox::CursorMoving(nNewRow, nNewCol))
- return sal_False;
+ return false;
m_nDataPos = nNewRow;
long nOldDataPos = GetCurRow();
InvalidateStatusCell( m_nDataPos );
@@ -531,7 +531,7 @@ sal_Bool OFieldExpressionControl::CursorMoving(long nNewRow, sal_uInt16 nNewCol)
m_pParent->SaveData( nOldDataPos );
m_pParent->DisplayData( m_nDataPos );
- return sal_True;
+ return true;
}
CellController* OFieldExpressionControl::GetController( long /*nRow*/, sal_uInt16 /*nColumnId*/ )