kit/ChildSession.cpp | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 3f266d5d6899b7b4bc3a9cf548842629c04510af
Author: merttumer <[email protected]>
AuthorDate: Fri Feb 8 20:32:19 2019 +0300
Commit: Andras Timar <[email protected]>
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 <[email protected]>
Reviewed-on: https://gerrit.libreoffice.org/67552
Reviewed-by: Andras Timar <[email protected]>
Tested-by: Andras Timar <[email protected]>
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.
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits