summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/api/ImageControl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/core/api/ImageControl.cxx')
-rw-r--r--reportdesign/source/core/api/ImageControl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/core/api/ImageControl.cxx b/reportdesign/source/core/api/ImageControl.cxx
index 94a919465ae5..363995cc16c0 100644
--- a/reportdesign/source/core/api/ImageControl.cxx
+++ b/reportdesign/source/core/api/ImageControl.cxx
@@ -237,7 +237,7 @@ void SAL_CALL OImageControl::setHyperLinkName(const OUString & the_value)
::sal_Int32 SAL_CALL OImageControl::getControlBackground()
{
::osl::MutexGuard aGuard(m_aMutex);
- return m_aProps.aFormatProperties.m_bBackgroundTransparent ? COL_TRANSPARENT : m_aProps.aFormatProperties.nBackgroundColor;
+ return sal_Int32(m_aProps.aFormatProperties.m_bBackgroundTransparent ? COL_TRANSPARENT : m_aProps.aFormatProperties.nBackgroundColor);
}
void SAL_CALL OImageControl::setControlBackground( ::sal_Int32 _backgroundcolor )