summaryrefslogtreecommitdiff
path: root/sw/source/ui/config/usrpref.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/config/usrpref.cxx')
-rw-r--r--sw/source/ui/config/usrpref.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/sw/source/ui/config/usrpref.cxx b/sw/source/ui/config/usrpref.cxx
index 2d5acfa0c9a4..27cdd6ec5271 100644
--- a/sw/source/ui/config/usrpref.cxx
+++ b/sw/source/ui/config/usrpref.cxx
@@ -32,7 +32,6 @@
#include <tools/stream.hxx>
#include <unotools/syslocale.hxx>
-#include <svl/cjkoptions.hxx>
#include "swtypes.hxx"
#include "hintids.hxx"
@@ -74,17 +73,8 @@ SwMasterUsrPref::SwMasterUsrPref(sal_Bool bWeb) :
bApplyCharUnit(sal_False)
{
MeasurementSystem eSystem = SvtSysLocale().GetLocaleData().getMeasurementSystemEnum();
- SvtCJKOptions aCJKOptions;
eUserMetric = MEASURE_METRIC == eSystem ? FUNIT_CM : FUNIT_INCH;
- sal_Bool bCJKEnabled = aCJKOptions.IsAsianTypographyEnabled();
- bApplyCharUnit = bCJKEnabled;
- eHScrollMetric = bApplyCharUnit ? FUNIT_CHAR : eUserMetric;
- eVScrollMetric = bApplyCharUnit ? FUNIT_LINE : eUserMetric;
-
- bIsHScrollMetricSet = bApplyCharUnit;
- bIsVScrollMetricSet = bApplyCharUnit;
-
aContentConfig.Load();
aLayoutConfig.Load();
aGridConfig.Load();