summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-24 18:11:10 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-25 15:13:05 +0200
commit14ff4c2ca033f9d00a613eb28b65a3e16891c8f3 (patch)
treebfd4869a427ee33a45ceba884b95fc0d3d79fe06 /vcl
parent578ce735cb3ee610e11202634128a29c7998ccbf (diff)
callcatcher: remove unused methods
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/button.hxx1
-rw-r--r--vcl/inc/vcl/dockwin.hxx3
-rw-r--r--vcl/inc/vcl/jobset.hxx1
-rw-r--r--vcl/source/control/button.cxx7
-rw-r--r--vcl/source/gdi/jobset.cxx13
-rw-r--r--vcl/source/window/dockwin.cxx36
-rw-r--r--vcl/source/window/menu.cxx6
-rw-r--r--vcl/workben/vcldemo.cxx9
8 files changed, 0 insertions, 76 deletions
diff --git a/vcl/inc/vcl/button.hxx b/vcl/inc/vcl/button.hxx
index 9205f9df7661..9bf72f8a45d2 100644
--- a/vcl/inc/vcl/button.hxx
+++ b/vcl/inc/vcl/button.hxx
@@ -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 );
diff --git a/vcl/inc/vcl/dockwin.hxx b/vcl/inc/vcl/dockwin.hxx
index 5721d979b188..9d0edbccb778 100644
--- a/vcl/inc/vcl/dockwin.hxx
+++ b/vcl/inc/vcl/dockwin.hxx
@@ -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,
diff --git a/vcl/inc/vcl/jobset.hxx b/vcl/inc/vcl/jobset.hxx
index 0340f5dd8587..3ec52df2644e 100644
--- a/vcl/inc/vcl/jobset.hxx
+++ b/vcl/inc/vcl/jobset.hxx
@@ -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 );
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index a4a5081b7d2b..c65758b913c1 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -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 ) )
{
diff --git a/vcl/source/gdi/jobset.cxx b/vcl/source/gdi/jobset.cxx
index d06e16dcf0cb..785a4387e99c 100644
--- a/vcl/source/gdi/jobset.cxx
+++ b/vcl/source/gdi/jobset.cxx
@@ -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 )
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx
index 6440d118fe54..00aa5242b66b 100644
--- a/vcl/source/window/dockwin.cxx
+++ b/vcl/source/window/dockwin.cxx
@@ -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: */
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 9e47d34716cb..0b3ea6024698 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -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()
{
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 3c75c643fe4a..7d9cb0c32054 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -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();