summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/backgrnd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/backgrnd.cxx')
-rw-r--r--cui/source/tabpages/backgrnd.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index 8e7243a98220..6ad1cb6cc74a 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -685,7 +685,7 @@ bool SvxBackgroundTabPage::FillItemSet( SfxItemSet* rCoreSet )
{
const Graphic* pGraphic = rOldItem.GetGraphic();
if (pGraphic)
- bModifyBrush = pGraphic->GetBitmap() != aBgdGraphic.GetBitmap();
+ bModifyBrush = pGraphic->GetBitmapEx() != aBgdGraphic.GetBitmapEx();
}
if (bModifyBrush)
{
@@ -1100,7 +1100,7 @@ IMPL_LINK( SvxBackgroundTabPage, FileClickHdl_Impl, Button*, pBox, void )
if ( bIsGraphicValid )
{
- Bitmap aBmp = aBgdGraphic.GetBitmap();
+ Bitmap aBmp = aBgdGraphic.GetBitmapEx().GetBitmap();
m_pPreviewWin2->NotifyChange( &aBmp );
}
else
@@ -1208,7 +1208,7 @@ IMPL_LINK( SvxBackgroundTabPage, LoadIdleHdl_Impl, Timer*, pIdle, void )
if ( m_pBtnPreview->IsChecked() && bIsGraphicValid )
{
- Bitmap aBmp = aBgdGraphic.GetBitmap();
+ Bitmap aBmp = aBgdGraphic.GetBitmapEx().GetBitmap();
m_pPreviewWin2->NotifyChange( &aBmp );
}
else
@@ -1415,7 +1415,7 @@ void SvxBackgroundTabPage::FillControls_Impl( const SvxBrushItem& rBgdAttr,
if ( m_pBtnPreview->IsChecked() && bIsGraphicValid )
{
- Bitmap aBmp = aBgdGraphic.GetBitmap();
+ Bitmap aBmp = aBgdGraphic.GetBitmapEx().GetBitmap();
m_pPreviewWin2->NotifyChange( &aBmp );
}
else