diff options
Diffstat (limited to 'reportdesign/source/core/inc/ReportHelperImpl.hxx')
-rw-r--r-- | reportdesign/source/core/inc/ReportHelperImpl.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/reportdesign/source/core/inc/ReportHelperImpl.hxx b/reportdesign/source/core/inc/ReportHelperImpl.hxx index 47acf133a5f2..b6352de35715 100644 --- a/reportdesign/source/core/inc/ReportHelperImpl.hxx +++ b/reportdesign/source/core/inc/ReportHelperImpl.hxx @@ -74,6 +74,15 @@ uno::Reference< report::XSection > SAL_CALL clazz::getSection() \ ::osl::MutexGuard aGuard(m_aMutex); \ uno::Reference< container::XChild > xParent(getParent( ),uno::UNO_QUERY); \ return lcl_getSection(xParent); \ +} \ +sal_Bool SAL_CALL clazz::getAutoGrow() \ +{ \ + ::osl::MutexGuard aGuard(m_aMutex); \ + return (arg).m_bAutoGrow; \ +} \ +void SAL_CALL clazz::setAutoGrow(sal_Bool _autogrow) \ +{ \ + set(PROPERTY_AUTOGROW,static_cast<bool>(_autogrow),(arg).m_bAutoGrow); \ } #define REPORTCOMPONENT_IMPL(clazz,arg) \ |