diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-11-30 23:35:05 +0530 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2017-12-04 17:14:00 +0530 |
commit | ec09f526114ef289e7a0a7804f443f2b16a67f15 (patch) | |
tree | 0768791d7bc516b03977d7789f7efc047e62a012 /vcl | |
parent | 2f2679a56c0ae5dbcab6a0e6aa523587ecdc84fe (diff) |
lokdialog: Kill some code; use already existing method to paint
This is not require now in the new approach where the dialog is already
created by the time paint request call for dialog happens. Layouting is
already complete by that time.
Change-Id: I610b050a268e61e8d4036aa7eb5766cf0c8b37e0
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dialog.cxx | 11 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 9 |
2 files changed, 0 insertions, 20 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 59fcf1518eff..5ef3c0fb0238 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -882,17 +882,6 @@ bool Dialog::selectPageByUIXMLDescription(const OString& /*rUIXMLDescription*/) return true; } -void Dialog::paintDialog(VirtualDevice& rDevice) -{ - setDeferredProperties(); - ImplAdjustNWFSizes(); - Show(); - ToTop(); - ensureRepaint(); - - PaintToDevice(&rDevice, Point(0, 0), Size()); -} - void Dialog::InvalidateFloatingWindow(const Point& rPos) { if (const vcl::ILibreOfficeKitNotifier* pNotifier = GetLOKNotifier()) diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 26a63eea7870..2e6669e46904 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -3203,15 +3203,6 @@ vcl::LOKWindowId Window::GetLOKWindowId() const return mpWindowImpl->mnLOKWindowId; } -void Window::paintDialog(VirtualDevice& rDevice) -{ - // FIXME are these two necessary? - Show(); - ToTop(); - - PaintToDevice(&rDevice, Point(0, 0), Size()); -} - Size Window::PaintActiveFloatingWindow(VirtualDevice& rDevice) const { Size aRet; |