summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-19 10:52:20 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-19 11:23:57 +0000
commit778e9a65bf5af07c4caeff969a0324e43a78e66b (patch)
treea5204f0d3eaf2f512a627eeb9e74d42e7e80b54f /vcl/source/window
parent541c4c4509863beb7babe361b31e27f7295e3069 (diff)
new loplugin: find write-only fields
Change-Id: I0f83939babacf92485420ee63f290a297d7cb717 Reviewed-on: https://gerrit.libreoffice.org/22498 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/dialog.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index ce0d6f1a0a5e..46dcef989a99 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -659,7 +659,6 @@ bool Dialog::Notify( NotifyEvent& rNEvt )
// have re-enabled input for our parent
if( mbInExecute && mbModalMode )
{
- // do not change modal counter (pSVData->maAppData.mnModalDialog)
SetModalInputMode( false );
SetModalInputMode( true );
@@ -1009,12 +1008,9 @@ void Dialog::SetModalInputMode( bool bModal )
if ( bModal == mbModalMode )
return;
- ImplSVData* pSVData = ImplGetSVData();
mbModalMode = bModal;
if ( bModal )
{
- pSVData->maAppData.mnModalDialog++;
-
// Disable the prev Modal Dialog, because our dialog must close at first,
// before the other dialog can be closed (because the other dialog
// is on stack since our dialog returns)
@@ -1034,8 +1030,6 @@ void Dialog::SetModalInputMode( bool bModal )
}
else
{
- pSVData->maAppData.mnModalDialog--;
-
if ( mpDialogParent )
{
// #115933# re-enable the whole frame hierarchy again (see above)