callcatcher: remove unused methods

This commit is contained in:
Thomas Arnhold
2011-07-24 18:11:10 +02:00
parent 578ce735cb
commit 14ff4c2ca0
10 changed files with 0 additions and 89 deletions

View File

@ -333,7 +333,6 @@ class DoubleCurrencyField : public FormattedField
public:
DoubleCurrencyField(Window* pParent, WinBits nStyle = 0);
DoubleCurrencyField(Window* pParent, const ResId& rResId);
XubString getCurrencySymbol() const { return m_sCurrencySymbol; }
void setCurrencySymbol(const XubString& _sSymbol);

View File

@ -1261,18 +1261,6 @@ DoubleCurrencyField::DoubleCurrencyField(Window* pParent, WinBits nStyle)
UpdateCurrencyFormat();
}
//------------------------------------------------------------------------------
DoubleCurrencyField::DoubleCurrencyField(Window* pParent, const ResId& rResId)
:FormattedField(pParent, rResId)
,m_bChangingFormat(sal_False)
{
m_bPrependCurrSym = sal_False;
// initialize with a system currency format
m_sCurrencySymbol = SvtSysLocale().GetLocaleData().getCurrSymbol();
UpdateCurrencyFormat();
}
//------------------------------------------------------------------------------
void DoubleCurrencyField::FormatChanged(FORMAT_CHANGE_TYPE nWhat)
{

View File

@ -556,7 +556,6 @@ class VCL_DLLPUBLIC DisclosureButton : public CheckBox
protected:
SAL_DLLPRIVATE virtual void ImplDrawCheckBoxState();
public:
DisclosureButton( Window* pParent, WinBits nStyle = 0 );
DisclosureButton( Window* pParent, const ResId& rResId );
virtual void KeyInput( const KeyEvent& rKEvt );

View File

@ -329,7 +329,6 @@ public:
virtual void DataChanged( const DataChangedEvent& rDCEvt );
void ShowTitleButton( sal_uInt16 nButton, sal_Bool bVisible = sal_True );
sal_Bool IsTitleButtonVisible( sal_uInt16 nButton ) const;
void SetPin( sal_Bool bPin );
sal_Bool IsPined() const;
@ -345,7 +344,6 @@ public:
const Size& GetMinOutputSizePixel() const;
void SetMaxOutputSizePixel( const Size& rSize );
const Size& GetMaxOutputSizePixel() const;
sal_Bool IsDocking() const { return mbDocking; }
sal_Bool IsDockable() const { return mbDockable; }
@ -362,7 +360,6 @@ public:
void SetFloatStyle( WinBits nWinStyle );
WinBits GetFloatStyle() const;
void SetTabStop();
virtual void SetPosSizePixel( long nX, long nY,
long nWidth, long nHeight,

View File

@ -66,7 +66,6 @@ public:
* by the printer driver. One possible use are phone
* numbers for faxes (which disguise as printers)
*/
String GetValue( const String& rKey ) const;
void SetValue( const String& rKey, const String& rValue );
JobSetup& operator=( const JobSetup& rJob );

View File

@ -4184,13 +4184,6 @@ TriStateBox::~TriStateBox()
// =======================================================================
DisclosureButton::DisclosureButton( Window* pParent, WinBits ) :
CheckBox( pParent, WB_NOBORDER )
{
}
// -----------------------------------------------------------------------
DisclosureButton::DisclosureButton( Window* pParent, const ResId& rResId ) :
CheckBox( pParent, rResId.SetRT( RSC_CHECKBOX ) )
{

View File

@ -210,19 +210,6 @@ XubString JobSetup::GetDriverName() const
// -----------------------------------------------------------------------
String JobSetup::GetValue( const String& rKey ) const
{
if( mpData )
{
::boost::unordered_map< ::rtl::OUString, ::rtl::OUString, ::rtl::OUStringHash >::const_iterator it;
it = mpData->maValueMap.find( rKey );
return it != mpData->maValueMap.end() ? String( it->second ) : String();
}
return String();
}
// -----------------------------------------------------------------------
void JobSetup::SetValue( const String& rKey, const String& rValue )
{
if( ! mpData )

View File

@ -806,21 +806,6 @@ void DockingWindow::ShowTitleButton( sal_uInt16 nButton, sal_Bool bVisible )
// -----------------------------------------------------------------------
sal_Bool DockingWindow::IsTitleButtonVisible( sal_uInt16 nButton ) const
{
if ( mpFloatWin )
return mpFloatWin->IsTitleButtonVisible( nButton );
else
{
if ( nButton == TITLE_BUTTON_DOCKING )
return mbDockBtn;
else /* if ( nButton == TITLE_BUTTON_HIDE ) */
return mbHideBtn;
}
}
// -----------------------------------------------------------------------
void DockingWindow::SetFloatingMode( sal_Bool bFloatMode )
{
ImplDockingWindowWrapper *pWrapper = ImplGetDockingManager()->GetDockingWindowWrapper( this );
@ -951,20 +936,6 @@ WinBits DockingWindow::GetFloatStyle() const
// -----------------------------------------------------------------------
void DockingWindow::SetTabStop()
{
ImplDockingWindowWrapper *pWrapper = ImplGetDockingManager()->GetDockingWindowWrapper( this );
if( pWrapper )
{
pWrapper->SetTabStop();
return;
}
mpWindowImpl->mnStyle |= WB_GROUP | WB_TABSTOP;
}
// -----------------------------------------------------------------------
void DockingWindow::SetPosSizePixel( long nX, long nY,
long nWidth, long nHeight,
sal_uInt16 nFlags )
@ -1109,11 +1080,4 @@ void DockingWindow::SetMaxOutputSizePixel( const Size& rSize )
mpImplData->maMaxOutSize = rSize;
}
const Size& DockingWindow::GetMaxOutputSizePixel() const
{
if ( mpFloatWin )
return mpFloatWin->GetMaxOutputSizePixel();
return mpImplData->maMaxOutSize;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -522,7 +522,6 @@ class DecoToolBox : public ToolBox
using Window::ImplInit;
public:
DecoToolBox( Window* pParent, WinBits nStyle = 0 );
DecoToolBox( Window* pParent, const ResId& rResId );
void ImplInit();
void DataChanged( const DataChangedEvent& rDCEvt );
@ -540,11 +539,6 @@ DecoToolBox::DecoToolBox( Window* pParent, WinBits nStyle ) :
{
ImplInit();
}
DecoToolBox::DecoToolBox( Window* pParent, const ResId& rResId ) :
ToolBox( pParent, rResId )
{
ImplInit();
}
void DecoToolBox::ImplInit()
{

View File

@ -37,8 +37,6 @@
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/introwin.hxx>
#include <vcl/msgbox.hxx>
#include <comphelper/processfactory.hxx>
#include <cppuhelper/servicefactory.hxx>
@ -90,13 +88,6 @@ public:
void Main()
{
/*
IntroWindow splash;
splash.Show();
sleep(5);
splash.Hide();
*/
MyWin aMainWin( NULL, WB_APP | WB_STDWORK );
aMainWin.SetText( XubString( RTL_CONSTASCII_USTRINGPARAM( "VCLDemo - VCL Workbench" ) ) );
aMainWin.Show();