summaryrefslogtreecommitdiff
path: root/svx/source/dialog
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-10-30 13:31:59 +0000
committerOliver Specht <os@openoffice.org>2001-10-30 13:31:59 +0000
commit3e2a9473b382d564aac9bd24d02bcc4f5aac4253 (patch)
tree7c32838d0a4b639b9a28d172349f5e8965aacc7d /svx/source/dialog
parent94e8f1633ff2a83fa99e86748c65502bcbcedc28 (diff)
#89658# put 'NoFill' item only if old item is available or ValueSet is selected
Diffstat (limited to 'svx/source/dialog')
-rw-r--r--svx/source/dialog/backgrnd.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/dialog/backgrnd.cxx b/svx/source/dialog/backgrnd.cxx
index 42ddecd9b88e..d30e62852d49 100644
--- a/svx/source/dialog/backgrnd.cxx
+++ b/svx/source/dialog/backgrnd.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: backgrnd.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: os $ $Date: 2001-10-26 14:20:25 $
+ * last change: $Author: os $ $Date: 2001-10-30 14:31:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -790,7 +790,8 @@ BOOL SvxBackgroundTabPage::FillItemSet( SfxItemSet& rCoreSet )
if ( (GPOS_NONE == eOldPos) || !aLbSelect.IsVisible() )
{
// Brush-Behandlung:
- if ( rOldItem.GetColor() != aBgdColor || SFX_ITEM_AVAILABLE >= eOldItemState)
+ if ( rOldItem.GetColor() != aBgdColor ||
+ (SFX_ITEM_AVAILABLE >= eOldItemState && !aBackgroundColorSet.IsNoSelection()))
{
bModified = TRUE;
rCoreSet.Put( SvxBrushItem( aBgdColor, nWhich ) );