[Libreoffice-commits] core.git: sc/source

Julien Nabet serval2412 at yahoo.fr
Sat Jul 11 23:38:35 PDT 2015


 sc/source/ui/view/tabview.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 57205b9e853316832ee8ad8437c457bc0882d177
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Jul 12 08:37:28 2015 +0200

    cppcheck: Variable 'bOutlMode' is assigned a value that is never used
    
    Change-Id: I07ec277e57b48fed19f80e5cf628236a3e3efc8e

diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 436d6950..9e4fcca 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -315,7 +315,7 @@ void ScTabView::DoResize( const Point& rOffset, const Size& rSize, bool bInner )
     bool bVOutline   = bOutlMode && lcl_HasRowOutline(aViewData);
 
     if ( aViewData.GetDocShell()->IsPreview() )
-        bHScroll = bVScroll = bTabControl = bHeaders = bOutlMode = bHOutline = bVOutline = false;
+        bHScroll = bVScroll = bTabControl = bHeaders = bHOutline = bVOutline = false;
 
     long nBarX = 0;
     long nBarY = 0;
@@ -1457,7 +1457,7 @@ void ScTabView::UpdateShow()
     bool bShowV = ( aViewData.GetVSplitMode() != SC_SPLIT_NONE );
 
     if ( aViewData.GetDocShell()->IsPreview() )
-        bHScrollMode = bVScrollMode = bTabMode = bHeader = bOutlMode = bHOutline = bVOutline = false;
+        bHScrollMode = bVScrollMode = bTabMode = bHeader = bHOutline = bVOutline = false;
 
         //  Windows anlegen
 


More information about the Libreoffice-commits mailing list