summaryrefslogtreecommitdiff
path: root/desktop/inc
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2019-02-15 09:23:58 -0500
committerAshod Nakashian <ashnakash@gmail.com>2019-02-22 15:39:09 +0100
commit5f978a3b8d2cdab29aef4544dfb66ad755dfdc3f (patch)
treee3c6b86e62209d51e864a89281f70b29d5ca59e9 /desktop/inc
parent75be2ba9fb9ab443480903f31b873f4101d1fdc2 (diff)
LOK: always update the payload string via the cache
Change-Id: I090ceb7d214d0809e86b023a8806b6655627918a Reviewed-on: https://gerrit.libreoffice.org/67894 Tested-by: Jenkins Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'desktop/inc')
-rw-r--r--desktop/inc/lib/init.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx
index be96814820ce..2ba5595d8b46 100644
--- a/desktop/inc/lib/init.hxx
+++ b/desktop/inc/lib/init.hxx
@@ -102,6 +102,8 @@ namespace desktop {
/// Parse and set the RectangleAndPart object and return it. Clobbers PayloadString.
RectangleAndPart& setRectangleAndPart(const std::string& payload);
+ /// Set a RectangleAndPart object and update PayloadString.
+ void setRectangleAndPart(const RectangleAndPart& rRectAndPart);
/// Return the parsed RectangleAndPart instance.
const RectangleAndPart& getRectangleAndPart() const;
/// Parse and set the JSON object and return it. Clobbers PayloadString.