diff options
author | Kai Ahrens <ka@openoffice.org> | 2001-08-09 13:53:33 +0000 |
---|---|---|
committer | Kai Ahrens <ka@openoffice.org> | 2001-08-09 13:53:33 +0000 |
commit | 21aeaa4b5273a296c8050164218fed5c7e492480 (patch) | |
tree | f582a05bf8a89d479ae47b0a562fa3a338c88ccb /sd/source/ui/view/sdview2.cxx | |
parent | 36e8b2d3dc2f33467b216dd632ea371a2444e19b (diff) |
#90757#: don't insert pages but PK_STANDARD
Diffstat (limited to 'sd/source/ui/view/sdview2.cxx')
-rw-r--r-- | sd/source/ui/view/sdview2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx index ba88cee16d33..5afc90f3a3be 100644 --- a/sd/source/ui/view/sdview2.cxx +++ b/sd/source/ui/view/sdview2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sdview2.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: cl $ $Date: 2001-07-26 09:43:39 $ + * last change: $Author: ka $ $Date: 2001-08-09 14:52:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -377,7 +377,7 @@ void __EXPORT SdView::DoPaste( Window* pWindow ) SdDrawDocShell* pDataDocSh = (SdDrawDocShell*) pObj; SdDrawDocument* pDataDoc = pDataDocSh->GetDoc(); - if( pDataDoc && pDataDoc->GetPageCount() > 1 ) + if( pDataDoc && pDataDoc->GetSdPageCount( PK_STANDARD ) > 1 ) { // Dokument hat mehrere Seiten -> Seiten einfuegen bPagesInserted = TRUE; |