diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-02-21 15:04:22 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-02-21 15:04:22 +0000 |
commit | c42db456e62a9911871f06974a08c5287df6ccef (patch) | |
tree | fcdd4eaeca1d53cd0566dd6b1541c912f932d666 | |
parent | 78f4f02c15d6cf0376186c06c5f2a751866d6680 (diff) |
INTEGRATION: CWS calc29 (1.36.16); FILE MERGED
2005/02/01 19:44:24 nn 1.36.16.1: #i36896# overload DoConnect, call ConnectObject
-rw-r--r-- | sc/source/ui/view/drawview.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx index dad63f8a969e..f5ee7b86aa76 100644 --- a/sc/source/ui/view/drawview.cxx +++ b/sc/source/ui/view/drawview.cxx @@ -2,9 +2,9 @@ * * $RCSfile: drawview.cxx,v $ * - * $Revision: 1.36 $ + * $Revision: 1.37 $ * - * last change: $Author: kz $ $Date: 2005-01-13 17:23:47 $ + * last change: $Author: vg $ $Date: 2005-02-21 16:04:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -428,6 +428,15 @@ void ScDrawView::RecalcScale() // pObject->Paint( *pXOut, aInfoRec ); //} +void ScDrawView::DoConnect(SdrOle2Obj* pOleObj) +{ + // needed for plug-ins etc. + // query for status embed::EmbedMisc::MS_EMBED_ACTIVATEWHENVISIBLE is in SdrOle2Obj::DoPaintObject + + if ( pViewData ) + pViewData->GetViewShell()->ConnectObject( pOleObj ); +} + void __EXPORT ScDrawView::MarkListHasChanged() { FmFormView::MarkListHasChanged(); |