summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-02-11 16:23:37 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-02-11 16:23:37 -0500
commit42bcfaf4d19cec2a9053c8e2c29b9157ae931a39 (patch)
treed534b7c83eb0c8e2ea8a5057e5c6fb79298f9537
parentd7acacedfa6447e357f0409594f6c0a3924fb59d (diff)
Get chart2 to build under windows.
There are still quite a few warnings here though.
-rw-r--r--chart2/source/tools/InternalData.cxx1
-rw-r--r--chart2/source/tools/OPropertySet.cxx4
2 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/tools/InternalData.cxx b/chart2/source/tools/InternalData.cxx
index e5f667d91..2d8dd236a 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 66b757c3d..46d249b00 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();
}