summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/inc/ReportHelperImpl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/core/inc/ReportHelperImpl.hxx')
-rw-r--r--reportdesign/source/core/inc/ReportHelperImpl.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/core/inc/ReportHelperImpl.hxx b/reportdesign/source/core/inc/ReportHelperImpl.hxx
index bc92f1167ae7..67d59ba2703a 100644
--- a/reportdesign/source/core/inc/ReportHelperImpl.hxx
+++ b/reportdesign/source/core/inc/ReportHelperImpl.hxx
@@ -226,12 +226,12 @@ void SAL_CALL clazz::setCharScaleWidth(::sal_Int16 the_value) \
sal_Int16 SAL_CALL clazz::getParaAdjust() \
{ \
::osl::MutexGuard aGuard(m_aMutex); \
- return varName.nAlign; \
+ return (sal_Int16)varName.nAlign; \
} \
\
void SAL_CALL clazz::setParaAdjust( sal_Int16 _align ) \
{ \
- set(PROPERTY_PARAADJUST,_align,varName.nAlign); \
+ set(PROPERTY_PARAADJUST,(css::style::ParagraphAdjust)_align,varName.nAlign); \
} \
\
awt::FontDescriptor SAL_CALL clazz::getFontDescriptor() \