[Libreoffice-commits] .: 2 commits - sc/inc sc/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Feb 14 05:23:20 PST 2011


 sc/inc/types.hxx                          |    3 +++
 sc/source/core/tool/address.cxx           |    4 ++--
 sc/source/filter/xml/cachedattraccess.cxx |    2 ++
 sc/source/filter/xml/cachedattraccess.hxx |    3 +++
 4 files changed, 10 insertions(+), 2 deletions(-)

New commits:
commit a2639a46feebd4c1a3c4a689e5ad87778a927935
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Feb 14 10:37:32 2011 +0000

    WaE: silence this for all compilers

diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx
index f7eda7f..f637171 100644
--- a/sc/source/core/tool/address.cxx
+++ b/sc/source/core/tool/address.cxx
@@ -1437,7 +1437,7 @@ USHORT ScRange::ParseCols( const String& rStr, ScDocument* pDoc,
     if( NULL == p )
         return 0;
 
-    pDoc = NULL; // make compiler shutup we may need this later
+    (void)pDoc; // make compiler shutup we may need this later
 
     switch (rDetails.eConv)
     {
@@ -1496,7 +1496,7 @@ USHORT ScRange::ParseRows( const String& rStr, ScDocument* pDoc,
     if( NULL == p )
         return 0;
 
-    pDoc = NULL; // make compiler shutup we may need this later
+    (void)pDoc; // make compiler shutup we may need this later
 
     switch (rDetails.eConv)
     {
commit d833191f1c007a31d3062c66a25999152e5a404c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Feb 14 09:14:09 2011 +0000

    add mode lines to new files

diff --git a/sc/inc/types.hxx b/sc/inc/types.hxx
index d9405c5..bb454a9 100644
--- a/sc/inc/types.hxx
+++ b/sc/inc/types.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * Version: MPL 1.1 / GPLv3+ / LGPLv3+
  *
@@ -36,3 +37,5 @@ typedef ::boost::intrusive_ptr<ScMatrix>        ScMatrixRef;
 typedef ::boost::intrusive_ptr<const ScMatrix>  ScConstMatrixRef;
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/cachedattraccess.cxx b/sc/source/filter/xml/cachedattraccess.cxx
index 906ea30..31a0f21 100644
--- a/sc/source/filter/xml/cachedattraccess.cxx
+++ b/sc/source/filter/xml/cachedattraccess.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * Version: MPL 1.1 / GPLv3+ / LGPLv3+
  *
@@ -68,3 +69,4 @@ bool ScXMLCachedRowAttrAccess::rowFiltered(sal_Int32 nTab, sal_Int32 nRow)
     return maFiltered.mbValue;
 }
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/cachedattraccess.hxx b/sc/source/filter/xml/cachedattraccess.hxx
index 5ef6e41..2c31d36 100644
--- a/sc/source/filter/xml/cachedattraccess.hxx
+++ b/sc/source/filter/xml/cachedattraccess.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * Version: MPL 1.1 / GPLv3+ / LGPLv3+
  *
@@ -61,3 +62,5 @@ private:
 };
 
 #endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list