summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-06-06 12:56:46 +0000
committerRüdiger Timm <rt@openoffice.org>2008-06-06 12:56:46 +0000
commitc2e68ed88f1a42c8015bed48571e21f3b40afe28 (patch)
tree24e0a5531562ce22fe739d9740eac5805267362d /svx
parenteccf728e6acb2a5ea91f89fc61d36df92ea4ac2c (diff)
INTEGRATION: CWS os113 (1.35.8); FILE MERGED
2008/05/22 05:41:07 os 1.35.8.3: #i88463# added parameter at methods of SfxTabPage to suppress deep search for WhichId 2008/05/09 15:49:54 os 1.35.8.2: RESYNC: (1.35-1.36); FILE MERGED 2008/04/23 09:07:21 os 1.35.8.1: #i88463# SfxTabPage::GetWhich() makes access of the secondary pool. It breaks use of table borders in Writer
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/border.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/svx/source/dialog/border.cxx b/svx/source/dialog/border.cxx
index cc1f6a94ce48..64acd3077d2d 100644
--- a/svx/source/dialog/border.cxx
+++ b/svx/source/dialog/border.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: border.cxx,v $
- * $Revision: 1.36 $
+ * $Revision: 1.37 $
*
* This file is part of OpenOffice.org.
*
@@ -275,7 +275,7 @@ SvxBorderTabPage::SvxBorderTabPage( Window* pParent,
SetFieldUnit( aEdShadowSize, eFUnit );
- USHORT nWhich = GetWhich( SID_ATTR_BORDER_INNER );
+ USHORT nWhich = GetWhich( SID_ATTR_BORDER_INNER, sal_False );
BOOL bIsDontCare = TRUE;
if ( rCoreAttrs.GetItemState( nWhich, TRUE ) >= SFX_ITEM_AVAILABLE )
@@ -454,7 +454,9 @@ void SvxBorderTabPage::Reset( const SfxItemSet& rSet )
const Color aColBlack = RGBCOL(COL_BLACK);
pBoxItem = (const SvxBoxItem*)GetItem( rSet, SID_ATTR_BORDER_OUTER );
- pBoxInfoItem = (const SvxBoxInfoItem*)GetItem( rSet, SID_ATTR_BORDER_INNER );
+
+
+ pBoxInfoItem = (const SvxBoxInfoItem*)GetItem( rSet, SID_ATTR_BORDER_INNER, sal_False );
eCoreUnit = rSet.GetPool()->GetMetric( nWhichBox );
@@ -670,7 +672,7 @@ BOOL SvxBorderTabPage::FillItemSet( SfxItemSet& rCoreAttrs )
BOOL bPut = TRUE;
USHORT nBoxWhich = GetWhich( SID_ATTR_BORDER_OUTER );
- USHORT nBoxInfoWhich = GetWhich( SID_ATTR_BORDER_INNER );
+ USHORT nBoxInfoWhich = rCoreAttrs.GetPool()->GetWhich( SID_ATTR_BORDER_INNER, sal_False );
const SfxItemSet& rOldSet = GetItemSet();
SvxBoxItem aBoxItem ( nBoxWhich );
SvxBoxInfoItem aBoxInfoItem ( nBoxInfoWhich );
@@ -796,7 +798,7 @@ BOOL SvxBorderTabPage::FillItemSet( SfxItemSet& rCoreAttrs )
rCoreAttrs.Put( aBoxItem );
bAttrsChanged |= TRUE;
}
- pOld = GetOldItem( rCoreAttrs, SID_ATTR_BORDER_INNER );
+ pOld = GetOldItem( rCoreAttrs, SID_ATTR_BORDER_INNER, sal_False );
if ( !pOld || !( *(const SvxBoxInfoItem*)pOld == aBoxInfoItem ) )
{