diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-06 15:28:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-06 15:28:34 +0000 |
commit | afbfec0ee3e58e36437f0b36f2d1df13c60e1968 (patch) | |
tree | 17c2ab065ea863f6173599c1f9c14041794815f1 /vcl | |
parent | 90e8634986614657283ea97a87f7719e0bc38014 (diff) |
Revert "Install a Cancel callback, don't rely on vcl searching for a parent to close"
This reverts commit 5d846ebeb55b1e295fb53f473f0fb2b88712e001, fixed
the offending writer field dialog in master, but don't need this
infrastucture for 3-5, so take safer option and use tranditional
behaviour
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/button.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 25e8de594664..ac88195eca9c 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -1772,7 +1772,6 @@ OKButton::OKButton( Window* pParent, const ResId& rResId ) : void OKButton::Click() { - SAL_WARN_IF(!GetClickHdl(), "vcl", "No handler installed for OKButton"); // Ist kein Link gesetzt, dann schliesse Parent if ( !GetClickHdl() ) { @@ -1839,7 +1838,6 @@ CancelButton::CancelButton( Window* pParent, const ResId& rResId ) : void CancelButton::Click() { - SAL_WARN_IF(!GetClickHdl(), "vcl", "No handler installed for CancelButton"); // Ist kein Link gesetzt, dann schliesse Parent if ( !GetClickHdl() ) { @@ -1906,7 +1904,6 @@ HelpButton::HelpButton( Window* pParent, const ResId& rResId ) : void HelpButton::Click() { - SAL_WARN_IF(!GetClickHdl(), "vcl", "No handler installed for HelpButton"); // Ist kein Link gesetzt, loese Hilfe aus if ( !GetClickHdl() ) { |