diff options
author | Niklas Nebel <nn@openoffice.org> | 2001-03-16 18:52:42 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2001-03-16 18:52:42 +0000 |
commit | 7de063b822c134e14d56d33068a80fa804e97b1e (patch) | |
tree | faf7ea970cdc2ef7d888b7b5b20fed483c85dcf4 /sc/source/core/data/drawpage.cxx | |
parent | b3d46b16be20a1aceaeb76fb9648a015c86472ff (diff) |
createUnoPage: use own subclass of page uno object
Diffstat (limited to 'sc/source/core/data/drawpage.cxx')
-rw-r--r-- | sc/source/core/data/drawpage.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
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 ) ); +} |