diff options
author | Malte Timmermann <mt@openoffice.org> | 2001-12-04 18:26:22 +0000 |
---|---|---|
committer | Malte Timmermann <mt@openoffice.org> | 2001-12-04 18:26:22 +0000 |
commit | 60078977004cd65184da7859419e71aa3380f06f (patch) | |
tree | ac85cc403dd4440b6a2b475ff6360d478a48c29f /svx/source/editeng | |
parent | c640eefb039d1f7c3fc0b917e9540d9aa555a28a (diff) |
#95501# RemoveAttribs - accept EE_PARA_ALL
Diffstat (limited to 'svx/source/editeng')
-rw-r--r-- | svx/source/editeng/editeng.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/editeng/editeng.cxx b/svx/source/editeng/editeng.cxx index fbe795aea2e7..d3a6c62081d1 100644 --- a/svx/source/editeng/editeng.cxx +++ b/svx/source/editeng/editeng.cxx @@ -2,9 +2,9 @@ * * $RCSfile: editeng.cxx,v $ * - * $Revision: 1.52 $ + * $Revision: 1.53 $ * - * last change: $Author: mt $ $Date: 2001-12-04 15:09:08 $ + * last change: $Author: mt $ $Date: 2001-12-04 19:26:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1399,7 +1399,7 @@ void EditEngine::RemoveAttribs( const ESelection& rSelection, sal_Bool bRemovePa DBG_CHKTHIS( EditEngine, 0 ); pImpEditEngine->UndoActionStart( EDITUNDO_RESETATTRIBS ); - EditSelection aSel( pImpEditEngine->CreateSel( rSelection ) ); + EditSelection aSel( pImpEditEngine->ConvertSelection( rSelection.nStartPara, rSelection.nStartPos, rSelection.nEndPara, rSelection.nEndPos ) ); pImpEditEngine->RemoveCharAttribs( aSel, bRemoveParaAttribs, nWhich ); pImpEditEngine->UndoActionEnd( EDITUNDO_RESETATTRIBS ); pImpEditEngine->FormatAndUpdate(); |