summaryrefslogtreecommitdiff
path: root/svx/source/dialog/backgrnd.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-08-28 13:58:21 +0000
committerOliver Specht <os@openoffice.org>2002-08-28 13:58:21 +0000
commit5018f32633676dec2b784c286e69014bfb594525 (patch)
tree91b0e9cf98bf07ae385c46fd214876f8500bbbc2 /svx/source/dialog/backgrnd.cxx
parentfa0f943388055ebe473857e79c0c51fb4b00a6c1 (diff)
#99657# set transparency indenpendent of MetricField changes
Diffstat (limited to 'svx/source/dialog/backgrnd.cxx')
-rw-r--r--svx/source/dialog/backgrnd.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/svx/source/dialog/backgrnd.cxx b/svx/source/dialog/backgrnd.cxx
index 993662acf406..bf9692ab67eb 100644
--- a/svx/source/dialog/backgrnd.cxx
+++ b/svx/source/dialog/backgrnd.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: backgrnd.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: os $ $Date: 2002-08-26 12:52:50 $
+ * last change: $Author: os $ $Date: 2002-08-28 14:58:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -914,8 +914,7 @@ BOOL SvxBackgroundTabPage::FillItemSet( SfxItemSet& rCoreSet )
aTmpBrush = SvxBrushItem( aBgdGraphic,
eNewPos,
nWhich );
- if(bGraphTransparencyChanged)
- lcl_SetTransparency(aTmpBrush, aGraphTransMF.GetValue());
+ lcl_SetTransparency(aTmpBrush, aGraphTransMF.GetValue());
rCoreSet.Put(aTmpBrush);
}
@@ -950,8 +949,7 @@ BOOL SvxBackgroundTabPage::FillItemSet( SfxItemSet& rCoreSet )
}
if(pTmpBrush)
{
- if(bGraphTransparencyChanged)
- lcl_SetTransparency(*pTmpBrush, aGraphTransMF.GetValue());
+ lcl_SetTransparency(*pTmpBrush, aGraphTransMF.GetValue());
rCoreSet.Put(*pTmpBrush);
delete pTmpBrush;
}