summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-03-29 12:38:13 +0300
committerAndras Timar <andras.timar@collabora.com>2019-04-09 11:13:29 +0200
commit10936a49e0e85f6168aee88595506446d08e0d27 (patch)
treeeffd04bae5301ceccc061ed1721bb34e7d4437d0 /sfx2
parent67b54d45e9db0535d326b9331722f0199189ee30 (diff)
Enable redaction for Impress
After the commit c2330b14e2bfa170131a83c375ec0b1a91c95415, different page sizes and orientations are handled properly, and Impress pages are converted to Draw perfectly. Change-Id: Ib9ab6b298e12fc0d8e9440bf63f31ad6dd05ab35 Reviewed-on: https://gerrit.libreoffice.org/69910 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com> (cherry picked from commit db76236efd5a6ec5d6f94e700a70408c916f8c91) Reviewed-on: https://gerrit.libreoffice.org/69917 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objserv.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 3a1a7f0da512..f6fd9ed3e553 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -544,12 +544,6 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
bool bIsWriter = aRenderer.isWriter();
bool bIsCalc = aRenderer.isCalc();
- if (!bIsWriter && !bIsCalc)
- {
- SAL_WARN( "sfx.doc", "Redaction is supported only for Writer and Calc! (for now...)");
- return;
- }
-
sal_Int32 nPages = aRenderer.getPageCount();
std::vector< GDIMetaFile > aMetaFiles;