callcatcher: some unused code

This commit is contained in:
Caolán McNamara 2011-08-26 09:01:37 +01:00
parent ae9c5dc371
commit 66876a7117
5 changed files with 0 additions and 47 deletions

View file

@ -512,7 +512,6 @@ public:
void ClearAllLines();
void DoScroll( sal_Int32 nNewPos );
bool DoesCustomPropertyExist( const String& rName ) const;
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >
GetCustomProperties() const;
void SetRemovedHdl( const Link& rLink ) { m_aRemovedHdl = rLink; }
@ -527,11 +526,8 @@ private:
CustomPropertiesWindow m_aPropertiesWin;
ScrollBar m_aVertScroll;
bool m_bIsInitialized;
sal_Int32 m_nThumbPos;
void Initialize();
DECL_LINK( ScrollHdl, ScrollBar* );
DECL_LINK( RemovedHdl, void* );
@ -543,8 +539,6 @@ public:
inline bool AreAllLinesValid() const { return m_aPropertiesWin.AreAllLinesValid(); }
inline void ClearAllLines() { m_aPropertiesWin.ClearAllLines(); }
inline bool DoesCustomPropertyExist( const String& rName ) const
{ return m_aPropertiesWin.DoesCustomPropertyExist( rName ); }
inline ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >
GetCustomProperties() const
{ return m_aPropertiesWin.GetCustomProperties(); }

View file

@ -2241,24 +2241,6 @@ void CustomPropertiesWindow::DoScroll( sal_Int32 nNewPos )
}
}
bool CustomPropertiesWindow::DoesCustomPropertyExist( const String& rName ) const
{
bool bRet = false;
std::vector< CustomPropertyLine* >::const_iterator pIter;
for ( pIter = m_aCustomPropertiesLines.begin();
pIter != m_aCustomPropertiesLines.end(); ++pIter )
{
CustomPropertyLine* pLine = *pIter;
if ( !pLine->m_bIsRemoved && pLine->m_aNameBox.GetText() == rName )
{
bRet = true;
break;
}
}
return bRet;
}
Sequence< beans::PropertyValue > CustomPropertiesWindow::GetCustomProperties() const
{
Sequence< beans::PropertyValue > aPropertiesSeq( m_aCustomPropertiesLines.size() );
@ -2332,7 +2314,6 @@ CustomPropertiesControl::CustomPropertiesControl( Window* pParent, const ResId&
m_aPropertiesWin( this, ResId( WIN_PROPERTIES, *rResId.GetResMgr() ) ),
m_aVertScroll ( this, ResId( SB_VERTICAL, *rResId.GetResMgr() ) ),
m_bIsInitialized( false ),
m_nThumbPos ( 0 )
{
@ -2377,10 +2358,6 @@ CustomPropertiesControl::~CustomPropertiesControl()
{
}
void CustomPropertiesControl::Initialize()
{
}
IMPL_LINK( CustomPropertiesControl, ScrollHdl, ScrollBar*, pScrollBar )
{
sal_Int32 nOffset = m_aPropertiesWin.GetLineHeight();

View file

@ -77,7 +77,6 @@ CharPosArray::Replace(int const*, unsigned short, unsigned short)
CharPosArray::_ForEach(unsigned short, unsigned short, unsigned char (*)(int const&, void*), void*)
CloneList::Count() const
Color::IncreaseContrast(unsigned char)
CommandExtTextInputData::CommandExtTextInputData()
CommunicationLinkList::DeleteAndDestroy(unsigned short, unsigned short)
CommunicationLinkList::Insert(CommunicationLink const*&, unsigned short&)
CommunicationLinkList::Insert(CommunicationLink const**, unsigned short)
@ -92,8 +91,6 @@ CurrencyBox::InsertValue(long, unsigned short)
CurrencyBox::RemoveValue(long)
CurrencyField::CurrencyField(Window*, ResId const&)
CurrencyFormatter::SetCurrencySymbol(String const&)
CustomPropertiesControl::Initialize()
CustomPropertiesWindow::DoesCustomPropertyExist(String const&) const
CustomToolBarImportHelper::showToolbar(rtl::OUString const&)
DateBox::GetDate(unsigned short) const
DateBox::GetDatePos(Date const&) const

View file

@ -63,7 +63,6 @@ private:
sal_Bool mbOnlyCursor;
public:
CommandExtTextInputData();
CommandExtTextInputData( const XubString& rText,
const sal_uInt16* pTextAttr,
xub_StrLen nCursorPos,

View file

@ -33,20 +33,6 @@
#include <vcl/cmdevt.hxx>
// =======================================================================
CommandExtTextInputData::CommandExtTextInputData()
{
mpTextAttr = NULL;
mnCursorPos = 0;
mnDeltaStart = 0;
mnOldTextLen = 0;
mnCursorFlags = 0;
mbOnlyCursor = sal_False;
}
// -----------------------------------------------------------------------
CommandExtTextInputData::CommandExtTextInputData( const XubString& rText,
const sal_uInt16* pTextAttr,
xub_StrLen nCursorPos,