diff options
author | Armin Weiss <aw@openoffice.org> | 2000-10-30 10:20:51 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2000-10-30 10:20:51 +0000 |
commit | b0c2ec72ff171d8b4303d39f11f67497e88e2d8c (patch) | |
tree | 86b80ee5e7a267717757077f9873a79e96b4cdcd /svx/source/xoutdev/xtablend.cxx | |
parent | 2f420692d6201815297359380c7c7e840c2e1151 (diff) |
change SdrObjects to use SfxItemSet instead of SfxSetItems.
Removed TakeAttributes() and SetAttributes(), new ItemSet
modification methods (GetItem[Set], SetItem[Set], ClearItem,...)
Diffstat (limited to 'svx/source/xoutdev/xtablend.cxx')
-rw-r--r-- | svx/source/xoutdev/xtablend.cxx | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/svx/source/xoutdev/xtablend.cxx b/svx/source/xoutdev/xtablend.cxx index 653cba4a3c7a..ce4b7f644619 100644 --- a/svx/source/xoutdev/xtablend.cxx +++ b/svx/source/xoutdev/xtablend.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xtablend.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: ka $ $Date: 2000-10-17 13:24:03 $ + * last change: $Author: aw $ $Date: 2000-10-30 11:17:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -533,14 +533,21 @@ Bitmap* XLineEndList::CreateBitmapForUI( long nIndex, BOOL bDelete ) aVDSize = pVD->GetOutputSize(); pXLSet->GetItemSet().Put( XLineStyleItem( XLINE_NONE ) ); - pXOut->SetLineAttr( *pXLSet ); - pXOut->SetFillAttr( *pXFSet ); +//-/ pXOut->SetLineAttr( *pXLSet ); + + pXOut->SetLineAttr( pXLSet->GetItemSet() ); +//-/ pXOut->SetFillAttr( *pXFSet ); + + pXOut->SetFillAttr( pXFSet->GetItemSet() ); pXOut->DrawRect( Rectangle( aZero, aVDSize ) ); pXLSet->GetItemSet().Put( XLineStyleItem( XLINE_SOLID ) ); pXLSet->GetItemSet().Put( XLineStartItem( String(), Get( nIndex )->GetLineEnd() ) ); pXLSet->GetItemSet().Put( XLineEndItem( String(), Get( nIndex )->GetLineEnd() ) ); - pXOut->SetLineAttr( *pXLSet ); + +//-/ pXOut->SetLineAttr( *pXLSet ); + pXOut->SetLineAttr( pXLSet->GetItemSet() ); + pXOut->DrawLine( Point( 0, aVDSize.Height() / 2 ), Point( aVDSize.Width(), aVDSize.Height() / 2 ) ); |