summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-11-16 08:22:34 +0000
committerOliver Bolte <obo@openoffice.org>2005-11-16 08:22:34 +0000
commit24820f8992f631828a3e7128e96817454a162fc6 (patch)
tree0fed222cc8a70f02d612668c311a6f273cde5b76 /sd
parentac89bf7266a46f652eeba1fde3507155bd78a8e2 (diff)
INTEGRATION: CWS thaiissues (1.50.12); FILE MERGED
2005/10/26 11:04:19 cl 1.50.12.3: #i42732# update font height when changing input language 2005/10/25 09:21:28 fme 1.50.12.2: RESYNC: (1.50-1.51); FILE MERGED 2005/10/14 17:26:06 cl 1.50.12.1: #i55928# prefer input language for font listbox when no text selected
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/viewshel.cxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 351f221864e1..ac725e5c5ef0 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: viewshel.cxx,v $
*
- * $Revision: 1.51 $
+ * $Revision: 1.52 $
*
- * last change: $Author: rt $ $Date: 2005-10-19 12:29:10 $
+ * last change: $Author: obo $ $Date: 2005-11-16 09:22:34 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -735,7 +735,13 @@ void ViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin)
if( !bDone )
{
- if(mpSlideShow)
+ if( rCEvt.GetCommand() == COMMAND_INPUTLANGUAGECHANGE )
+ {
+ //#i42732# update state of fontname if input language changes
+ GetViewFrame()->GetBindings().Invalidate( SID_ATTR_CHAR_FONT );
+ GetViewFrame()->GetBindings().Invalidate( SID_ATTR_CHAR_FONTHEIGHT );
+ }
+ else if(mpSlideShow)
{
mpSlideShow->command(rCEvt);
}