[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-4' - kit/ChildSession.cpp

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Feb 8 21:28:13 UTC 2019


 kit/ChildSession.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3f266d5d6899b7b4bc3a9cf548842629c04510af
Author:     merttumer <mert.tumer at collabora.com>
AuthorDate: Fri Feb 8 20:32:19 2019 +0300
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Fri Feb 8 22:27:56 2019 +0100

    Added passing watermark text to saveAs for tiled watermark
    
    Change-Id: I6a69c414e44b9a3c095d00b4101dd07b11d3fbb0
    Signed-off-by: merttumer <mert.tumer at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/67552
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index 2b8534c01..86c6dfe24 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -854,6 +854,8 @@ bool ChildSession::downloadAs(const char* /*buffer*/, int /*length*/, const std:
         {
             filterOptions += Poco::cat(std::string(" "), tokens.begin() + 5, tokens.end());
         }
+        //HACK = add watermark to filteroptions
+        filterOptions += std::string(",Watermark=") + getWatermarkText() + std::string("WATERMARKEND");
     }
 
     // The file is removed upon downloading.


More information about the Libreoffice-commits mailing list