diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-05 14:29:59 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 19:56:31 +0100 |
commit | 99ff2fcfb546e4a85042e4222677aac617bdc19b (patch) | |
tree | e5cb65babf493f0e7fa14a9ffa33ce1b3e5a229e /include/vcl/dialog.hxx | |
parent | d904316d3da61fdaedf68ebfb6d75abda49600f1 (diff) |
vcl: add cast operator to VclReference to convert to pointer
so we don't have to call .get() everywhere
Change-Id: If6ccd7dcf1a492b1e7703956ecbe8e5ac2dd0fb7
Diffstat (limited to 'include/vcl/dialog.hxx')
-rw-r--r-- | include/vcl/dialog.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx index e937c81824b2..8dad86385b34 100644 --- a/include/vcl/dialog.hxx +++ b/include/vcl/dialog.hxx @@ -89,8 +89,8 @@ public: virtual void queue_resize(StateChangedType eReason = StateChangedType::LAYOUT) SAL_OVERRIDE; virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE; - VclButtonBox* get_action_area() { return mpActionArea.get(); } - VclBox* get_content_area() { return mpContentArea.get(); } + VclButtonBox* get_action_area() { return mpActionArea; } + VclBox* get_content_area() { return mpContentArea; } virtual bool Close() SAL_OVERRIDE; |