summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-11-05 18:40:52 +0530
committerpranavk <pranavk@collabora.co.uk>2017-11-09 04:14:38 +0100
commit25822ff930edd13442442a47714755a99fbb9992 (patch)
tree8aaef28ba7aca657bf2e681dcf15c312617ed179 /include/vcl
parent446a37ece35dbe4c442f0679dd1cb4df79ed87a7 (diff)
lokdialog: Move getting dialog information in separate LOK call
Using outparameters to get the dialog information with the paintDialog call was quite confusing. Change-Id: Ief331b251dc66e66084b827ce5b025ba6c9ce7d2 Reviewed-on: https://gerrit.libreoffice.org/44473 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/IDialogRenderable.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/vcl/IDialogRenderable.hxx b/include/vcl/IDialogRenderable.hxx
index 2574cf5430db..87630d5c2f1d 100644
--- a/include/vcl/IDialogRenderable.hxx
+++ b/include/vcl/IDialogRenderable.hxx
@@ -28,8 +28,9 @@ class VCL_DLLPUBLIC IDialogRenderable
public:
virtual ~IDialogRenderable();
- virtual void paintDialog(const DialogID& rDialogID, VirtualDevice &rDevice,
- OUString& rDialogTitle, int& nOutputWidth, int& nOutputHeight) = 0;
+ virtual void paintDialog(const DialogID& rDialogID, VirtualDevice &rDevice) = 0;
+
+ virtual void getDialogInfo(const DialogID& rDialogID, OUString& rDialogTitle, int& rWidth, int& rHeight) = 0;
virtual void paintActiveFloatingWindow(const DialogID& rDialogID, VirtualDevice &rDevice,
int& nOutputWidth, int& nOutputHeight) = 0;