From 5db72ef0b381671b7867bda759098a92909e06d8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 26 Jul 2021 13:51:57 +0200 Subject: 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 --- sw/source/core/view/printdata.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sw/source/core/view') 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 #include +#include +#include #include #include #include @@ -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) -- cgit