summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-12-13 15:19:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-12-13 15:20:07 +0100
commit53aaaafb11622741354ee9ac0215ad246c07ead6 (patch)
treef9039387679390cea9dac0d0146cb8980299d66d /svx
parentfd5ffcf656216c00fd0149a844c9da5c73813835 (diff)
Use officecfg/Office/Common.hxx directly.
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdmodel.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index b387f4c14a69..92a854492bcd 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -78,7 +78,7 @@
#include "svx/xflhtit.hxx"
#include "svx/xlnclit.hxx"
-#include <svl/asiancfg.hxx>
+#include "officecfg/Office/Common.hxx"
#include "editeng/fontitem.hxx"
#include <editeng/colritem.hxx>
#include <editeng/fhgtitem.hxx>
@@ -181,8 +181,7 @@ void SdrModel::ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* _pEmbe
mbAddExtLeading = sal_False;
mnHandoutPageCount = 0;
- SvxAsianConfig aAsian;
- mnCharCompressType = aAsian.GetCharDistanceCompression();
+ mnCharCompressType = officecfg::Office::Common::AsianLayout::CompressCharacterDistance::get(comphelper::getProcessComponentContext());
#ifdef OSL_LITENDIAN
nStreamNumberFormat=NUMBERFORMAT_INT_LITTLEENDIAN;