summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objembed.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2009-04-23 12:23:13 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2009-04-23 12:23:13 +0000
commit726701315f0f5a0a411975c745ef0764f73eef3e (patch)
tree6f3cb368b75e8c7432f2f534d123b38dfa04af9b /sfx2/source/doc/objembed.cxx
parentb9392a36645d8632b97ad79240f483b3a1683b61 (diff)
CWS-TOOLING: integrate CWS cmcfixes57
2009-04-16 14:44:54 +0200 cmc r270885 : #i101062# add in uui fix and stray ^M fixes 2009-04-16 10:57:50 +0200 cmc r270872 : #i101127# remove && || warnings 2009-04-15 17:04:23 +0200 cmc r270857 : #i101112# remove trivial new gcc warnings 2009-04-15 17:01:01 +0200 cmc r270856 : #i101111# remove trivial new warnings 2009-04-15 16:56:53 +0200 cmc r270854 : #i101110# make methods consts 2009-04-15 16:52:37 +0200 cmc r270853 : #i100225# fix visibility of component_getImplementationEnvironment and friends 2009-04-15 16:49:16 +0200 cmc r270852 : #i101109# ? : promotion rules
Diffstat (limited to 'sfx2/source/doc/objembed.cxx')
-rw-r--r--sfx2/source/doc/objembed.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/doc/objembed.cxx b/sfx2/source/doc/objembed.cxx
index a5090dcf7ac4..235451b8c3dd 100644
--- a/sfx2/source/doc/objembed.cxx
+++ b/sfx2/source/doc/objembed.cxx
@@ -277,10 +277,12 @@ void SfxObjectShell::DoDraw_Impl( OutputDevice* pDev,
GDIMetaFile * pMtf = pDev->GetConnectMetaFile();
if( pMtf )
+ {
if( pMtf->IsRecord() && pDev->GetOutDevType() != OUTDEV_PRINTER )
pMtf->Stop();
else
pMtf = NULL;
+ }
// #ifndef UNX
if( pDev->IsClipRegion() && pDev->GetOutDevType() != OUTDEV_PRINTER )
// #endif