summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-06 13:29:15 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-06 13:29:15 +0000
commitea94271b0530c55273e59e3474264b5dd5d32841 (patch)
tree2bd97a36e31e112c93354f50832acf1b885dad87
parent4d7d8b603c6fd1126e973ce1caade8f2051c8895 (diff)
INTEGRATION: CWS dba30c (1.22.38); FILE MERGED
2008/05/13 11:20:01 fs 1.22.38.1: joining changes from CWS odbmacros3 to CWS dba30c: 2008/04/14 11:16:39 fs 1.21.10.1: #i49133# +getStateHistory 2008/04/15 13:07:38 fs 1.21.10.2: RESYNC: (1.21-1.22); FILE MERGED
-rw-r--r--svtools/source/dialogs/wizardmachine.cxx13
1 files changed, 12 insertions, 1 deletions
diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx
index e2ddb2b71e48..34231eebcbab 100644
--- a/svtools/source/dialogs/wizardmachine.cxx
+++ b/svtools/source/dialogs/wizardmachine.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: wizardmachine.cxx,v $
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
* This file is part of OpenOffice.org.
*
@@ -675,6 +675,17 @@ namespace svt
}
//---------------------------------------------------------------------
+ void OWizardMachine::getStateHistory( ::std::vector< WizardState >& _out_rHistory )
+ {
+ ::std::stack< WizardState > aHistoryCopy( m_pImpl->aStateHistory );
+ while ( !aHistoryCopy.empty() )
+ {
+ _out_rHistory.push_back( aHistoryCopy.top() );
+ aHistoryCopy.pop();
+ }
+ }
+
+ //---------------------------------------------------------------------
bool OWizardMachine::canAdvance() const
{
return WZS_INVALID_STATE != determineNextState( getCurrentState() );