summaryrefslogtreecommitdiff
path: root/extensions/source/abpilot/abpfinalpage.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-05-25 10:17:24 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-05-25 10:17:24 +0200
commitd2b0dc2ee3de5158a1bf130e42bcfd46d997e74b (patch)
tree014d9f27062bb7e202fbd4295ad46091d5ef3b85 /extensions/source/abpilot/abpfinalpage.cxx
parenta1441026696609083bafd0034e7aa663da33f91b (diff)
unoawt: completely separated the controller functionality of a wizard page from the wizard page itself,
by moving the canAdvance method from OWizardPage to the IWizardPage interface, which in this course has been renamed to IWizardPageController. This will later on allow to have implementations where the TabPage is provided by an external component (e.g. as UNO Service), but the controlling of those pages is still intercepted and handled internally.
Diffstat (limited to 'extensions/source/abpilot/abpfinalpage.cxx')
-rw-r--r--extensions/source/abpilot/abpfinalpage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/abpilot/abpfinalpage.cxx b/extensions/source/abpilot/abpfinalpage.cxx
index d633b597878d..2ffeb0d09739 100644
--- a/extensions/source/abpilot/abpfinalpage.cxx
+++ b/extensions/source/abpilot/abpfinalpage.cxx
@@ -141,12 +141,12 @@ namespace abp
}
//---------------------------------------------------------------------
- sal_Bool FinalPage::commitPage( CommitPageReason _eReason )
+ sal_Bool FinalPage::commitPage( ::svt::WizardTypes::CommitPageReason _eReason )
{
if (!AddressBookSourcePage::commitPage(_eReason))
return sal_False;
- if ( ( eTravelBackward != _eReason )
+ if ( ( ::svt::WizardTypes::eTravelBackward != _eReason )
&& ( !m_aLocationController.prepareCommit() )
)
return sal_False;