[Libreoffice-commits] .: chart2/source

Kohei Yoshida kohei at kemper.freedesktop.org
Fri Feb 11 13:24:35 PST 2011


 chart2/source/tools/InternalData.cxx |    1 +
 chart2/source/tools/OPropertySet.cxx |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 42bcfaf4d19cec2a9053c8e2c29b9157ae931a39
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Fri Feb 11 16:23:37 2011 -0500

    Get chart2 to build under windows.
    
    There are still quite a few warnings here though.

diff --git a/chart2/source/tools/InternalData.cxx b/chart2/source/tools/InternalData.cxx
index e5f667d..2d8dd23 100644
--- a/chart2/source/tools/InternalData.cxx
+++ b/chart2/source/tools/InternalData.cxx
@@ -35,6 +35,7 @@
 #include "macros.hxx"
 
 #include <rtl/math.hxx>
+#include <algorithm>
 
 using ::com::sun::star::uno::Sequence;
 using ::rtl::OUString;
diff --git a/chart2/source/tools/OPropertySet.cxx b/chart2/source/tools/OPropertySet.cxx
index 66b757c..46d249b 100644
--- a/chart2/source/tools/OPropertySet.cxx
+++ b/chart2/source/tools/OPropertySet.cxx
@@ -304,7 +304,7 @@ void SAL_CALL OPropertySet::setFastPropertyValue_NoBroadcast
     {
         aDefault = GetDefaultValue( nHandle );
     }
-    catch( beans::UnknownPropertyException &ex )
+    catch( beans::UnknownPropertyException& )
     {
         aDefault.clear();
     }
@@ -385,7 +385,7 @@ void SAL_CALL OPropertySet::getFastPropertyValue
             {
                 rValue = GetDefaultValue( nHandle );
             }
-            catch( beans::UnknownPropertyException &ex )
+            catch( beans::UnknownPropertyException& )
             {
                 rValue.clear();
             }


More information about the Libreoffice-commits mailing list