Kaydet (Commit) efcdf900 authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: update unused code

Change-Id: I3010bdd736c15a086f3ce61cacbb34159f0b2abf
üst 7fc08970
......@@ -214,12 +214,6 @@ protected:
*/
void updateRoadmapItemLabel( WizardState _nState );
protected:
#ifdef DBG_UTIL
const sal_Char* checkInvariants() const;
friend const char* CheckInvariants( const void* pVoid );
#endif
private:
DECL_DLLPRIVATE_LINK( OnRoadmapItemSelected, void* );
......
......@@ -60,7 +60,6 @@ public:
long GetColorCount();
long GetRecentColorCount();
OUString GetPaletteName();
const Color& GetLastColor();
void SetLastColor(const Color& rLastColor);
......
......@@ -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 )
......
......@@ -166,16 +166,6 @@ long PaletteManager::GetRecentColorCount()
return maRecentColors.size();
}
OUString PaletteManager::GetPaletteName()
{
if( mnCurrentPalette == 0 )
return OUString( STR_DEFAULT_PAL );
else if( mnCurrentPalette == mnNumOfPalettes - 1 )
return OUString( STR_DOC_COLORS );
else
return maPalettes[mnCurrentPalette - 1].GetName();
}
const Color& PaletteManager::GetLastColor()
{
return mLastColor;
......
......@@ -18,6 +18,7 @@ OutputDevice::LogicToPixel(Region const&, MapMode const&) const
OutputDevice::LogicToPixel(basegfx::B2DPolygon const&) const
OutputDevice::LogicToPixel(basegfx::B2DPolygon const&, MapMode const&) const
OutputDevice::PixelToLogic(Region const&, MapMode const&) const
PaletteManager::GetPaletteName()
Primitive2dXmlDump::filterActionType(unsigned short, bool)
Primitive2dXmlDump::filterAllActionTypes()
SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment