[Libreoffice-commits] .: 2 commits - boost/boost_1_44_0-clang-warnings.patch sc/inc

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Dec 14 03:31:40 PST 2012


 boost/boost_1_44_0-clang-warnings.patch |   39 ++++++++++++++++++++++++++++++++
 sc/inc/dpsave.hxx                       |    1 
 2 files changed, 39 insertions(+), 1 deletion(-)

New commits:
commit fef2ef3b91a42d59d1a24a3d17dfd13f2debf094
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Dec 14 12:31:02 2012 +0100

    -Werror,-Wshadow
    
    Change-Id: I9828e16c295d3634bd5f0c6910cf28e2f4dde3d2

diff --git a/boost/boost_1_44_0-clang-warnings.patch b/boost/boost_1_44_0-clang-warnings.patch
index cf7603a..d577205 100644
--- a/boost/boost_1_44_0-clang-warnings.patch
+++ b/boost/boost_1_44_0-clang-warnings.patch
@@ -80,6 +80,45 @@
      template<class Token, class Value> 
      static void plus_equal(Token &t, const Value &v) {
        t += v;
+--- misc/boost_1_44_0/boost/random/lagged_fibonacci.hpp
++++ misc/build/boost_1_44_0/boost/random/lagged_fibonacci.hpp
+@@ -16,6 +16,10 @@
+ #ifndef BOOST_RANDOM_LAGGED_FIBONACCI_HPP
+ #define BOOST_RANDOM_LAGGED_FIBONACCI_HPP
+ 
++#if defined __GNUC__
++#pragma GCC system_header
++#endif
++
+ #include <boost/config/no_tr1/cmath.hpp>
+ #include <iostream>
+ #include <algorithm>     // std::max
+--- misc/boost_1_44_0/boost/random/shuffle_output.hpp
++++ misc/build/boost_1_44_0/boost/random/shuffle_output.hpp
+@@ -16,6 +16,10 @@
+ #ifndef BOOST_RANDOM_SHUFFLE_OUTPUT_HPP
+ #define BOOST_RANDOM_SHUFFLE_OUTPUT_HPP
+ 
++#if defined __GNUC__
++#pragma GCC system_header
++#endif
++
+ #include <iostream>
+ #include <algorithm>     // std::copy
+ #include <cassert>
+--- misc/boost_1_44_0/boost/random/subtract_with_carry.hpp
++++ misc/build/boost_1_44_0/boost/random/subtract_with_carry.hpp
+@@ -16,6 +16,10 @@
+ #ifndef BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP
+ #define BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP
+ 
++#if defined __GNUC__
++#pragma GCC system_header
++#endif
++
+ #include <boost/config/no_tr1/cmath.hpp>
+ #include <iostream>
+ #include <algorithm>     // std::equal
 --- misc/boost_1_44_0/boost/uuid/name_generator.hpp
 +++ misc/build/boost_1_44_0/boost/uuid/name_generator.hpp
 @@ -72,10 +72,10 @@
commit 65674e4801cd5eac58f899d34f8e34a65532633b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Dec 14 12:17:40 2012 +0100

    -Werror,-Wunused-private-field
    
    Change-Id: Icd62aa1f8008c1dfcc7d2ab3eb2ffd2188905fcd

diff --git a/sc/inc/dpsave.hxx b/sc/inc/dpsave.hxx
index 5bca23b..ef27b17 100644
--- a/sc/inc/dpsave.hxx
+++ b/sc/inc/dpsave.hxx
@@ -96,7 +96,6 @@ class SC_DLLPUBLIC ScDPSaveDimension
 {
 private:
     ::rtl::OUString aName;
-    ::rtl::OUString* pSelectedPage;
     boost::scoped_ptr<rtl::OUString> mpLayoutName;
     boost::scoped_ptr<rtl::OUString> mpSubtotalName;
     bool bIsDataLayout;


More information about the Libreoffice-commits mailing list