summaryrefslogtreecommitdiff
path: root/svtools/source/contnr
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/contnr')
-rw-r--r--svtools/source/contnr/fileview.cxx1
-rw-r--r--svtools/source/contnr/imivctl1.cxx10
-rw-r--r--svtools/source/contnr/svtreebx.cxx1
3 files changed, 0 insertions, 12 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index f5a6de0a6ab0..33aca2b4832f 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -802,7 +802,6 @@ void ViewTabListBox_Impl::Resize()
if ( mbAutoResize )
{
mbResizeDisabled = sal_True;
- Point aPos = GetPosPixel();
SetPosSizePixel( Point( 0, aBarSize.Height() ),
Size( aBoxSize.Width(), aBoxSize.Height() - aBarSize.Height() ) );
mbResizeDisabled = sal_False;
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 29b1e9dfbd76..2032d0a49afd 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -544,7 +544,6 @@ void SvxIconChoiceCtrl_Impl::ResetVirtSize()
StopEditTimer();
aVirtOutputSize.Width() = 0;
aVirtOutputSize.Height() = 0;
- BOOL bLockedEntryFound = FALSE;
const ULONG nCount = aEntries.Count();
for( ULONG nCur = 0; nCur < nCount; nCur++ )
{
@@ -557,7 +556,6 @@ void SvxIconChoiceCtrl_Impl::ResetVirtSize()
FindBoundingRect( pCur );
else
AdjustVirtSize( pCur->aRect );
- bLockedEntryFound = TRUE;
}
else
InvalidateBoundingRect( pCur->aRect );
@@ -1212,14 +1210,6 @@ BOOL SvxIconChoiceCtrl_Impl::KeyInput( const KeyEvent& rKEvt )
if( bMod1 )
nFlags |= F_ADD_MODE;
- BOOL bDeselectAll = FALSE;
- if( eSelectionMode != SINGLE_SELECTION )
- {
- if( !bMod1 && !bShift )
- bDeselectAll = TRUE;
- if( bShift && !bMod1 && !pAnchor )
- bDeselectAll = TRUE;
- }
SvxIconChoiceCtrlEntry* pNewCursor;
SvxIconChoiceCtrlEntry* pOldCursor = pCursor;
diff --git a/svtools/source/contnr/svtreebx.cxx b/svtools/source/contnr/svtreebx.cxx
index c4a322d9ee3c..96c91a3b8992 100644
--- a/svtools/source/contnr/svtreebx.cxx
+++ b/svtools/source/contnr/svtreebx.cxx
@@ -1371,7 +1371,6 @@ void SvTreeListBox::EditedText( const XubString& rStr )
DBG_CHKTHIS(SvTreeListBox,0);
if(pEdEntry) // we have to check if this entry is null that means that it is removed while editing
{
- Point aPos = GetEntryPosition( pEdEntry );
if( EditedEntry( pEdEntry, rStr ) )
{
((SvLBoxString*)pEdItem)->SetText( pEdEntry, rStr );