summaryrefslogtreecommitdiff
path: root/svx/source/dialog/numpages.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-06-03 12:28:05 +0000
committerOliver Specht <os@openoffice.org>2002-06-03 12:28:05 +0000
commit32665d407f3bedd044d757a066dfc4d07696fe9f (patch)
tree0818d3fad1dd9cfb92c61e16263d506c5f101d69 /svx/source/dialog/numpages.cxx
parentedc32dce0daf407cf22c9e1c6796839c9ed46e9a (diff)
#99795# use Graphic instead of Bitmap to display images in graphical numbering ValueSet
Diffstat (limited to 'svx/source/dialog/numpages.cxx')
-rw-r--r--svx/source/dialog/numpages.cxx27
1 files changed, 5 insertions, 22 deletions
diff --git a/svx/source/dialog/numpages.cxx b/svx/source/dialog/numpages.cxx
index 18c4cd94a715..7ba98a8c681c 100644
--- a/svx/source/dialog/numpages.cxx
+++ b/svx/source/dialog/numpages.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: numpages.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: os $ $Date: 2002-05-28 13:21:15 $
+ * last change: $Author: os $ $Date: 2002-06-03 13:28:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1639,9 +1639,9 @@ void SvxBmpNumValueSet::UserDraw( const UserDrawEvent& rUDEvt )
int nRectHeight = aRect.GetHeight();
Size aSize(nRectHeight/8, nRectHeight/8);
- Bitmap aThumb;
+ Graphic aGraphic;
if(!GalleryExplorer::GetGraphicObj( sBullets, nItemId - 1,
- NULL, &aThumb))
+ &aGraphic, NULL))
{
bGrfNotFound = TRUE;
}
@@ -1652,7 +1652,7 @@ void SvxBmpNumValueSet::UserDraw( const UserDrawEvent& rUDEvt )
{
USHORT nY = 11 + i * 33;
aPos.Y() = aBLPos.Y() + nRectHeight * nY / 100;
- pDev->DrawBitmap( aPos, aSize, aThumb );
+ aGraphic.Draw( pDev, aPos, aSize );
}
}
}
@@ -3229,23 +3229,6 @@ void SvxNumberingPreview::Paint( const Rectangle& rRect )
}
-/*-----------------02.12.97 12:55-------------------
-
---------------------------------------------------*/
-//NumMenuButton::~NumMenuButton()
-//{
-//}
-
-/*-----------------02.12.97 12:55-------------------
-
---------------------------------------------------*/
-//void NumMenuButton::MouseButtonDown( const MouseEvent& rMEvt )
-//{
-// if(maClickHdl_Impl.IsSet())
-// maClickHdl_Impl.Call(this);
-// MenuButton::MouseButtonDown( rMEvt );
-//}
-
/*-----------------03.12.97 10:02-------------------
--------------------------------------------------*/