diff options
author | Sascha Ballach <sab@openoffice.org> | 2002-11-11 12:59:36 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2002-11-11 12:59:36 +0000 |
commit | 3832e1c3a19b26f8749f15ffd8805e3eb43c812e (patch) | |
tree | 53339299c8d1172a5959488ed7110d6bae679ea7 /sc/source/ui/drawfunc/drawsh2.cxx | |
parent | 0b0b06d6bfd1dc90a71a509fad9c6e311a536bcb (diff) |
#91929#; test whether SvInPlaceObject is
Diffstat (limited to 'sc/source/ui/drawfunc/drawsh2.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/drawsh2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/drawfunc/drawsh2.cxx b/sc/source/ui/drawfunc/drawsh2.cxx index f422957d2..c67fd0274 100644 --- a/sc/source/ui/drawfunc/drawsh2.cxx +++ b/sc/source/ui/drawfunc/drawsh2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: drawsh2.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: sab $ $Date: 2002-11-11 13:40:33 $ + * last change: $Author: sab $ $Date: 2002-11-11 13:59:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -205,7 +205,7 @@ void ScDrawShell::GetDrawFuncState( SfxItemSet& rSet ) // Funktionen disablen if ( nObjType == OBJ_OLE2 ) { SdrOle2Obj* pOleObj = static_cast<SdrOle2Obj*>(rMarkList.GetMark( 0 )->GetObj()); - if (pOleObj && ((pOleObj->GetObjRef()->GetMiscStatus() & SVOBJ_MISCSTATUS_SERVERRESIZE) == SVOBJ_MISCSTATUS_SERVERRESIZE)) + if (pOleObj->GetObjRef().Is() && ((pOleObj->GetObjRef()->GetMiscStatus() & SVOBJ_MISCSTATUS_SERVERRESIZE) == SVOBJ_MISCSTATUS_SERVERRESIZE)) rSet.DisableItem(SID_ORIGINALSIZE); } } |