[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sfx2/source

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Tue Apr 9 09:13:51 UTC 2019


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

New commits:
commit 10936a49e0e85f6168aee88595506446d08e0d27
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Fri Mar 29 12:38:13 2019 +0300
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Apr 9 11:13:29 2019 +0200

    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 at collabora.com>
    (cherry picked from commit db76236efd5a6ec5d6f94e700a70408c916f8c91)
    Reviewed-on: https://gerrit.libreoffice.org/69917
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

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;
 


More information about the Libreoffice-commits mailing list