summaryrefslogtreecommitdiff
path: root/xmloff/source/core/xmlimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/core/xmlimp.cxx')
-rw-r--r--xmloff/source/core/xmlimp.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 24264a77460b..209c141fb0d4 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -219,7 +219,14 @@ public:
}
else if ('7' == loVersion[0])
{
- mnGeneratorVersion = SvXMLImport::LO_7x;
+ if (loVersion.getLength() > 2 && loVersion[2] == '6')
+ {
+ mnGeneratorVersion = SvXMLImport::LO_76; // 7.6
+ }
+ else
+ {
+ mnGeneratorVersion = SvXMLImport::LO_7x;
+ }
}
else
{