diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-05-12 09:38:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-05-12 10:09:26 +0100 |
commit | 71c4a2b761885c2d5515e89fd5aedf7d1e8a249b (patch) | |
tree | c8d9cbd035e2dcf601c18ef28cbb12f4f043295f /include/vcl/svapp.hxx | |
parent | Massage code to avoid warnings (diff) | |
download | core-71c4a2b761885c2d5515e89fd5aedf7d1e8a249b.tar.gz core-71c4a2b761885c2d5515e89fd5aedf7d1e8a249b.zip |
mpDefDialogParent is not used since 2002
i.e.
commit c0ae87cb5f2989bc4b8dff4907994d513ee87e39
Author: Stephan Schäfer <ssa@openoffice.org>
Date: Tue Oct 22 08:39:05 2002 +0000
#103442# choose DefDialogParent on-the-fly
and so calling SetDefDialogParent doesn't achieve anything
Change-Id: I2ec72da47b2dac03fdddbdb9eba5ae4bf205eb22
Diffstat (limited to 'include/vcl/svapp.hxx')
-rw-r--r-- | include/vcl/svapp.hxx | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx index c946b353440b..639433b01fb2 100644 --- a/include/vcl/svapp.hxx +++ b/include/vcl/svapp.hxx @@ -1165,24 +1165,14 @@ public: */ ///@{ - /** Set the default parent window for dialog boxes. - - @param pWindow Pointer to window that should be the default parent. - - @remark You can set pWindow to NULL, which means there \em is no default parent. - - @see GetDefDialogParent - */ - static void SetDefDialogParent( vcl::Window* pWindow ); - /** Get the default parent window for dialog boxes. @remark GetDefDialogParent does all sorts of things find a useful parent - window for dialogs. If it can't find one (it wasn't set!) then it - first uses the topmost parent of the active window to avoid using - floating windows or other dialog boxes. If there are no active - windows, then it will take a random stab and choose the first visible - top window. Otherwise, it defaults to the desktop. + window for dialogs. It first uses the topmost parent of the active + window to avoid using floating windows or other dialog boxes. If + there are no active windows, then it will take a random stab and + choose the first visible top window. Otherwise, it defaults to + the desktop. @returns Pointer to the default window. */ |