summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-09 20:52:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-09 20:52:00 +0100
commit365d1ec2782e5be83e99e6f676b8e248f6ebf16c (patch)
tree44b8100e81d8228c0f585f8aaf4d16ae059b04f1 /vcl
parent1bfb59ba81984b056d96c442405a31cc3aeb744d (diff)
no ComboBoxes loaded from .src anymore
Change-Id: Ic497dddfe326e9cc06e71c39284b2848d17ae0c8
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/combobox.cxx30
1 files changed, 0 insertions, 30 deletions
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index c64e05d317fc..530f220fdae6 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -110,21 +110,6 @@ ComboBox::ComboBox(vcl::Window *const pParent, WinBits const nStyle)
SetWidthInChars(-1);
}
-ComboBox::ComboBox(vcl::Window *const pParent, const ResId& rResId)
- : Edit( WINDOW_COMBOBOX )
- , m_pImpl(new Impl(*this))
-{
- m_pImpl->ImplInitComboBoxData();
- rResId.SetRT( RSC_COMBOBOX );
- WinBits nStyle = ImplInitRes( rResId );
- ImplInit( pParent, nStyle );
- ImplLoadRes( rResId );
-
- SetWidthInChars(-1);
- if ( !(nStyle & WB_HIDE ) )
- Show();
-}
-
ComboBox::~ComboBox()
{
disposeOnce();
@@ -268,21 +253,6 @@ WinBits ComboBox::ImplInitStyle( WinBits nStyle )
return nStyle;
}
-void ComboBox::ImplLoadRes( const ResId& rResId )
-{
- Edit::ImplLoadRes( rResId );
-
- sal_Int32 nNumber = ReadLongRes();
-
- if( nNumber )
- {
- for( sal_Int32 i = 0; i < nNumber; i++ )
- {
- InsertEntry( ReadStringRes() );
- }
- }
-}
-
void ComboBox::EnableAutocomplete( bool bEnable, bool bMatchCase )
{
m_pImpl->m_isMatchCase = bMatchCase;