summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-03-23 12:24:10 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-03-23 12:24:10 +0000
commit4a50a1b0509df457c6bd53891ee79fdc4acbfb4e (patch)
treeb17000fb291ad41771fc41de7f50c555623a43a1
parent1d533feadc2d00e9cf9b85ffae0656450f638df7 (diff)
INTEGRATION: CWS sj16 (1.37.18); FILE MERGED
2005/03/11 04:50:42 sj 1.37.18.2: RESYNC: (1.37-1.39); FILE MERGED 2005/02/11 15:58:44 sj 1.37.18.1: #i40609# solved maping problem with Page VDev when exporting whole page
-rw-r--r--sd/source/ui/view/sdview.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index 7ddfd4f5c483..476d00e2a3cd 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sdview.cxx,v $
*
- * $Revision: 1.40 $
+ * $Revision: 1.41 $
*
- * last change: $Author: obo $ $Date: 2005-03-15 11:21:57 $
+ * last change: $Author: vg $ $Date: 2005-03-23 13:24:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -966,10 +966,13 @@ VirtualDevice* View::CreatePageVDev(USHORT nSdPage, PageKind ePageKind,
> void CompleteRedraw( ... );
*/
+ pVDev->Push(); //SJ: i40609, the vdev mapmode seems to be dangled after CompleteRedraw,
+ //so we are pushing here, because the mapmode is used afterwards
// temporary for gcc
Point aPoint( 0, 0 );
Region aRegion (Rectangle( aPoint, aPageSize ) );
pView->CompleteRedraw(pVDev, aRegion);
+ pVDev->Pop();
delete pView;
return pVDev;
}