diff options
-rw-r--r-- | sd/source/ui/view/Outliner.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index 6f9e6708f4f1..721350b306bb 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -4,9 +4,9 @@ * * $RCSfile: Outliner.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: rt $ $Date: 2005-09-09 07:00:26 $ + * last change: $Author: kz $ $Date: 2005-10-05 13:13:20 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1578,8 +1578,10 @@ void Outliner::StartConversion( INT16 nSourceLanguage, INT16 nTargetLanguage, */ void Outliner::PrepareConversion (void) { + SetUpdateMode(sal_True); if( HasConvertibleTextPortion( mnConversionLanguage ) ) { + SetUpdateMode(sal_False); mbStringFound = TRUE; mbMatchMayExist = TRUE; @@ -1590,6 +1592,10 @@ void Outliner::PrepareConversion (void) // depending on the search direction. // mpOutlineView->SetSelection (GetSearchStartPosition ()); } + else + { + SetUpdateMode(sal_False); + } } |