summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-18 11:38:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-18 14:12:21 +0100
commitefcdf9004de2c406774f7a1ed207d24c0dbe36cc (patch)
treeed25a6605687347491ee182b8731d2e5c55f247e /svtools
parent7fc08970894aea2b771bf7be409b72845c96d10a (diff)
callcatcher: update unused code
Change-Id: I3010bdd736c15a086f3ce61cacbb34159f0b2abf
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/roadmapwizard.cxx35
1 files changed, 0 insertions, 35 deletions
diff --git a/svtools/source/dialogs/roadmapwizard.cxx b/svtools/source/dialogs/roadmapwizard.cxx
index 6e83474555ec..bb2881445435 100644
--- a/svtools/source/dialogs/roadmapwizard.cxx
+++ b/svtools/source/dialogs/roadmapwizard.cxx
@@ -118,41 +118,6 @@ namespace svt
}
//= RoadmapWizard
-#ifdef DBG_UTIL
- const sal_Char* RoadmapWizard::checkInvariants() const
- {
- // all paths have to start with the same state
- WizardState nSharedFirstState = WZS_INVALID_STATE;
- for ( Paths::const_iterator aPath = m_pImpl->aPaths.begin();
- aPath != m_pImpl->aPaths.end();
- ++aPath
- )
- {
- if ( aPath->second.empty() )
- return "RoadmapWizard::checkInvariants: paths should not be empty!";
-
- if ( nSharedFirstState == WZS_INVALID_STATE )
- // first path
- nSharedFirstState = aPath->second[ 0 ];
- else
- if ( nSharedFirstState != aPath->second[ 0 ] )
- return "RoadmapWizard::checkInvariants: alls paths must start with the same state!";
- }
-
- if ( !m_pImpl->aPaths.empty() )
- {
- Paths::const_iterator aCurrentPathPos = m_pImpl->aPaths.find( m_pImpl->nActivePath );
- if ( aCurrentPathPos == m_pImpl->aPaths.end() )
- return "RoadmapWizard::checkInvariants: invalid active path!";
-
- if ( -1 == m_pImpl->getStateIndexInPath( getCurrentState(), m_pImpl->nActivePath ) )
- return "RoadmapWizard::checkInvariants: the current state is not part of the current path!";
- }
-
- return NULL;
- }
-#endif
-
RoadmapWizard::RoadmapWizard( Window* _pParent, const WinBits i_nStyle, sal_uInt32 _nButtonFlags )
:OWizardMachine( _pParent, i_nStyle, _nButtonFlags )
,m_pImpl( new RoadmapWizardImpl )