summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/button.cxx103
-rw-r--r--vcl/source/control/ctrl.cxx15
-rw-r--r--vcl/source/control/edit.cxx37
-rw-r--r--vcl/source/control/field.cxx51
-rw-r--r--vcl/source/control/fixed.cxx24
-rw-r--r--vcl/source/control/ilstbox.cxx76
-rw-r--r--vcl/source/control/lstbox.cxx29
-rw-r--r--vcl/source/control/spinfld.cxx29
-rw-r--r--vcl/source/control/tabctrl.cxx18
9 files changed, 0 insertions, 382 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 2410ba3c02fd..63233c266c6a 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -96,13 +96,6 @@ Button::Button( WindowType nType ) :
mpButtonData = new ImplCommonButtonData;
}
-void Button::take_properties(Window &rOther)
-{
- Control::take_properties(rOther);
- Button &rOtherButton = static_cast<Button&>(rOther);
- *mpButtonData = *rOtherButton.mpButtonData;
-}
-
// -----------------------------------------------------------------------
Button::~Button()
@@ -1209,10 +1202,6 @@ PushButton::PushButton( Window* pParent, const ResId& rResId ) :
{
rResId.SetRT( RSC_PUSHBUTTON );
WinBits nStyle = ImplInitRes( rResId );
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- return;
-
ImplInitPushButtonData();
ImplInit( pParent, nStyle );
ImplLoadRes( rResId );
@@ -1221,17 +1210,6 @@ PushButton::PushButton( Window* pParent, const ResId& rResId ) :
Show();
}
-void PushButton::take_properties(Window &rOther)
-{
- if (!GetParent())
- {
- ImplInitPushButtonData();
- ImplInit(rOther.GetParent(), rOther.GetStyle());
- }
-
- Button::take_properties(rOther);
-}
-
// -----------------------------------------------------------------------
PushButton::~PushButton()
@@ -1781,10 +1759,6 @@ OKButton::OKButton( Window* pParent, const ResId& rResId ) :
{
rResId.SetRT( RSC_OKBUTTON );
WinBits nStyle = ImplInitRes( rResId );
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- return;
-
ImplInit( pParent, nStyle );
ImplLoadRes( rResId );
@@ -1792,13 +1766,6 @@ OKButton::OKButton( Window* pParent, const ResId& rResId ) :
Show();
}
-void OKButton::take_properties(Window &rOther)
-{
- if (!GetParent())
- ImplInit(rOther.GetParent(), rOther.GetStyle());
- PushButton::take_properties(rOther);
-}
-
// -----------------------------------------------------------------------
void OKButton::Click()
@@ -1858,10 +1825,6 @@ CancelButton::CancelButton( Window* pParent, const ResId& rResId ) :
{
rResId.SetRT( RSC_CANCELBUTTON );
WinBits nStyle = ImplInitRes( rResId );
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- return;
-
ImplInit( pParent, nStyle );
ImplLoadRes( rResId );
@@ -1869,13 +1832,6 @@ CancelButton::CancelButton( Window* pParent, const ResId& rResId ) :
Show();
}
-void CancelButton::take_properties(Window &rOther)
-{
- if (!GetParent())
- ImplInit(rOther.GetParent(), rOther.GetStyle());
- PushButton::take_properties(rOther);
-}
-
// -----------------------------------------------------------------------
void CancelButton::Click()
@@ -1935,10 +1891,6 @@ HelpButton::HelpButton( Window* pParent, const ResId& rResId ) :
{
rResId.SetRT( RSC_HELPBUTTON );
WinBits nStyle = ImplInitRes( rResId );
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- return;
-
ImplInit( pParent, nStyle );
ImplLoadRes( rResId );
@@ -1946,13 +1898,6 @@ HelpButton::HelpButton( Window* pParent, const ResId& rResId ) :
Show();
}
-void HelpButton::take_properties(Window &rOther)
-{
- if (!GetParent())
- ImplInit(rOther.GetParent(), rOther.GetStyle());
- PushButton::take_properties(rOther);
-}
-
// -----------------------------------------------------------------------
void HelpButton::Click()
@@ -2512,10 +2457,6 @@ RadioButton::RadioButton( Window* pParent, const ResId& rResId ) :
{
rResId.SetRT( RSC_RADIOBUTTON );
WinBits nStyle = ImplInitRes( rResId );
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- return;
-
ImplInitRadioButtonData();
ImplInit( pParent, nStyle );
ImplLoadRes( rResId );
@@ -2524,30 +2465,6 @@ RadioButton::RadioButton( Window* pParent, const ResId& rResId ) :
Show();
}
-void RadioButton::take_properties(Window &rOther)
-{
- if (!GetParent())
- {
- ImplInitRadioButtonData();
- ImplInit(rOther.GetParent(), rOther.GetStyle());
- }
-
- Button::take_properties(rOther);
-
- RadioButton &rOtherRadio = static_cast<RadioButton&>(rOther);
- if (rOtherRadio.m_xGroup.get())
- {
- rOtherRadio.m_xGroup->erase(std::remove(rOtherRadio.m_xGroup->begin(), rOtherRadio.m_xGroup->end(), &rOtherRadio),
- rOtherRadio.m_xGroup->end());
- rOtherRadio.m_xGroup->push_back(this);
- }
- std::swap(m_xGroup, rOtherRadio.m_xGroup);
- mbChecked = rOtherRadio.mbChecked;
- mbSaveValue = rOtherRadio.mbSaveValue;
- mbRadioCheck = rOtherRadio.mbRadioCheck;
- mbStateChanged = rOtherRadio.mbStateChanged;
-}
-
// -----------------------------------------------------------------------
void RadioButton::ImplLoadRes( const ResId& rResId )
@@ -3487,10 +3404,6 @@ CheckBox::CheckBox( Window* pParent, const ResId& rResId ) :
{
rResId.SetRT( RSC_CHECKBOX );
WinBits nStyle = ImplInitRes( rResId );
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- return;
-
ImplInitCheckBoxData();
ImplInit( pParent, nStyle );
ImplLoadRes( rResId );
@@ -3499,22 +3412,6 @@ CheckBox::CheckBox( Window* pParent, const ResId& rResId ) :
Show();
}
-void CheckBox::take_properties(Window &rOther)
-{
- if (!GetParent())
- {
- ImplInitCheckBoxData();
- ImplInit(rOther.GetParent(), rOther.GetStyle());
- }
-
- Button::take_properties(rOther);
-
- CheckBox &rOtherCheck = static_cast<CheckBox&>(rOther);
- meState = rOtherCheck.meState;
- meSaveValue = rOtherCheck.meSaveValue;
- mbTriState = rOtherCheck.mbTriState;
-}
-
// -----------------------------------------------------------------------
void CheckBox::MouseButtonDown( const MouseEvent& rMEvt )
diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx
index e89e5c952587..8ebd3ebf124c 100644
--- a/vcl/source/control/ctrl.cxx
+++ b/vcl/source/control/ctrl.cxx
@@ -72,21 +72,6 @@ Control::Control( Window* pParent, const ResId& rResId ) :
Show();
}
-void Control::take_properties(Window &rOther)
-{
- if (!GetParent())
- {
- ImplInitControlData();
- ImplInit(rOther.GetParent(), rOther.GetStyle(), NULL);
- }
-
- Window::take_properties(rOther);
-
- Control &rOtherControl = static_cast<Control&>(rOther);
- std::swap(mpControlData, rOtherControl.mpControlData);
- mbHasControlFocus = rOtherControl.mbHasControlFocus;
-}
-
// -----------------------------------------------------------------------
Control::~Control()
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index a82a465f169a..7d30f65699a5 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -196,10 +196,6 @@ Edit::Edit( Window* pParent, const ResId& rResId ) :
{
rResId.SetRT( RSC_EDIT );
WinBits nStyle = ImplInitRes( rResId );
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- return;
-
ImplInitEditData();
ImplInit( pParent, nStyle );
ImplLoadRes( rResId );
@@ -245,39 +241,6 @@ bool Edit::set_property(const rtl::OString &rKey, const rtl::OString &rValue)
return true;
}
-void Edit::take_properties(Window &rOther)
-{
- if (!GetParent())
- {
- ImplInitEditData();
- ImplInit(rOther.GetParent(), rOther.GetStyle());
- }
-
- Control::take_properties(rOther);
-
- Edit &rOtherEdit = static_cast<Edit&>(rOther);
- maText = rOtherEdit.maText;
- maPlaceholderText = rOtherEdit.maPlaceholderText;
- maSaveValue = rOtherEdit.maSaveValue;
- maUndoText = rOtherEdit.maUndoText;
- maRedoText = rOtherEdit.maRedoText;
- mnXOffset = rOtherEdit.mnXOffset;
- maSelection = rOtherEdit.maSelection;
- mnAlign = rOtherEdit.mnAlign;
- mnMaxTextLen = rOtherEdit.mnMaxTextLen;
- mnWidthInChars = rOtherEdit.mnWidthInChars;
- meAutocompleteAction = rOtherEdit.meAutocompleteAction;
- mcEchoChar = rOtherEdit.mcEchoChar;
- mbModified = rOtherEdit.mbModified;
- mbInternModified = rOtherEdit.mbInternModified;
- mbReadOnly = rOtherEdit.mbReadOnly;
- mbInsertMode = rOtherEdit.mbInsertMode;
- mbClickedInSelection = rOtherEdit.mbClickedInSelection;
- mbIsSubEdit = rOtherEdit.mbIsSubEdit;
- mbInMBDown = rOtherEdit.mbInMBDown;
- mbActivePopup = rOtherEdit.mbActivePopup;
-}
-
// -----------------------------------------------------------------------
Edit::Edit( Window* pParent, const ResId& rResId, bool bDisableAccessibleLabeledByRelation ) :
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 7350d3078e92..9e5e99d04d9a 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -778,23 +778,6 @@ void NumericFormatter::ImplNewFieldValue( sal_Int64 nNewValue )
}
}
-void NumericFormatter::take_properties(NumericFormatter &rOther)
-{
- mnFieldValue = rOther.mnFieldValue;
- mnLastValue = rOther.mnLastValue;
- mnMin = rOther.mnMin;
- mnMax = rOther.mnMax;
- mnCorrectedValue = rOther.mnCorrectedValue;
- mnType = rOther.mnType;
- mnDecimalDigits = rOther.mnDecimalDigits;
- mbThousandSep = rOther.mbThousandSep;
- mbShowTrailingZeros = rOther.mbThousandSep;
-
- mnSpinSize = rOther.mnSpinSize;
- mnFirst = rOther.mnFirst;
- mnLast = rOther.mnLast;
-}
-
// -----------------------------------------------------------------------
NumericField::NumericField( Window* pParent, WinBits nWinStyle ) :
@@ -811,13 +794,6 @@ NumericField::NumericField( Window* pParent, const ResId& rResId ) :
{
rResId.SetRT( RSC_NUMERICFIELD );
WinBits nStyle = ImplInitRes( rResId ) ;
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- {
- SetField( this );
- return;
- }
-
SpinField::ImplInit( pParent, nStyle );
SetField( this );
ImplLoadRes( rResId );
@@ -1730,10 +1706,6 @@ MetricField::MetricField( Window* pParent, const ResId& rResId ) :
{
rResId.SetRT( RSC_METRICFIELD );
WinBits nStyle = ImplInitRes( rResId ) ;
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- return;
-
SpinField::ImplInit( pParent, nStyle );
SetField( this );
ImplLoadRes( rResId );
@@ -1747,29 +1719,6 @@ Size MetricField::CalcMinimumSize() const
return calcMinimumSize(*this, *this);
}
-void MetricFormatter::take_properties(MetricFormatter &rOtherField)
-{
- maCustomUnitText = rOtherField.maCustomUnitText;
- maCurUnitText = rOtherField.maCurUnitText;
- mnBaseValue = rOtherField.mnBaseValue;
- meUnit = rOtherField.meUnit;
- NumericFormatter::take_properties(rOtherField);
-}
-
-void MetricField::take_properties(Window &rOther)
-{
- if (!GetParent())
- {
- SpinField::ImplInit(rOther.GetParent(), rOther.GetStyle());
- SetField( this );
- }
-
- SpinField::take_properties(rOther);
-
- MetricField &rOtherField = static_cast<MetricField&>(rOther);
- MetricFormatter::take_properties(rOtherField);
-}
-
bool MetricField::set_property(const rtl::OString &rKey, const rtl::OString &rValue)
{
if (rKey.equalsL(RTL_CONSTASCII_STRINGPARAM("format")))
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index afd8e8a4c191..982e3ec3d53c 100644
--- a/vcl/source/control/fixed.cxx
+++ b/vcl/source/control/fixed.cxx
@@ -162,10 +162,6 @@ FixedText::FixedText( Window* pParent, const ResId& rResId )
{
rResId.SetRT( RSC_TEXT );
WinBits nStyle = ImplInitRes( rResId );
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- return;
-
ImplInit( pParent, nStyle );
ImplLoadRes( rResId );
@@ -173,14 +169,6 @@ FixedText::FixedText( Window* pParent, const ResId& rResId )
Show();
}
-void FixedText::take_properties(Window &rOther)
-{
- if (!GetParent())
- ImplInit(rOther.GetParent(), rOther.GetStyle());
-
- Control::take_properties(rOther);
-}
-
// -----------------------------------------------------------------------
FixedText::FixedText( Window* pParent, const ResId& rResId, bool bDisableAccessibleLabelForRelation )
@@ -647,10 +635,6 @@ FixedLine::FixedLine( Window* pParent, const ResId& rResId ) :
{
rResId.SetRT( RSC_FIXEDLINE );
WinBits nStyle = ImplInitRes( rResId );
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- return;
-
ImplInit( pParent, nStyle );
ImplLoadRes( rResId );
@@ -658,14 +642,6 @@ FixedLine::FixedLine( Window* pParent, const ResId& rResId ) :
Show();
}
-void FixedLine::take_properties(Window &rOther)
-{
- if (!GetParent())
- ImplInit(rOther.GetParent(), rOther.GetStyle());
-
- Control::take_properties(rOther);
-}
-
// -----------------------------------------------------------------------
void FixedLine::FillLayoutData() const
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index e7bbca69e5c1..f070206d396e 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -531,16 +531,6 @@ sal_uInt16 ImplEntryList::FindFirstSelectable( sal_uInt16 nPos, bool bForward /*
return LISTBOX_ENTRY_NOTFOUND;
}
-void ImplEntryList::take_properties(ImplEntryList &rOther)
-{
- mnLastSelected = rOther.mnLastSelected;
- mnSelectionAnchor = rOther.mnSelectionAnchor;
- mnImages = rOther.mnImages;
- mnMRUCount = rOther.mnMRUCount;
- mnMaxMRUCount = rOther.mnMaxMRUCount;
- maEntries.swap(rOther.maEntries);
-}
-
// =======================================================================
ImplListBoxWindow::ImplListBoxWindow( Window* pParent, WinBits nWinStyle ) :
@@ -588,52 +578,6 @@ ImplListBoxWindow::ImplListBoxWindow( Window* pParent, WinBits nWinStyle ) :
ImplCalcMetrics();
}
-void ImplListBoxWindow::take_properties(Window &rOther)
-{
- Control::take_properties(rOther);
-
- ImplListBoxWindow &rOtherListBoxWindow = static_cast<ImplListBoxWindow&>(rOther);
- mpEntryList->take_properties(*rOtherListBoxWindow.mpEntryList);
-
- maFocusRect = rOtherListBoxWindow.maFocusRect;
- maUserItemSize = rOtherListBoxWindow.maUserItemSize;
- mnMaxTxtHeight = rOtherListBoxWindow.mnMaxTxtHeight;
- mnMaxTxtWidth = rOtherListBoxWindow.mnMaxTxtWidth;
- mnMaxImgTxtWidth = rOtherListBoxWindow.mnMaxImgTxtWidth;
- mnMaxImgWidth = rOtherListBoxWindow.mnMaxImgWidth;
- mnMaxImgHeight = rOtherListBoxWindow.mnMaxImgHeight;
- mnMaxWidth = rOtherListBoxWindow.mnMaxWidth;
- mnMaxHeight = rOtherListBoxWindow.mnMaxHeight;
- mnCurrentPos = rOtherListBoxWindow.mnCurrentPos;
- mnTrackingSaveSelection = rOtherListBoxWindow.mnTrackingSaveSelection;
- mnSeparatorPos = rOtherListBoxWindow.mnSeparatorPos;
- mnUserDrawEntry = rOtherListBoxWindow.mnUserDrawEntry;
- mnTop = rOtherListBoxWindow.mnTop;
- mnLeft = rOtherListBoxWindow.mnLeft;
- mnBorder = rOtherListBoxWindow.mnBorder;
- mnTextHeight = rOtherListBoxWindow.mnTextHeight;
- meProminentType = rOtherListBoxWindow.meProminentType;
- mnSelectModifier = rOtherListBoxWindow.mnSelectModifier;
- mbHasFocusRect = rOtherListBoxWindow.mbHasFocusRect;
- mbSort = rOtherListBoxWindow.mbSort;
- mbTrack = rOtherListBoxWindow.mbTrack;
- mbMulti = rOtherListBoxWindow.mbMulti;
- mbStackMode = rOtherListBoxWindow.mbStackMode;
- mbSimpleMode = rOtherListBoxWindow.mbSimpleMode;
- mbImgsDiffSz = rOtherListBoxWindow.mbImgsDiffSz;
- mbTravelSelect = rOtherListBoxWindow.mbTravelSelect;
- mbTrackingSelect = rOtherListBoxWindow.mbTrackingSelect;
- mbSelectionChanged = rOtherListBoxWindow.mbSelectionChanged;
- mbMouseMoveSelect = rOtherListBoxWindow.mbMouseMoveSelect;
- mbGrabFocus = rOtherListBoxWindow.mbGrabFocus;
- mbUserDrawEnabled = rOtherListBoxWindow.mbUserDrawEnabled;
- mbInUserDraw = rOtherListBoxWindow.mbInUserDraw;
- mbReadOnly = rOtherListBoxWindow.mbReadOnly;
- mbMirroring = rOtherListBoxWindow.mbMirroring;
- mbRight = rOtherListBoxWindow.mbRight;
- mbCenter = rOtherListBoxWindow.mbCenter;
-}
-
// -----------------------------------------------------------------------
ImplListBoxWindow::~ImplListBoxWindow()
@@ -2298,14 +2242,6 @@ ImplListBox::ImplListBox( Window* pParent, WinBits nWinStyle ) :
maLBWindow.Show();
}
-void ImplListBox::take_properties(Window &rOther)
-{
- Control::take_properties(rOther);
-
- ImplListBox &rOtherListBoxWindow = static_cast<ImplListBox&>(rOther);
- maLBWindow.take_properties(rOtherListBoxWindow.maLBWindow);
-}
-
// -----------------------------------------------------------------------
ImplListBox::~ImplListBox()
@@ -2787,18 +2723,6 @@ ImplWin::ImplWin( Window* pParent, WinBits nWinStyle ) :
mnItemPos = LISTBOX_ENTRY_NOTFOUND;
}
-void ImplWin::take_properties(Window &rOther)
-{
- Control::take_properties(rOther);
-
- ImplWin &rOtherImplWin = static_cast<ImplWin&>(rOther);
- mnItemPos = rOtherImplWin.mnItemPos;
- maString = rOtherImplWin.maString;
- maImage = rOtherImplWin.maImage;
- maFocusRect = rOtherImplWin.maFocusRect;
- maUserItemSize = rOtherImplWin.maUserItemSize;
-};
-
// -----------------------------------------------------------------------
void ImplWin::MBDown()
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index 8675c5a050dc..94f58d14520e 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -60,39 +60,14 @@ ListBox::ListBox( Window* pParent, const ResId& rResId ) :
{
rResId.SetRT( RSC_LISTBOX );
WinBits nStyle = ImplInitRes( rResId );
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- return;
-
ImplInitListBoxData();
ImplInit( pParent, nStyle );
-
ImplLoadRes( rResId );
if ( !(nStyle & WB_HIDE ) )
Show();
}
-void ListBox::take_properties(Window &rOther)
-{
- if (!GetParent())
- {
- ImplInitListBoxData();
- ImplInit(rOther.GetParent(), rOther.GetStyle());
- }
-
- Control::take_properties(rOther);
-
- ListBox &rOtherListBox = static_cast<ListBox&>(rOther);
- mnDDHeight = rOtherListBox.mnDDHeight;
- mnSaveValue = rOtherListBox.mnSaveValue;
- EnableAutoSize(rOtherListBox.mbDDAutoSize);
- SetDropDownLineCount(rOtherListBox.GetDropDownLineCount());
- mpImplLB->take_properties(*rOtherListBox.mpImplLB);
- if (mpImplWin && rOtherListBox.mpImplWin)
- mpImplWin->take_properties(*rOtherListBox.mpImplWin);
-}
-
// -----------------------------------------------------------------------
ListBox::~ListBox()
@@ -1580,10 +1555,6 @@ MultiListBox::MultiListBox( Window* pParent, const ResId& rResId ) :
{
rResId.SetRT( RSC_MULTILISTBOX );
WinBits nStyle = ImplInitRes( rResId );
-
- if (VclBuilderContainer::replace_buildable(pParent, rResId, *this))
- return;
-
ImplInit( pParent, nStyle );
ImplLoadRes( rResId );
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx
index 47aa1974f32d..cba366d1b682 100644
--- a/vcl/source/control/spinfld.cxx
+++ b/vcl/source/control/spinfld.cxx
@@ -365,35 +365,6 @@ SpinField::SpinField( Window* pParent, const ResId& rResId ) :
Show();
}
-void SpinField::take_properties(Window &rOther)
-{
- if (!GetParent())
- {
- ImplInitSpinFieldData();
- ImplInit(rOther.GetParent(), rOther.GetStyle());
- }
-
- Edit::take_properties(rOther);
-
- SpinField &rOtherField = static_cast<SpinField&>(rOther);
- assert(mpEdit && rOtherField.mpEdit);
- mpEdit->take_properties(*rOtherField.mpEdit);
-
- maUpperRect = rOtherField.maUpperRect;
- maLowerRect = rOtherField.maLowerRect;
- maDropDownRect = rOtherField.maDropDownRect;
- mbRepeat = rOtherField.mbRepeat;
- mbSpin = rOtherField.mbSpin;
- mbInitialUp = rOtherField.mbInitialUp;
- mbInitialDown = rOtherField.mbInitialDown;
- mbNoSelect = rOtherField.mbNoSelect;
- mbUpperIn = rOtherField.mbUpperIn;
- mbLowerIn = rOtherField.mbLowerIn;
- mbInDropDown = rOtherField.mbInDropDown;
-}
-
-
-
// --------------------------------------------------------------------
SpinField::~SpinField()
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 4e1afc25e29c..7efd292d3fc9 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -2218,22 +2218,4 @@ Size TabControl::GetOptimalSize(WindowSizeType eType) const
return calculateRequisition();
}
-// -----------------------------------------------------------------------
-
-void TabControl::ReassignPageId(sal_uInt16 nOldId, sal_uInt16 nNewId)
-{
- for( std::vector< ImplTabItem >::iterator it = mpTabCtrlData->maItemList.begin();
- it != mpTabCtrlData->maItemList.end(); ++it )
- {
- if( it->mnId == nOldId )
- it->mnId = nNewId;
- }
-
- if (mnActPageId == nOldId)
- mnActPageId = nNewId;
-
- if (mnCurPageId == nOldId)
- mnCurPageId = nOldId;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */