diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2012-04-12 16:05:23 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2012-04-12 16:06:47 +0530 |
commit | 03a651507e34ee423674d2a537f2bb4b509af6d6 (patch) | |
tree | e5be6bc4ab38ee8a95fe16cb449b1c98f1d0e107 /svx | |
parent | 032439617e4c82980d909dd09e10a47471d70aec (diff) |
n#717947: Fixed pdf export (of images).
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/contact/viewobjectcontactofgraphic.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx b/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx index 75581d6e39bf..c43d4cfa9f8c 100644 --- a/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx @@ -130,7 +130,7 @@ namespace sdr } else { - if(rObjectContact.isOutputToPrinter()) + if(rObjectContact.isOutputToPrinter() || rObjectContact.isOutputToPDFFile()) { // #i76395# preview mechanism is only active if // swapin is called from inside paint preparation, so mbInsidePaint @@ -182,7 +182,7 @@ namespace sdr { ObjectContact& rObjectContact = GetObjectContact(); - if(rObjectContact.isOutputToPrinter()) + if(rObjectContact.isOutputToPrinter() || rObjectContact.isOutputToPDFFile()) { // #i76395# preview mechanism is only active if // swapin is called from inside paint preparation, so mbInsidePaint @@ -195,7 +195,7 @@ namespace sdr rGrafObj.mbInsidePaint = true; rGrafObj.ForceSwapIn(); rGrafObj.mbInsidePaint = false; - } + } bRetval = true; } |