summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 17:37:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 10:21:08 +0200
commit99d4b08d05c6edba43675661c70736a2a062af21 (patch)
treee6b458564c45dafd7b96957ddc2a65b632ea293c /svtools
parent56a2bc14b5ca23e26b33b3c55a026b81bbeb244b (diff)
WizardDialog::DeactivatePage return type wants to be bool
Change-Id: Ib44006e339a4e1ee9b5c9201e48861fceef865fd
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/wizardmachine.cxx6
-rw-r--r--svtools/source/dialogs/wizdlg.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx
index 4339551d35dc..6cc223397b54 100644
--- a/svtools/source/dialogs/wizardmachine.cxx
+++ b/svtools/source/dialogs/wizardmachine.cxx
@@ -270,12 +270,12 @@ namespace svt
}
- long OWizardMachine::DeactivatePage()
+ bool OWizardMachine::DeactivatePage()
{
WizardState nCurrentState = getCurrentState();
if (!leaveState(nCurrentState) || !WizardDialog::DeactivatePage())
- return sal_False;
- return sal_True;
+ return false;
+ return true;
}
diff --git a/svtools/source/dialogs/wizdlg.cxx b/svtools/source/dialogs/wizdlg.cxx
index e52031383900..5c42e0c6f93e 100644
--- a/svtools/source/dialogs/wizdlg.cxx
+++ b/svtools/source/dialogs/wizdlg.cxx
@@ -480,12 +480,12 @@ void WizardDialog::ActivatePage()
-long WizardDialog::DeactivatePage()
+bool WizardDialog::DeactivatePage()
{
if ( maDeactivateHdl.IsSet() )
return maDeactivateHdl.Call( this );
else
- return sal_True;
+ return true;
}