summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsf.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-26 14:45:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-28 08:38:52 +0200
commitd8fec570c21c5e45ba593ee96cc1ba5d45d77fc8 (patch)
treeda5f5eed2c066325c409e64366b4569a54fb1791 /sd/source/ui/view/drviewsf.cxx
parent3808418e38fe9540a286ad48f1c3eaed2706f78c (diff)
use officecfg for SvtCJKOptions
and remove some unused options Change-Id: I487a233de4f7414012e5405f2c2e1f9c8b8fb4f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119554 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view/drviewsf.cxx')
-rw-r--r--sd/source/ui/view/drviewsf.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx
index 220fb33ab6bf..9b67f5d89dbd 100644
--- a/sd/source/ui/view/drviewsf.cxx
+++ b/sd/source/ui/view/drviewsf.cxx
@@ -206,8 +206,7 @@ void DrawViewShell::GetCtrlState(SfxItemSet &rSet)
if ( !GetView()->GetTextEditOutliner() )
{
- SvtCJKOptions aCJKOptions;
- if( !aCJKOptions.IsChangeCaseMapEnabled() )
+ if( !SvtCJKOptions::IsChangeCaseMapEnabled() )
{
GetViewFrame()->GetBindings().SetVisibleState( SID_TRANSLITERATE_HALFWIDTH, false );
GetViewFrame()->GetBindings().SetVisibleState( SID_TRANSLITERATE_FULLWIDTH, false );
@@ -234,8 +233,7 @@ void DrawViewShell::GetCtrlState(SfxItemSet &rSet)
}
else
{
- SvtCJKOptions aCJKOptions;
- if( !aCJKOptions.IsChangeCaseMapEnabled() )
+ if( !SvtCJKOptions::IsChangeCaseMapEnabled() )
{
GetViewFrame()->GetBindings().SetVisibleState( SID_TRANSLITERATE_HALFWIDTH, false );
GetViewFrame()->GetBindings().SetVisibleState( SID_TRANSLITERATE_FULLWIDTH, false );