diff options
Diffstat (limited to 'editeng/source')
-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: */ |