sfx2/source/doc/objserv.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit db76236efd5a6ec5d6f94e700a70408c916f8c91
Author:     Muhammet Kara <muhammet.k...@collabora.com>
AuthorDate: Fri Mar 29 12:38:13 2019 +0300
Commit:     Muhammet Kara <muhammet.k...@collabora.com>
CommitDate: Fri Mar 29 12:45:07 2019 +0100

    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.k...@collabora.com>

diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 99ec1b9892ee..97e3734835a9 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;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to