diff options
-rw-r--r-- | sc/inc/drawpage.hxx | 5 | ||||
-rw-r--r-- | sc/source/core/data/drawpage.cxx | 10 |
2 files changed, 11 insertions, 4 deletions
diff --git a/sc/inc/drawpage.hxx b/sc/inc/drawpage.hxx index e75d2739f5e5..f0189798149f 100644 --- a/sc/inc/drawpage.hxx +++ b/sc/inc/drawpage.hxx @@ -2,9 +2,9 @@ * * $RCSfile: drawpage.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:44:49 $ + * last change: $Author: nn $ $Date: 2001-03-16 19:52:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -78,6 +78,7 @@ public: ~ScDrawPage(); virtual void RequestBasic(); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoPage(); }; diff --git a/sc/source/core/data/drawpage.cxx b/sc/source/core/data/drawpage.cxx index 7a6947469257..3a94baff85ca 100644 --- a/sc/source/core/data/drawpage.cxx +++ b/sc/source/core/data/drawpage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: drawpage.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: nn $ $Date: 2000-12-11 18:02:18 $ + * last change: $Author: nn $ $Date: 2001-03-16 19:52:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -285,6 +285,7 @@ #include "drawpage.hxx" #include "drwlayer.hxx" #include "document.hxx" +#include "pageuno.hxx" // STATIC DATA ----------------------------------------------------------- @@ -312,6 +313,11 @@ void __EXPORT ScDrawPage::RequestBasic() SetBasic(pDocSh->GetBasic()); } +// ----------------------------------------------------------------------- +::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ScDrawPage::createUnoPage() +{ + return static_cast<cppu::OWeakObject*>( new ScPageObj( this ) ); +} |