summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@gmx.com>2012-02-11 19:44:16 +0100
committerMatteo Casalin <matteo.casalin@gmx.com>2012-02-17 18:57:43 +0100
commitc53c541eda3936e462c75c09f2741a4838981474 (patch)
treec0aa833dd046e0d17e881e8781d4028d1ed6b433
parentbbdbab7f249683995994e65c0a0e290bd156eca7 (diff)
ValueSet: removed unused members
-rw-r--r--svtools/inc/svtools/valueset.hxx3
-rw-r--r--svtools/source/control/valueset.cxx8
2 files changed, 0 insertions, 11 deletions
diff --git a/svtools/inc/svtools/valueset.hxx b/svtools/inc/svtools/valueset.hxx
index 913ee3b8c20e..0295c6e71b57 100644
--- a/svtools/inc/svtools/valueset.hxx
+++ b/svtools/inc/svtools/valueset.hxx
@@ -222,10 +222,8 @@ private:
long mnLines;
long mnUserItemWidth;
long mnUserItemHeight;
- sal_uInt16 mnOldItemId;
sal_uInt16 mnSelItemId;
sal_uInt16 mnHighItemId;
- size_t mnDropPos;
sal_uInt16 mnCols;
sal_uInt16 mnCurCol;
sal_uInt16 mnUserCols;
@@ -241,7 +239,6 @@ private:
bool mbBlackSel : 1;
bool mbDoubleSel : 1;
bool mbScroll : 1;
- bool mbDropPos : 1;
bool mbFullMode : 1;
Color maColor;
Link maDoubleClickHdl;
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index 15ab159f373e..d2d1b9550317 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -59,10 +59,8 @@ void ValueSet::ImplInit()
mnUserItemWidth = 0;
mnUserItemHeight = 0;
mnFirstLine = 0;
- mnOldItemId = 0;
mnSelItemId = 0;
mnHighItemId = 0;
- mnDropPos = VALUESET_ITEM_NOTFOUND;
mnCols = 0;
mnCurCol = 0;
mnUserCols = 0;
@@ -77,7 +75,6 @@ void ValueSet::ImplInit()
mbBlackSel = false;
mbDoubleSel = false;
mbScroll = false;
- mbDropPos = false;
mbFullMode = true;
// #106446#, #106601# force mirroring of virtual device
@@ -1225,7 +1222,6 @@ void ValueSet::MouseButtonDown( const MouseEvent& rMEvt )
mbHighlight = true;
if ( pItem )
{
- mnOldItemId = mnSelItemId;
mnHighItemId = mnSelItemId;
ImplHighlightItem( pItem->mnId );
}
@@ -1238,7 +1234,6 @@ void ValueSet::MouseButtonDown( const MouseEvent& rMEvt )
{
if ( rMEvt.GetClicks() == 1 )
{
- mnOldItemId = mnSelItemId;
mbHighlight = true;
mnHighItemId = mnSelItemId;
ImplHighlightItem( pItem->mnId );
@@ -1814,7 +1809,6 @@ void ValueSet::RemoveItem( sal_uInt16 nItemId )
if ( (mnHighItemId == nItemId) || (mnSelItemId == nItemId) )
{
mnCurCol = 0;
- mnOldItemId = 0;
mnHighItemId = 0;
mnSelItemId = 0;
mbNoSelection = true;
@@ -1834,7 +1828,6 @@ void ValueSet::Clear()
// reset variables
mnFirstLine = 0;
mnCurCol = 0;
- mnOldItemId = 0;
mnHighItemId = 0;
mnSelItemId = 0;
mbNoSelection = true;
@@ -2273,7 +2266,6 @@ void ValueSet::SetExtraSpacing( sal_uInt16 nNewSpacing )
void ValueSet::StartSelection()
{
- mnOldItemId = mnSelItemId;
mbHighlight = true;
mbSelection = true;
mnHighItemId = mnSelItemId;