[Libreoffice-commits] core.git: sfx2/inc

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 26 15:23:34 UTC 2019


 sfx2/inc/SfxRedactionHelper.hxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 2849104773b4a32c8582e5e2c989bfc73f90274c
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Tue Nov 26 14:53:44 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Tue Nov 26 16:22:20 2019 +0100

    Comment the searchInMetaFile method
    
    Change-Id: Icbf1f852f8deb5392a820b46db4da19aef30f491
    Reviewed-on: https://gerrit.libreoffice.org/83757
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/sfx2/inc/SfxRedactionHelper.hxx b/sfx2/inc/SfxRedactionHelper.hxx
index 65835d75f8eb..d30284791439 100644
--- a/sfx2/inc/SfxRedactionHelper.hxx
+++ b/sfx2/inc/SfxRedactionHelper.hxx
@@ -98,6 +98,10 @@ public:
      * */
     static PageMargins getPageMarginsForCalc(const css::uno::Reference<css::frame::XModel>& xModel);
 
+    /*
+     * Used to find the text portions to be redacted. Returns a list of rectangles to cover those
+     * areas to be redacted. Probably the most crucial part of the auto-redaction process.
+     * */
     static void searchInMetaFile(const RedactionTarget* pRedactionTarget, const GDIMetaFile& rMtf,
                                  std::vector<tools::Rectangle>& aRedactionRectangles,
                                  const uno::Reference<XComponent>& xComponent);


More information about the Libreoffice-commits mailing list