diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-11-17 12:16:28 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-11-17 12:16:28 +0000 |
commit | 74c43506fc3f9e49abee6c16778e29765375e8d8 (patch) | |
tree | d6cf67a9e5abf9cee907a719132028e56dacff6a /sw/source/ui/shells/drwtxtex.cxx | |
parent | cf1b7520495821a43883f4a71f76782174c855ab (diff) |
INTEGRATION: CWS fwkbugfix03 (1.29.28); FILE MERGED
2004/10/19 13:41:53 cd 1.29.28.1: #i30041# Added new state to support show/hide controllers with status update
Diffstat (limited to 'sw/source/ui/shells/drwtxtex.cxx')
-rw-r--r-- | sw/source/ui/shells/drwtxtex.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sw/source/ui/shells/drwtxtex.cxx b/sw/source/ui/shells/drwtxtex.cxx index 027efb7026..7498c2e8ac 100644 --- a/sw/source/ui/shells/drwtxtex.cxx +++ b/sw/source/ui/shells/drwtxtex.cxx @@ -2,9 +2,9 @@ * * $RCSfile: drwtxtex.cxx,v $ * - * $Revision: 1.29 $ + * $Revision: 1.30 $ * - * last change: $Author: kz $ $Date: 2004-10-04 19:29:55 $ + * last change: $Author: obo $ $Date: 2004-11-17 13:16:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -687,7 +687,12 @@ ASK_ESCAPE: case SID_CHINESE_CONVERSION: { if (!SvtCJKOptions().IsAnyEnabled()) + { + GetView().GetViewFrame()->GetBindings().SetVisibleState( nWhich, sal_False ); rSet.DisableItem(nWhich); + } + else + GetView().GetViewFrame()->GetBindings().SetVisibleState( nWhich, sal_True ); } break; @@ -759,7 +764,12 @@ ASK_ESCAPE: { SvtCJKOptions aCJKOptions; if(!aCJKOptions.IsChangeCaseMapEnabled()) + { rSet.DisableItem(nWhich); + GetView().GetViewFrame()->GetBindings().SetVisibleState( nWhich, sal_False ); + } + else + GetView().GetViewFrame()->GetBindings().SetVisibleState( nWhich, sal_True ); } break; default: |