diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-27 11:22:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-27 11:25:33 +0000 |
commit | 96d7fff09c8c73fa6c22345110a4f89732c20f23 (patch) | |
tree | c6353540c064c402a853b83f95422fc2b361f803 /sc/source/ui/docshell/docsh6.cxx | |
parent | 5cd1a8ec06fe6760e7d05a6b45b846e738bc3e56 (diff) |
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'sc/source/ui/docshell/docsh6.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh6.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx index a7b38f78a6af..bb57df567051 100644 --- a/sc/source/ui/docshell/docsh6.cxx +++ b/sc/source/ui/docshell/docsh6.cxx @@ -218,7 +218,6 @@ void ScDocShell::UpdateOle( const ScViewData* pViewData, BOOL bSnapSize ) Rectangle aOldArea = SfxObjectShell::GetVisArea(); Rectangle aNewArea = aOldArea; - BOOL bChange = FALSE; BOOL bEmbedded = aDocument.IsEmbedded(); if (bEmbedded) aNewArea = aDocument.GetEmbeddedRect(); @@ -226,10 +225,7 @@ void ScDocShell::UpdateOle( const ScViewData* pViewData, BOOL bSnapSize ) { SCTAB nTab = pViewData->GetTabNo(); if ( nTab != aDocument.GetVisibleTab() ) - { aDocument.SetVisibleTab( nTab ); - bChange = TRUE; - } BOOL bNegativePage = aDocument.IsNegativePage( nTab ); SCCOL nX = pViewData->GetPosX(SC_SPLIT_LEFT); @@ -244,10 +240,7 @@ void ScDocShell::UpdateOle( const ScViewData* pViewData, BOOL bSnapSize ) } if (aNewArea != aOldArea) - { SetVisAreaOrSize( aNewArea, TRUE ); // hier muss auch der Start angepasst werden - bChange = TRUE; - } } // |