svx/source/svdraw/svdmodel.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 53aaaafb11622741354ee9ac0215ad246c07ead6 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Dec 13 15:19:06 2011 +0100 Use officecfg/Office/Common.hxx directly. diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index b387f4c..92a8544 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; _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits