diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-11-05 18:40:52 +0530 |
---|---|---|
committer | pranavk <pranavk@collabora.co.uk> | 2017-11-09 04:14:38 +0100 |
commit | 25822ff930edd13442442a47714755a99fbb9992 (patch) | |
tree | 8aaef28ba7aca657bf2e681dcf15c312617ed179 /include/vcl | |
parent | 446a37ece35dbe4c442f0679dd1cb4df79ed87a7 (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.hxx | 5 |
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; |