summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-28 14:27:20 +0200
committerNoel Grandin <noel@peralex.com>2014-03-03 08:59:37 +0200
commit0f60ab5ebf5ab7a7e4bd92cd8a34e86f27474131 (patch)
treeb7789e867917d1bb6d29e36d895658791482ff1a /starmath
parent074a2af8bc26d5d1ba3ef01016df7d6d122cfb9f (diff)
editeng: sal_Bool->bool
Change-Id: I4fc276e320294d57eb667b6db8e5eff078bc28b3
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/accessibility.cxx30
-rw-r--r--starmath/source/accessibility.hxx10
2 files changed, 20 insertions, 20 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index 58b67eab60ee..284dd2d167e0 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -1561,62 +1561,62 @@ Point SmEditViewForwarder::PixelToLogic( const Point& rPoint, const MapMode& rMa
return Point();
}
-sal_Bool SmEditViewForwarder::GetSelection( ESelection& rSelection ) const
+bool SmEditViewForwarder::GetSelection( ESelection& rSelection ) const
{
- sal_Bool bRes = sal_False;
+ bool bRes = false;
EditView *pEditView = rEditAcc.GetEditView();
if (pEditView)
{
rSelection = pEditView->GetSelection();
- bRes = sal_True;
+ bRes = true;
}
return bRes;
}
-sal_Bool SmEditViewForwarder::SetSelection( const ESelection& rSelection )
+bool SmEditViewForwarder::SetSelection( const ESelection& rSelection )
{
- sal_Bool bRes = sal_False;
+ bool bRes = false;
EditView *pEditView = rEditAcc.GetEditView();
if (pEditView)
{
pEditView->SetSelection( rSelection );
- bRes = sal_True;
+ bRes = true;
}
return bRes;
}
-sal_Bool SmEditViewForwarder::Copy()
+bool SmEditViewForwarder::Copy()
{
- sal_Bool bRes = sal_False;
+ bool bRes = false;
EditView *pEditView = rEditAcc.GetEditView();
if (pEditView)
{
pEditView->Copy();
- bRes = sal_True;
+ bRes = true;
}
return bRes;
}
-sal_Bool SmEditViewForwarder::Cut()
+bool SmEditViewForwarder::Cut()
{
- sal_Bool bRes = sal_False;
+ bool bRes = false;
EditView *pEditView = rEditAcc.GetEditView();
if (pEditView)
{
pEditView->Cut();
- bRes = sal_True;
+ bRes = true;
}
return bRes;
}
-sal_Bool SmEditViewForwarder::Paste()
+bool SmEditViewForwarder::Paste()
{
- sal_Bool bRes = sal_False;
+ bool bRes = false;
EditView *pEditView = rEditAcc.GetEditView();
if (pEditView)
{
pEditView->Paste();
- bRes = sal_True;
+ bRes = true;
}
return bRes;
}
diff --git a/starmath/source/accessibility.hxx b/starmath/source/accessibility.hxx
index dc3025e0e377..ec04727148d8 100644
--- a/starmath/source/accessibility.hxx
+++ b/starmath/source/accessibility.hxx
@@ -274,11 +274,11 @@ public:
virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
- virtual sal_Bool GetSelection( ESelection& rSelection ) const;
- virtual sal_Bool SetSelection( const ESelection& rSelection );
- virtual sal_Bool Copy();
- virtual sal_Bool Cut();
- virtual sal_Bool Paste();
+ virtual bool GetSelection( ESelection& rSelection ) const;
+ virtual bool SetSelection( const ESelection& rSelection );
+ virtual bool Copy();
+ virtual bool Cut();
+ virtual bool Paste();
};