diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-26 14:45:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-28 08:38:52 +0200 |
commit | d8fec570c21c5e45ba593ee96cc1ba5d45d77fc8 (patch) | |
tree | da5f5eed2c066325c409e64366b4569a54fb1791 /svx/source/tbxctrls/verttexttbxctrl.cxx | |
parent | 3808418e38fe9540a286ad48f1c3eaed2706f78c (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 'svx/source/tbxctrls/verttexttbxctrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/verttexttbxctrl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/verttexttbxctrl.cxx b/svx/source/tbxctrls/verttexttbxctrl.cxx index fcc799283253..9e1eeffca214 100644 --- a/svx/source/tbxctrls/verttexttbxctrl.cxx +++ b/svx/source/tbxctrls/verttexttbxctrl.cxx @@ -100,8 +100,7 @@ void SAL_CALL SvxVertCTLTextTbxCtrl::statusChanged(const css::frame::FeatureStat bool bEnabled = false; if (rEvent.FeatureURL.Complete == ".uno:VerticalTextState") { - SvtCJKOptions aLangOptions; - bEnabled = m_bVisible && aLangOptions.IsVerticalTextEnabled(); + bEnabled = m_bVisible && SvtCJKOptions::IsVerticalTextEnabled(); } else if (rEvent.FeatureURL.Complete == ".uno:CTLFontState") { |