summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-12 10:42:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-12 11:38:00 +0100
commit637587fc8fe4ed3ae7c254fc1dc117bb78f326cb (patch)
tree394180e582edb414eb71f47595d235149ffb1089 /vcl
parent3abc98687715072080ba408b12fd8ef0a17573d5 (diff)
drop unused argument
Change-Id: I54a86f98289877abc435e2c7397ff5fd6c516545
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/button.cxx2
-rw-r--r--vcl/source/control/ctrl.cxx2
-rw-r--r--vcl/source/control/edit.cxx6
-rw-r--r--vcl/source/control/fixed.cxx4
-rw-r--r--vcl/source/control/listbox.cxx6
-rw-r--r--vcl/source/window/resource.cxx6
-rw-r--r--vcl/source/window/window.cxx2
7 files changed, 14 insertions, 14 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index fc37a3429092..c5eed697ad60 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -1214,7 +1214,7 @@ PushButton::PushButton( vcl::Window* pParent, const ResId& rResId ) :
WinBits nStyle = ImplInitRes( rResId );
ImplInitPushButtonData();
ImplInit( pParent, nStyle );
- ImplLoadRes( rResId );
+ ImplLoadRes();
if ( !(nStyle & WB_HIDE) )
Show();
diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx
index 2235cd4c3ca1..c2d697d7d640 100644
--- a/vcl/source/control/ctrl.cxx
+++ b/vcl/source/control/ctrl.cxx
@@ -60,7 +60,7 @@ Control::Control( vcl::Window* pParent, const ResId& rResId ) :
rResId.SetRT( RSC_CONTROL );
WinBits nStyle = ImplInitRes( rResId );
ImplInit( pParent, nStyle, nullptr );
- ImplLoadRes( rResId );
+ ImplLoadRes();
if ( !(nStyle & WB_HIDE) )
Show();
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index dbb6a76b4b6f..2769a0fc2f7c 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -176,7 +176,7 @@ Edit::Edit( vcl::Window* pParent, const ResId& rResId )
WinBits nStyle = ImplInitRes( rResId );
ImplInitEditData();
ImplInit( pParent, nStyle );
- ImplLoadRes( rResId );
+ ImplLoadRes();
if ( !(nStyle & WB_HIDE) )
Show();
@@ -1279,9 +1279,9 @@ void Edit::ImplSetCursorPos( sal_Int32 nChar, bool bSelect )
ImplSetSelection( aSelection );
}
-void Edit::ImplLoadRes( const ResId& rResId )
+void Edit::ImplLoadRes()
{
- Control::ImplLoadRes( rResId );
+ Control::ImplLoadRes();
sal_uInt16 nTextLength = ReadShortRes();
if ( nTextLength )
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index ce01670c879a..4e42bca25890 100644
--- a/vcl/source/control/fixed.cxx
+++ b/vcl/source/control/fixed.cxx
@@ -122,7 +122,7 @@ FixedText::FixedText( vcl::Window* pParent, const ResId& rResId )
rResId.SetRT( RSC_TEXT );
WinBits nStyle = ImplInitRes( rResId );
ImplInit( pParent, nStyle );
- ImplLoadRes( rResId );
+ ImplLoadRes();
if ( !(nStyle & WB_HIDE) )
Show();
@@ -843,7 +843,7 @@ WinBits FixedImage::ImplInitStyle( WinBits nStyle )
void FixedImage::ImplLoadRes( const ResId& rResId )
{
- Control::ImplLoadRes( rResId );
+ Control::ImplLoadRes();
sal_uLong nObjMask = ReadLongRes();
diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx
index fa696faf8768..0b0edf116913 100644
--- a/vcl/source/control/listbox.cxx
+++ b/vcl/source/control/listbox.cxx
@@ -63,7 +63,7 @@ ListBox::ListBox( vcl::Window* pParent, const ResId& rResId ) :
WinBits nStyle = ImplInitRes( rResId );
ImplInitListBoxData();
ImplInit( pParent, nStyle );
- ImplLoadRes( rResId );
+ ImplLoadRes();
if ( !(nStyle & WB_HIDE ) )
Show();
@@ -189,9 +189,9 @@ WinBits ListBox::ImplInitStyle( WinBits nStyle )
return nStyle;
}
-void ListBox::ImplLoadRes( const ResId& rResId )
+void ListBox::ImplLoadRes()
{
- Control::ImplLoadRes( rResId );
+ Control::ImplLoadRes();
// The resource short is actually to be treated as unsigned short.
sal_uInt16 nResPos = static_cast<sal_uInt16>(ReadShortRes());
diff --git a/vcl/source/window/resource.cxx b/vcl/source/window/resource.cxx
index 78871305c311..86326f9a67f0 100644
--- a/vcl/source/window/resource.cxx
+++ b/vcl/source/window/resource.cxx
@@ -36,7 +36,7 @@ WinBits Window::ImplInitRes( const ResId& rResId )
return nStyle;
}
-WindowResHeader Window::ImplLoadResHeader( const ResId& /*rResId*/ )
+WindowResHeader Window::ImplLoadResHeader()
{
WindowResHeader aHeader;
@@ -53,9 +53,9 @@ WindowResHeader Window::ImplLoadResHeader( const ResId& /*rResId*/ )
return aHeader;
}
-void Window::ImplLoadRes( const ResId& rResId )
+void Window::ImplLoadRes()
{
- WindowResHeader aHeader = ImplLoadResHeader( rResId );
+ WindowResHeader aHeader = ImplLoadResHeader();
SetHelpId( aHeader.aHelpId );
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 7086612e1f7e..8db7645c51da 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -104,7 +104,7 @@ Window::Window( vcl::Window* pParent, const ResId& rResId ) :
rResId.SetRT( RSC_WINDOW );
WinBits nStyle = ImplInitRes( rResId );
ImplInit( pParent, nStyle, nullptr );
- ImplLoadRes( rResId );
+ ImplLoadRes();
if ( !(nStyle & WB_HIDE) )
Show();