INTEGRATION: CWS chart2mst3 (1.59.46); FILE MERGED

2007/05/14 19:15:48 bm 1.59.46.2: RESYNC: (1.59-1.60); FILE MERGED
2006/11/22 13:22:21 tl 1.59.46.1: #i71246# positioning of the new chart wizard to not hide the already inserted chart
This commit is contained in:
Vladimir Glazounov 2007-05-22 15:29:46 +00:00
parent 1047926141
commit 92d5d60ae4

View file

@ -4,9 +4,9 @@
*
* $RCSfile: atrfrm.cxx,v $
*
* $Revision: 1.60 $
* $Revision: 1.61 $
*
* last change: $Author: rt $ $Date: 2007-04-25 09:07:16 $
* last change: $Author: vg $ $Date: 2007-05-22 16:29:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -2879,6 +2879,20 @@ SwFlyFrm* SwFlyFrmFmt::GetFrm( const Point* pPoint, const sal_Bool bCalcFrm ) co
pPoint, 0, bCalcFrm );
}
SwAnchoredObject* SwFlyFrmFmt::GetAnchoredObj( const Point* pPoint, const sal_Bool bCalcFrm ) const
{
SwFlyFrm* pFlyFrm( GetFrm( pPoint, bCalcFrm ) );
if ( pFlyFrm )
{
return dynamic_cast<SwAnchoredObject*>(pFlyFrm);
}
else
{
return 0L;
}
}
sal_Bool SwFlyFrmFmt::GetInfo( SfxPoolItem& rInfo ) const
{
switch( rInfo.Which() )