diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-26 13:51:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-27 11:58:23 +0200 |
commit | 5db72ef0b381671b7867bda759098a92909e06d8 (patch) | |
tree | 986bc625c30f226a2498791ed4a6463f2b6fd913 /sw/source/core/view | |
parent | f8ddaaf0f5e1fb61e0d4404ea28757bc652ae4be (diff) |
drop SvtLanguageOptions class
since it is just a wrapper over SvtCJKOptions and SvtCTLOptions.
Later I will replace those two with the equivalent officecfg calls
Change-Id: I61c5667a05f75d42643175f2c28c29d7a590b15c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119516
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/view')
-rw-r--r-- | sw/source/core/view/printdata.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/core/view/printdata.cxx b/sw/source/core/view/printdata.cxx index ad101ee6abf2..5ccd2a2d78d6 100644 --- a/sw/source/core/view/printdata.cxx +++ b/sw/source/core/view/printdata.cxx @@ -28,6 +28,8 @@ #include <docfld.hxx> #include <svl/languageoptions.hxx> +#include <svl/cjkoptions.hxx> +#include <svl/ctloptions.hxx> #include <toolkit/awt/vclxdevice.hxx> #include <unotools/moduleoptions.hxx> #include <vcl/outdev.hxx> @@ -169,8 +171,7 @@ SwPrintUIOptions::SwPrintUIOptions( } // check if either CJK or CTL is enabled - SvtLanguageOptions aLangOpt; - bool bRTL = aLangOpt.IsCJKFontEnabled() || aLangOpt.IsCTLFontEnabled(); + bool bRTL = SvtCJKOptions().IsCJKFontEnabled() || SvtCTLOptions().IsCTLFontEnabled(); // create sequence of print UI options // (5 options are not available for Writer-Web) |