summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-10-05 12:13:20 +0000
committerKurt Zenker <kz@openoffice.org>2005-10-05 12:13:20 +0000
commit1d6e3a2b90a1e156afbf98765950778749b2fd64 (patch)
tree184979a69678c0639ff0c4e635264c72d98f4130
parent2e8388d6b5d7a688f858fabfa6c906a7e3110ff6 (diff)
INTEGRATION: CWS tl12 (1.19.64); FILE MERGED
2005/09/22 16:05:16 tl 1.19.64.2: RESYNC: (1.19-1.20); FILE MERGED 2005/08/15 16:40:22 cl 1.19.64.1: #i51153# call setupdatemode before check of convertable objects
-rw-r--r--sd/source/ui/view/Outliner.cxx10
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);
+ }
}