[Libreoffice-commits] .: binfilter/bf_sc binfilter/inc

Caolán McNamara caolan at kemper.freedesktop.org
Mon Sep 12 12:05:14 PDT 2011


 binfilter/bf_sc/source/core/data/sc_documen3.cxx  |   12 ------------
 binfilter/bf_sc/source/ui/docshell/sc_docfunc.cxx |    2 +-
 binfilter/inc/bf_sc/document.hxx                  |    1 -
 3 files changed, 1 insertion(+), 14 deletions(-)

New commits:
commit 2594e3ad1b187a15bb2845f2297c3611cd76ffb2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Sep 12 17:08:54 2011 +0100

    UpdateOutlineCol is always false

diff --git a/binfilter/bf_sc/source/core/data/sc_documen3.cxx b/binfilter/bf_sc/source/core/data/sc_documen3.cxx
index 993dad8..e472926 100644
--- a/binfilter/bf_sc/source/core/data/sc_documen3.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_documen3.cxx
@@ -475,18 +475,6 @@ using namespace ::com::sun::star;
          }
 /*N*/ }
 
-//  Outline anpassen
-
-BOOL ScDocument::UpdateOutlineCol( USHORT, USHORT, USHORT nTab, BOOL )
-{
-    DBG_BF_ASSERT(0, "STRIP");
-    if ( nTab<=MAXTAB && pTab[nTab] )
-        return FALSE;
-
-    OSL_FAIL("missing tab");
-    return FALSE;
-}
-
 /*N*/ BOOL ScDocument::UpdateOutlineRow( USHORT nStartRow, USHORT nEndRow, USHORT nTab, BOOL bShow )
 /*N*/ {
 /*N*/   if ( nTab<=MAXTAB && pTab[nTab] )
diff --git a/binfilter/bf_sc/source/ui/docshell/sc_docfunc.cxx b/binfilter/bf_sc/source/ui/docshell/sc_docfunc.cxx
index 2ff1893..ecbdfa3 100644
--- a/binfilter/bf_sc/source/ui/docshell/sc_docfunc.cxx
+++ b/binfilter/bf_sc/source/ui/docshell/sc_docfunc.cxx
@@ -978,7 +978,7 @@ using namespace ::com::sun::star;
 /*N*/       if ( eMode != SC_SIZE_ORIGINAL )
 /*N*/       {
 /*N*/           if (bWidth)
-/*N*/               bOutline = bOutline || pDoc->UpdateOutlineCol( nStartNo, nEndNo, nTab, bShow );
+/*N*/               bOutline = bOutline;
 /*N*/           else
 /*N*/               bOutline = bOutline || pDoc->UpdateOutlineRow( nStartNo, nEndNo, nTab, bShow );
 /*N*/       }
diff --git a/binfilter/inc/bf_sc/document.hxx b/binfilter/inc/bf_sc/document.hxx
index fbd1e79..37cea7e 100644
--- a/binfilter/inc/bf_sc/document.hxx
+++ b/binfilter/inc/bf_sc/document.hxx
@@ -921,7 +921,6 @@ public:
     // nDefault is setted to one possition in the current row/col where the Default style is
     BOOL            GetColDefault( USHORT nTab, USHORT nCol, USHORT nLastRow, USHORT& nDefault);
 
-    BOOL            UpdateOutlineCol( USHORT nStartCol, USHORT nEndCol, USHORT nTab, BOOL bShow );
     BOOL            UpdateOutlineRow( USHORT nStartRow, USHORT nEndRow, USHORT nTab, BOOL bShow );
 
     ScPatternAttr*      GetDefPattern() const;


More information about the Libreoffice-commits mailing list