diff options
Diffstat (limited to 'svtools/source/dialogs/roadmapwizard.cxx')
-rw-r--r-- | svtools/source/dialogs/roadmapwizard.cxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/svtools/source/dialogs/roadmapwizard.cxx b/svtools/source/dialogs/roadmapwizard.cxx index eb0730cbb7b5..1df26b6c275b 100644 --- a/svtools/source/dialogs/roadmapwizard.cxx +++ b/svtools/source/dialogs/roadmapwizard.cxx @@ -24,8 +24,6 @@ #include <roadmap.hxx> #include <tools/debug.hxx> -#include <stdarg.h> - #include <vector> #include <map> #include <set> @@ -182,35 +180,6 @@ namespace svt } - void RoadmapWizard::declarePath( PathId _nPathId, WizardState _nFirstState, ... ) - { - - DBG_ASSERT( _nFirstState != WZS_INVALID_STATE, "RoadmapWizard::declarePath: there should be at least one state in the path!" ); - if ( _nFirstState == WZS_INVALID_STATE ) - return; - - WizardPath aNewPath; - - // collect the elements of the path - va_list aStateList; - va_start( aStateList, _nFirstState ); - - WizardState nState = _nFirstState; - while ( nState != WZS_INVALID_STATE ) - { - aNewPath.push_back( nState ); - nState = sal::static_int_cast< WizardState >( - va_arg( aStateList, int )); - } - va_end( aStateList ); - - DBG_ASSERT( _nFirstState == 0, "RoadmapWizard::declarePath: first state must be NULL." ); - // The WizardDialog (our very base class) always starts with a mnCurLevel == 0 - - declarePath( _nPathId, aNewPath ); - } - - void RoadmapWizard::describeState( WizardState _nState, const OUString& _rStateDisplayName, RoadmapPageFactory _pPageFactory ) { OSL_ENSURE( m_pImpl->aStateDescriptors.find( _nState ) == m_pImpl->aStateDescriptors.end(), |