summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-11 08:44:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-11 10:22:12 +0100
commite1683c2d13a744344ee6a7b06917f65c11d8b35b (patch)
treeab5002c802f7bc045703dfe9161e15b610788044 /vcl
parentf6e7b94042070241cd1cfb1d7f8610fe1801b4f2 (diff)
callcatcher: update unused code
lots of ResID stuff going away now Change-Id: Iad8524e201cd3072db71da9e5ee1c244ed337967
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/group.cxx12
-rw-r--r--vcl/source/control/lstbox.cxx13
-rw-r--r--vcl/source/control/prgsbar.cxx6
-rw-r--r--vcl/source/control/scrbar.cxx12
-rw-r--r--vcl/source/window/dialog.cxx15
5 files changed, 2 insertions, 56 deletions
diff --git a/vcl/source/control/group.cxx b/vcl/source/control/group.cxx
index 97142fb6077b..320cade9ee77 100644
--- a/vcl/source/control/group.cxx
+++ b/vcl/source/control/group.cxx
@@ -92,18 +92,6 @@ GroupBox::GroupBox( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-GroupBox::GroupBox( Window* pParent, const ResId& rResId ) :
- Control( WINDOW_GROUPBOX )
-{
- rResId.SetRT( RSC_GROUPBOX );
- WinBits nStyle = ImplInitRes( rResId );
- ImplInit( pParent, nStyle );
- ImplLoadRes( rResId );
-
- if ( !(nStyle & WB_HIDE) )
- Show();
-}
-
void GroupBox::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
const Point& rPos, const Size& rSize, bool bLayout )
{
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index cdb711917a53..d6c676451445 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -1496,17 +1496,4 @@ MultiListBox::MultiListBox( Window* pParent, WinBits nStyle ) :
EnableMultiSelection( true );
}
-MultiListBox::MultiListBox( Window* pParent, const ResId& rResId ) :
- ListBox( WINDOW_MULTILISTBOX )
-{
- rResId.SetRT( RSC_MULTILISTBOX );
- WinBits nStyle = ImplInitRes( rResId );
- ImplInit( pParent, nStyle );
- ImplLoadRes( rResId );
-
- if ( !(nStyle & WB_HIDE ) )
- Show();
- EnableMultiSelection( true );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/control/prgsbar.cxx b/vcl/source/control/prgsbar.cxx
index 8bbaafcede8c..4634300a68b5 100644
--- a/vcl/source/control/prgsbar.cxx
+++ b/vcl/source/control/prgsbar.cxx
@@ -56,12 +56,6 @@ ProgressBar::ProgressBar( Window* pParent, WinBits nWinStyle ) :
ImplInit();
}
-ProgressBar::ProgressBar( Window* pParent, const ResId& rResId ) :
- Window( pParent, rResId )
-{
- ImplInit();
-}
-
ProgressBar::~ProgressBar()
{
}
diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx
index dc7213001e28..f7a87b3058ac 100644
--- a/vcl/source/control/scrbar.cxx
+++ b/vcl/source/control/scrbar.cxx
@@ -123,18 +123,6 @@ ScrollBar::ScrollBar( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-ScrollBar::ScrollBar( Window* pParent, const ResId& rResId ) :
- Control( WINDOW_SCROLLBAR )
-{
- rResId.SetRT( RSC_SCROLLBAR );
- WinBits nStyle = ImplInitRes( rResId );
- ImplInit( pParent, nStyle );
- ImplLoadRes( rResId );
-
- if ( !(nStyle & WB_HIDE) )
- Show();
-}
-
ScrollBar::~ScrollBar()
{
delete mpData;
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index ef315da58934..a686c7844280 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -1280,19 +1280,8 @@ VclBuilderContainer::~VclBuilderContainer()
delete m_pUIBuilder;
}
-ModelessDialog::ModelessDialog( Window* pParent, const ResId& rResId ) :
- Dialog( WINDOW_MODELESSDIALOG )
-{
- rResId.SetRT( RSC_MODELESSDIALOG );
-
- WinBits nStyle = init( pParent, rResId );
-
- if ( !(nStyle & WB_HIDE) )
- Show();
-}
-
-ModelessDialog::ModelessDialog( Window* pParent, const OString& rID, const OUString& rUIXMLDescription ) :
- Dialog(pParent, rID, rUIXMLDescription, WINDOW_MODELESSDIALOG)
+ModelessDialog::ModelessDialog(Window* pParent, const OString& rID, const OUString& rUIXMLDescription)
+ : Dialog(pParent, rID, rUIXMLDescription, WINDOW_MODELESSDIALOG)
{
}