summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmldrani.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-05-13 21:55:11 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-05-13 22:54:10 -0400
commita19af69c93d2ca8e319a1327aba6cf042deec25b (patch)
tree3c09be2a11b4555357ecfee40ac8a0e9582818de /sc/source/filter/xml/xmldrani.hxx
parente89ef0e0a60dbaae07e73fb0503aa1d3bb80fbc4 (diff)
Fixed incorrect exporting of global named database ranges.
Diffstat (limited to 'sc/source/filter/xml/xmldrani.hxx')
-rw-r--r--sc/source/filter/xml/xmldrani.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/xml/xmldrani.hxx b/sc/source/filter/xml/xmldrani.hxx
index 10d1c77d79c0..52bec7cbab3c 100644
--- a/sc/source/filter/xml/xmldrani.hxx
+++ b/sc/source/filter/xml/xmldrani.hxx
@@ -39,6 +39,8 @@
#include <com/sun/star/table/CellRangeAddress.hpp>
#include <com/sun/star/table/TableOrientation.hpp>
+#include "dbcolect.hxx"
+
class ScDBData;
class ScXMLImport;
@@ -72,8 +74,6 @@ struct ScSubTotalRule
class ScXMLDatabaseRangeContext : public SvXMLImportContext
{
- enum RangeType { GlobalNamed, GlobalAnonymous, SheetAnonymous };
-
rtl::OUString sDatabaseRangeName;
rtl::OUString sConnectionRessource;
rtl::OUString sRangeAddress;
@@ -109,7 +109,7 @@ class ScXMLDatabaseRangeContext : public SvXMLImportContext
sal_Bool bFilterSkipDuplicates;
sal_Bool bFilterUseRegularExpressions;
sal_Bool bFilterConditionSourceRange;
- RangeType meRangeType;
+ ScDBCollection::RangeType meRangeType;
const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }