summaryrefslogtreecommitdiff
path: root/basctl/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-05-10 13:22:40 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-05-10 13:22:40 +0000
commitbd2c93250dd5f809bbd977cacd3e25648b46b30c (patch)
treecc9f93487b507fe9cb6220dde82917853744d911 /basctl/source
parentb97ba0e20b66cca99c28fec422baa0fa42d867c1 (diff)
INTEGRATION: CWS aw009 (1.34.40); FILE MERGED
2004/04/26 10:48:04 aw 1.34.40.1: #116235#
Diffstat (limited to 'basctl/source')
-rw-r--r--basctl/source/dlged/dlgedobj.cxx16
1 files changed, 11 insertions, 5 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx
index a7eba27013d0..2a17d7a611e0 100644
--- a/basctl/source/dlged/dlgedobj.cxx
+++ b/basctl/source/dlged/dlgedobj.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dlgedobj.cxx,v $
*
- * $Revision: 1.34 $
+ * $Revision: 1.35 $
*
- * last change: $Author: hr $ $Date: 2004-02-04 13:22:27 $
+ * last change: $Author: hr $ $Date: 2004-05-10 14:22:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -811,9 +811,15 @@ SdrObject* DlgEdObj::Clone() const
SdrObject* DlgEdObj::Clone(SdrPage* _pPage, SdrModel* _pModel) const // not working yet
{
- SdrObject* pReturn = SdrUnoObj::Clone(_pPage, _pModel);
- if (!pReturn)
- return pReturn;
+ // #116235#
+ //SdrObject* pReturn = SdrUnoObj::Clone(_pPage, _pModel);
+ SdrObject* pReturn = SdrUnoObj::Clone();
+
+ if(pReturn)
+ {
+ pReturn->SetModel(_pModel);
+ pReturn->SetPage(_pPage);
+ }
return pReturn;
}