summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2020-05-07 18:45:28 -0400
committerHenry Castro <hcastro@collabora.com>2020-05-21 00:45:14 +0200
commitf228d4af56769f2d81915a969c95fee0e088235b (patch)
treef1c9acefeaf1578456af34df17c154287f10ac26 /include
parentc275d167ff96941966db5ac7c42daeb0f83f774a (diff)
lok: override get_state of the MetricFieldObject class
used for unit testing Change-Id: I7d8ed976837b488bfb22d865583b8d4f1f0978ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93776 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Henry Castro <hcastro@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94524 Tested-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/field.hxx1
-rw-r--r--include/vcl/uitest/uiobject.hxx2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index b116615488e1..654dbbe77780 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -154,6 +154,7 @@ public:
sal_Int64 Normalize( sal_Int64 nValue ) const;
sal_Int64 Denormalize( sal_Int64 nValue ) const;
+ OUString GetValueString() const;
virtual void SetValueFromString(const OUString& rStr);
protected:
diff --git a/include/vcl/uitest/uiobject.hxx b/include/vcl/uitest/uiobject.hxx
index d1377a811f12..03d45ba59051 100644
--- a/include/vcl/uitest/uiobject.hxx
+++ b/include/vcl/uitest/uiobject.hxx
@@ -395,6 +395,8 @@ public:
virtual void execute(const OUString& rAction,
const StringMap& rParameters) override;
+ virtual StringMap get_state() override;
+
static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
protected: