summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-03-29 12:38:13 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-06-17 22:52:12 +0200
commit0e6c070d083157bd3fbd3dbe2fba51520b08774c (patch)
tree1ee2a8dd586372fb111358c289dae50498151418 /sfx2
parent169d37f12dc427edd29de7a2a77edd4f5bff08f3 (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> Reviewed-on: https://gerrit.libreoffice.org/74217 Tested-by: Muhammet Kara <muhammet.kara@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 ffd7643658af..a34ad5c24113 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -556,12 +556,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;