diff options
Diffstat (limited to 'xmloff/source/forms/gridcolumnproptranslator.cxx')
-rw-r--r-- | xmloff/source/forms/gridcolumnproptranslator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/forms/gridcolumnproptranslator.cxx b/xmloff/source/forms/gridcolumnproptranslator.cxx index b149d4f9665c..e1241a1e600b 100644 --- a/xmloff/source/forms/gridcolumnproptranslator.cxx +++ b/xmloff/source/forms/gridcolumnproptranslator.cxx @@ -74,8 +74,8 @@ namespace xmloff { ParagraphAdjust_RIGHT, awt::TextAlign::RIGHT }, { ParagraphAdjust_BLOCK, awt::TextAlign::RIGHT }, { ParagraphAdjust_STRETCH, awt::TextAlign::LEFT }, - { ParagraphAdjust_MAKE_FIXED_SIZE, awt::TextAlign::LEFT }, - { ParagraphAdjust_MAKE_FIXED_SIZE, -1 } + { ParagraphAdjust::ParagraphAdjust_MAKE_FIXED_SIZE, awt::TextAlign::LEFT }, + { ParagraphAdjust::ParagraphAdjust_MAKE_FIXED_SIZE, -1 } }; void valueAlignToParaAdjust(Any& rValue) @@ -100,9 +100,9 @@ namespace xmloff sal_Int32 nValue = 0; rValue >>= nValue; const AlignmentTranslationEntry* pTranslation = AlignmentTranslations; - while ( ParagraphAdjust_MAKE_FIXED_SIZE != pTranslation->nParagraphValue) + while ( ParagraphAdjust::ParagraphAdjust_MAKE_FIXED_SIZE != pTranslation->nParagraphValue) { - if ( nValue == pTranslation->nParagraphValue) + if ( (ParagraphAdjust)nValue == pTranslation->nParagraphValue) { rValue <<= pTranslation->nControlValue; return; |