From 0a19bf808bd6871825296c03993f5a6b49286802 Mon Sep 17 00:00:00 2001 From: "Frank Schoenheit [fs]" Date: Fri, 21 May 2010 15:44:37 +0200 Subject: unoawt: fixed a bug found by GCC's compiler warning --- svtools/source/uno/wizard/unowizard.cxx | 2 +- svtools/source/uno/wizard/wizardshell.hxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'svtools') diff --git a/svtools/source/uno/wizard/unowizard.cxx b/svtools/source/uno/wizard/unowizard.cxx index 3169f5342f50..ae9109fdfa00 100644 --- a/svtools/source/uno/wizard/unowizard.cxx +++ b/svtools/source/uno/wizard/unowizard.cxx @@ -418,7 +418,7 @@ namespace svt { namespace uno WizardShell* pWizardImpl = dynamic_cast< WizardShell* >( m_pDialog ); ENSURE_OR_RETURN_VOID( pWizardImpl, "Wizard::activatePath: invalid dialog implementation!" ); - pWizardImpl->activatePath( i_PathIndex ); + pWizardImpl->activatePath( i_PathIndex, i_Final ); } //------------------------------------------------------------------------------------------------------------------ diff --git a/svtools/source/uno/wizard/wizardshell.hxx b/svtools/source/uno/wizard/wizardshell.hxx index 4c44f5512d58..b20c9bd6678a 100644 --- a/svtools/source/uno/wizard/wizardshell.hxx +++ b/svtools/source/uno/wizard/wizardshell.hxx @@ -84,9 +84,9 @@ namespace svt { namespace uno sal_Bool travelNext() { return WizardShell_Base::travelNext(); } sal_Bool travelPrevious() { return WizardShell_Base::travelPrevious(); } - void activatePath( const sal_Int16 i_nPathID ) + void activatePath( const sal_Int16 i_nPathID, const sal_Bool i_bFinal ) { - WizardShell_Base::activatePath( PathId( i_nPathID ) ); + WizardShell_Base::activatePath( PathId( i_nPathID ), i_bFinal ); } ::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XWizardPage > -- cgit