summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/swruler.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/swruler.hxx')
-rw-r--r--sw/source/uibase/inc/swruler.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/swruler.hxx b/sw/source/uibase/inc/swruler.hxx
index 2dac3e6c7926..6c903f9ca9a5 100644
--- a/sw/source/uibase/inc/swruler.hxx
+++ b/sw/source/uibase/inc/swruler.hxx
@@ -18,6 +18,7 @@ class SwViewShell;
class View;
namespace vcl { class Window; }
class SwEditWin;
+namespace tools { class JsonWriter; }
/**
* An horizontal ruler with a control for comment panel visibility for Writer.
@@ -42,7 +43,7 @@ public:
* \param rRect ignored
*/
virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override;
- std::string CreateJsonNotification();
+ void CreateJsonNotification(tools::JsonWriter& rJsonWriter);
private:
SwViewShell * mpViewShell; //< Shell to check if there is any comments on doc and their visibility