aw084: #i112978# use GetAllMarkedBoundRect instead of GetAllMarkedRect to get fat line support
# HG changeset patch # User Armin Le Grand <armin.le.grand@oracle.com> # Date 1300116633 -3600 # Node ID 9d821e77ed393c984738cf3e829a8c94a681828f # Parent 20c5c9384888da33596d864251881e6e46bdd339 aw084: #i112978# use GetAllMarkedBoundRect instead of GetAllMarkedRect to get fat line support
This commit is contained in:
committed by
Thorsten Behrens
parent
2aa52a0ae0
commit
d999ae1000
@@ -339,7 +339,9 @@ void SdTransferable::CreateData()
|
|||||||
|
|
||||||
if( 1 == mpSdDrawDocumentIntern->GetPageCount() )
|
if( 1 == mpSdDrawDocumentIntern->GetPageCount() )
|
||||||
{
|
{
|
||||||
Point aOrigin( ( maVisArea = mpSdViewIntern->GetAllMarkedRect() ).TopLeft() );
|
// #112978# need to use GetAllMarkedBoundRect instead of GetAllMarkedRect to get
|
||||||
|
// fat lines correctly
|
||||||
|
Point aOrigin( ( maVisArea = mpSdViewIntern->GetAllMarkedBoundRect() ).TopLeft() );
|
||||||
Size aVector( -aOrigin.X(), -aOrigin.Y() );
|
Size aVector( -aOrigin.X(), -aOrigin.Y() );
|
||||||
|
|
||||||
for( sal_uLong nObj = 0, nObjCount = pPage->GetObjCount(); nObj < nObjCount; nObj++ )
|
for( sal_uLong nObj = 0, nObjCount = pPage->GetObjCount(); nObj < nObjCount; nObj++ )
|
||||||
|
@@ -133,7 +133,9 @@ struct SdNavigatorDropEvent : public ExecuteDropEvent
|
|||||||
pTransferable->SetWorkDocument( (SdDrawDocument*) GetAllMarkedModel() );
|
pTransferable->SetWorkDocument( (SdDrawDocument*) GetAllMarkedModel() );
|
||||||
mpDoc->CreatingDataObj( NULL );
|
mpDoc->CreatingDataObj( NULL );
|
||||||
|
|
||||||
const Rectangle aMarkRect( GetAllMarkedRect() );
|
// #112978# need to use GetAllMarkedBoundRect instead of GetAllMarkedRect to get
|
||||||
|
// fat lines correctly
|
||||||
|
const Rectangle aMarkRect( GetAllMarkedBoundRect() );
|
||||||
TransferableObjectDescriptor aObjDesc;
|
TransferableObjectDescriptor aObjDesc;
|
||||||
String aDisplayName;
|
String aDisplayName;
|
||||||
SdrOle2Obj* pSdrOleObj = NULL;
|
SdrOle2Obj* pSdrOleObj = NULL;
|
||||||
|
Reference in New Issue
Block a user