From b1226e1f225de4fa67a0d4f5a6aa4017284c7deb Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Mon, 2 Jan 2023 10:48:33 -0500 Subject: tdf#56258 i18npool: should be a SvxAdjust, not a HoriOrient Although this is unused AFAICS, lets at least use the correct enum, because these two do not match up. HoriOrient::LEFT = 3, while SvxAdjust::Left = 0 (3 is Center) Change-Id: I1cd8cce6d4e223ac272d8d4ba5e22c52c7657499 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144977 Tested-by: Jenkins Reviewed-by: Justin Luth --- i18npool/source/localedata/localedata.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'i18npool/source') diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index 4291df4809e9..933c9224a1eb 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -23,10 +23,10 @@ #include #include #include -#include #include #include #include +#include #include #include #include @@ -1487,7 +1487,6 @@ LocaleDataImpl::getAllInstalledLocaleNames() using namespace ::com::sun::star::container; using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::text; OutlineNumbering::OutlineNumbering(std::unique_ptr pOutlnLevels, int nLevels) : m_pOutlineLevels(std::move(pOutlnLevels)), @@ -1529,7 +1528,7 @@ Any OutlineNumbering::getByIndex( sal_Int32 nIndex ) pValues[8].Name = "FirstLineOffset"; pValues[8].Value <<= pTemp->nFirstLineOffset; pValues[9].Name = "Adjust"; - pValues[9].Value <<= sal_Int16(HoriOrientation::LEFT); + pValues[9].Value <<= sal_Int16(SvxAdjust::Left); pValues[10].Name = "Transliteration"; pValues[10].Value <<= pTemp->sTransliteration; pValues[11].Name = "NatNum"; -- cgit