diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-28 14:27:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-03 08:59:37 +0200 |
commit | 0f60ab5ebf5ab7a7e4bd92cd8a34e86f27474131 (patch) | |
tree | b7789e867917d1bb6d29e36d895658791482ff1a /editeng | |
parent | 074a2af8bc26d5d1ba3ef01016df7d6d122cfb9f (diff) |
editeng: sal_Bool->bool
Change-Id: I4fc276e320294d57eb667b6db8e5eff078bc28b3
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/uno/unoedprx.cxx | 14 | ||||
-rw-r--r-- | editeng/source/uno/unoviwou.cxx | 20 |
2 files changed, 17 insertions, 17 deletions
diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx index dcc35000838e..04b6ffd6c9dd 100644 --- a/editeng/source/uno/unoedprx.cxx +++ b/editeng/source/uno/unoedprx.cxx @@ -1202,14 +1202,14 @@ Point SvxAccessibleTextEditViewAdapter::PixelToLogic( const Point& rPoint, const return mpViewForwarder->PixelToLogic(rPoint, rMapMode); } -sal_Bool SvxAccessibleTextEditViewAdapter::GetSelection( ESelection& rSel ) const +bool SvxAccessibleTextEditViewAdapter::GetSelection( ESelection& rSel ) const { DBG_ASSERT(mpViewForwarder, "SvxAccessibleTextEditViewAdapter: no forwarder"); ESelection aSelection; if( !mpViewForwarder->GetSelection( aSelection ) ) - return sal_False; + return false; SvxAccessibleTextIndex aStartIndex; SvxAccessibleTextIndex aEndIndex; @@ -1224,10 +1224,10 @@ sal_Bool SvxAccessibleTextEditViewAdapter::GetSelection( ESelection& rSel ) cons rSel = ESelection( aStartIndex.GetParagraph(), aStartIndex.GetIndex(), aEndIndex.GetParagraph(), aEndIndex.GetIndex() ); - return sal_True; + return true; } -sal_Bool SvxAccessibleTextEditViewAdapter::SetSelection( const ESelection& rSel ) +bool SvxAccessibleTextEditViewAdapter::SetSelection( const ESelection& rSel ) { DBG_ASSERT(mpViewForwarder, "SvxAccessibleTextEditViewAdapter: no forwarder"); @@ -1240,21 +1240,21 @@ sal_Bool SvxAccessibleTextEditViewAdapter::SetSelection( const ESelection& rSel return mpViewForwarder->SetSelection( MakeEESelection(aStartIndex, aEndIndex) ); } -sal_Bool SvxAccessibleTextEditViewAdapter::Copy() +bool SvxAccessibleTextEditViewAdapter::Copy() { DBG_ASSERT(mpViewForwarder, "SvxAccessibleTextEditViewAdapter: no forwarder"); return mpViewForwarder->Copy(); } -sal_Bool SvxAccessibleTextEditViewAdapter::Cut() +bool SvxAccessibleTextEditViewAdapter::Cut() { DBG_ASSERT(mpViewForwarder, "SvxAccessibleTextEditViewAdapter: no forwarder"); return mpViewForwarder->Cut(); } -sal_Bool SvxAccessibleTextEditViewAdapter::Paste() +bool SvxAccessibleTextEditViewAdapter::Paste() { DBG_ASSERT(mpViewForwarder, "SvxAccessibleTextEditViewAdapter: no forwarder"); diff --git a/editeng/source/uno/unoviwou.cxx b/editeng/source/uno/unoviwou.cxx index a3554e572995..106002919d30 100644 --- a/editeng/source/uno/unoviwou.cxx +++ b/editeng/source/uno/unoviwou.cxx @@ -124,34 +124,34 @@ Point SvxDrawOutlinerViewForwarder::PixelToLogic( const Point& rPoint, const Map return Point(); } -sal_Bool SvxDrawOutlinerViewForwarder::GetSelection( ESelection& rSelection ) const +bool SvxDrawOutlinerViewForwarder::GetSelection( ESelection& rSelection ) const { rSelection = mrOutlinerView.GetSelection(); - return sal_True; + return true; } -sal_Bool SvxDrawOutlinerViewForwarder::SetSelection( const ESelection& rSelection ) +bool SvxDrawOutlinerViewForwarder::SetSelection( const ESelection& rSelection ) { mrOutlinerView.SetSelection( rSelection ); - return sal_True; + return true; } -sal_Bool SvxDrawOutlinerViewForwarder::Copy() +bool SvxDrawOutlinerViewForwarder::Copy() { mrOutlinerView.Copy(); - return sal_True; + return true; } -sal_Bool SvxDrawOutlinerViewForwarder::Cut() +bool SvxDrawOutlinerViewForwarder::Cut() { mrOutlinerView.Cut(); - return sal_True; + return true; } -sal_Bool SvxDrawOutlinerViewForwarder::Paste() +bool SvxDrawOutlinerViewForwarder::Paste() { mrOutlinerView.Paste(); - return sal_True; + return true; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |