diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-07-18 19:58:06 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-07-19 22:50:09 +0200 |
commit | 58ccac44f7df4273db31e4bbe9043bfb4af4d08a (patch) | |
tree | c60d65f9183e08e4748219c023131bcdeec9ab6b /xmloff/source/core/xmlimp.cxx | |
parent | ca004d940ee8cdec9a4e8bee869c23115d7fd378 (diff) |
tdf#108824 Honor ODF default for "Mouse pointer visible" property
Change-Id: I6b4c431d66835b6affe834a23b900fa61830d87f
Reviewed-on: https://gerrit.libreoffice.org/40159
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmloff/source/core/xmlimp.cxx')
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index 16fcb5791baf..10f31883f236 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -175,11 +175,18 @@ public: mnGeneratorVersion = SvXMLImport::LO_44x; // 4.4 } } - else + else if ('5' == loVersion[0]) { - SAL_INFO_IF('5' != loVersion[0], "xmloff.core", "unknown LO version: " << loVersion); mnGeneratorVersion = SvXMLImport::LO_5x; } + else if ('6' == loVersion[0]) + { + mnGeneratorVersion = SvXMLImport::LO_6x; + } + else + { + SAL_WARN("xmloff.core", "unknown LO version: " << loVersion); + } return; // ignore buildIds } } |