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 | ce87111285f6adcd1197ab6d0ae7a7b8d2e2ca82 (patch) | |
tree | 3d7f172cff679565d8e799759d2f366e7e00ba58 /sc/source/ui/drawfunc/drawsh2.cxx | |
parent | e78d1aaf4f181bca0641fc6174c0d227482a9a9c (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 81e774313e01..6d31b0b42871 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 disabl 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); } } |