summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-21 11:11:19 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-21 13:51:06 +0200
commite8d4b5b6c39d2d0abcd9e814b9fe9ce8c3e2150f (patch)
treefc9ea7c3ac5b46e8e436d51ed1e88319dfeeb1b7 /sc
parent9b72a692ee3ef3381a0881ead4afa5bd73fff776 (diff)
better import for excel 2007 data bar files
Change-Id: I0d32a82aa4829ae635967f24293b2f32a71a4cbe
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/condformatbuffer.cxx1
-rw-r--r--sc/source/filter/oox/extlstcontext.cxx2
2 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx
index 8792546ba258..05681b8bd862 100644
--- a/sc/source/filter/oox/condformatbuffer.cxx
+++ b/sc/source/filter/oox/condformatbuffer.cxx
@@ -264,6 +264,7 @@ DataBarRule::DataBarRule( const CondFormat& rFormat ):
mrCondFormat( rFormat ),
mpFormat(new ScDataBarFormatData)
{
+ mpFormat->meAxisPosition = databar::NONE;
}
void DataBarRule::importColor( const AttributeList& rAttribs )
diff --git a/sc/source/filter/oox/extlstcontext.cxx b/sc/source/filter/oox/extlstcontext.cxx
index d8c2d1f15dc6..3f6991e07211 100644
--- a/sc/source/filter/oox/extlstcontext.cxx
+++ b/sc/source/filter/oox/extlstcontext.cxx
@@ -31,6 +31,8 @@
#include <oox/core/contexthandler.hxx>
#include "colorscale.hxx"
+#include <iostream>
+
using ::oox::core::ContextHandlerRef;
namespace oox {