summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-06-09 14:10:29 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-06-09 14:10:29 +0000
commitea50bdf30f567f0cfd49893561359e055f7e1aed (patch)
tree11888299409594ce1e8531a63bb9db33128ea9b9 /sd
parentf0134e4cc08e5b29d7ad2cdbd918d37f5bc1607c (diff)
INTEGRATION: CWS impress141 (1.15.302); FILE MERGED
2008/04/21 09:27:03 cl 1.15.302.2: RESYNC: (1.15-1.16); FILE MERGED 2008/04/15 14:55:27 sj 1.15.302.1: #i67371# added possibility to disable/enable previews when exporting to ppt,excel and or word
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/sdpptwrp.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/filter/sdpptwrp.cxx b/sd/source/filter/sdpptwrp.cxx
index 89c97fa1edcc..7d386623c9b2 100644
--- a/sd/source/filter/sdpptwrp.cxx
+++ b/sd/source/filter/sdpptwrp.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sdpptwrp.cxx,v $
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
* This file is part of OpenOffice.org.
*
@@ -158,6 +158,8 @@ sal_Bool SdPPTFilter::Export()
nCnvrtFlags |= OLE_STARCALC_2_EXCEL;
if ( pFilterOptions->IsImpress2PowerPoint() )
nCnvrtFlags |= OLE_STARIMPRESS_2_POWERPOINT;
+ if ( pFilterOptions->IsEnablePPTPreview() )
+ nCnvrtFlags |= 0x8000;
}
mrDocument.SetSwapGraphicsMode( SDR_SWAPGRAPHICSMODE_TEMP );