Kaydet (Commit) af49bf3d authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS aw035 (1.31.292); FILE MERGED

2006/07/12 15:29:55 aw 1.31.292.1: #126320# SdrMark::GetObj() -> SdrMark::GetSdrObjectFromSdrMark() for unique identification
üst 70f66e82
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: grafctrl.cxx,v $ * $RCSfile: grafctrl.cxx,v $
* *
* $Revision: 1.31 $ * $Revision: 1.32 $
* *
* last change: $Author: rt $ $Date: 2006-01-10 14:51:49 $ * last change: $Author: rt $ $Date: 2006-07-25 12:57:57 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -980,7 +980,7 @@ void SvxGrafAttrHelper::ExecuteGrafAttr( SfxRequest& rReq, SdrView& rView ) ...@@ -980,7 +980,7 @@ void SvxGrafAttrHelper::ExecuteGrafAttr( SfxRequest& rReq, SdrView& rView )
if( 0 < rMarkList.GetMarkCount() ) if( 0 < rMarkList.GetMarkCount() )
{ {
SdrGrafObj* pObj = (SdrGrafObj*) rMarkList.GetMark( 0 )->GetObj(); SdrGrafObj* pObj = (SdrGrafObj*) rMarkList.GetMark( 0 )->GetMarkedSdrObj();
if( pObj && pObj->ISA( SdrGrafObj ) && if( pObj && pObj->ISA( SdrGrafObj ) &&
( pObj->GetGraphicType() != GRAPHIC_NONE ) && ( pObj->GetGraphicType() != GRAPHIC_NONE ) &&
...@@ -1230,7 +1230,7 @@ void SvxGrafAttrHelper::GetGrafAttrState( SfxItemSet& rSet, SdrView& rView ) ...@@ -1230,7 +1230,7 @@ void SvxGrafAttrHelper::GetGrafAttrState( SfxItemSet& rSet, SdrView& rView )
for( USHORT i = 0, nCount = (USHORT) rMarkList.GetMarkCount(); for( USHORT i = 0, nCount = (USHORT) rMarkList.GetMarkCount();
( i < nCount ) && bEnable; i++ ) ( i < nCount ) && bEnable; i++ )
{ {
SdrObject* pObj = rMarkList.GetMark( 0 )->GetObj(); SdrObject* pObj = rMarkList.GetMark( 0 )->GetMarkedSdrObj();
if( !pObj || !pObj->ISA( SdrGrafObj ) || if( !pObj || !pObj->ISA( SdrGrafObj ) ||
( (SdrGrafObj*) pObj )->HasGDIMetaFile() || ( (SdrGrafObj*) pObj )->HasGDIMetaFile() ||
...@@ -1256,7 +1256,7 @@ void SvxGrafAttrHelper::GetGrafAttrState( SfxItemSet& rSet, SdrView& rView ) ...@@ -1256,7 +1256,7 @@ void SvxGrafAttrHelper::GetGrafAttrState( SfxItemSet& rSet, SdrView& rView )
if( 1 == rMarkList.GetMarkCount() ) if( 1 == rMarkList.GetMarkCount() )
{ {
SdrObject* pObj = rMarkList.GetMark( 0 )->GetObj(); SdrObject* pObj = rMarkList.GetMark( 0 )->GetMarkedSdrObj();
if( pObj && pObj->ISA( SdrGrafObj ) ) if( pObj && pObj->ISA( SdrGrafObj ) )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment