diff options
author | Frank Meies <fme@openoffice.org> | 2002-07-29 12:49:43 +0000 |
---|---|---|
committer | Frank Meies <fme@openoffice.org> | 2002-07-29 12:49:43 +0000 |
commit | f4f7844239813bb5e2d33047595d651ee6d1a09e (patch) | |
tree | dba9fdcdcd2659bd707fd389da8e65cc1e43e56b /sw/source/ui/wrtsh | |
parent | 6179957d49d7775ad36ee1d5a68d1b488af9f89d (diff) |
#99918# Update of font name in toolbar when inserting characters from different scripts
Diffstat (limited to 'sw/source/ui/wrtsh')
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh1.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sw/source/ui/wrtsh/wrtsh1.cxx b/sw/source/ui/wrtsh/wrtsh1.cxx index 9aac73c3bf7d..5cbc66508975 100644 --- a/sw/source/ui/wrtsh/wrtsh1.cxx +++ b/sw/source/ui/wrtsh/wrtsh1.cxx @@ -2,9 +2,9 @@ * * $RCSfile: wrtsh1.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: jp $ $Date: 2002-02-01 12:57:52 $ + * last change: $Author: fme $ $Date: 2002-07-29 13:49:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -351,7 +351,10 @@ void SwWrtShell::Insert( const String &rStr ) bCallIns = bIns /*|| bHasSel*/; // Notify abschalten - SwChgLinkFlag *pChgFlg = bCallIns ? new SwChgLinkFlag( *this ) : 0; + // FME: This seems to be an optimisation: CallChgLink should not be called + // for an insert event. This cannot hold any longer, since inserting + // characters from a different script type has to call CallChgLink. +// SwChgLinkFlag *pChgFlg = bCallIns ? new SwChgLinkFlag( *this ) : 0; if( bHasSel ) { @@ -382,7 +385,7 @@ JP 21.01.98: Ueberschreiben ueberschreibt nur die Selektion, nicht das EndAllAction(); EndUndo(UNDO_INSERT); } - delete pChgFlg; +// delete pChgFlg; } /* Begrenzung auf maximale Hoehe geht nicht, da die maximale Hoehe |