summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-04-15 23:34:37 +0200
committerMichael Stahl <mstahl@redhat.com>2014-04-16 00:33:22 +0200
commit25a2eab22798373b8197f1e594568207eb7c5039 (patch)
tree6afe3aa445e8d4e0dab92e14e6dc0ea3efd3f394 /xmloff
parente51ca506076a566bdd587f35cc0a8c58a50cdc2c (diff)
fdo#77027: ODF import: fix wrong version in check for embedded objects
SvXMLImport::LO_4x does not mean 4.0+ any more. (regression from 92cb21ebeda98c5193c50c4cf7ef3d60611c2a52) Change-Id: Ib444762c2d6e4d051e99962eaff1b1ed34af983a
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/ximpshap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index ce27251c3429..a3fd8bb5a974 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -2772,7 +2772,7 @@ void SdXMLObjectShapeContext::StartElement( const ::com::sun::star::uno::Referen
void SdXMLObjectShapeContext::EndElement()
{
if (GetImport().isGeneratorVersionOlderThan(
- SvXMLImport::OOo_34x, SvXMLImport::LO_4x))
+ SvXMLImport::OOo_34x, SvXMLImport::LO_41x)) // < LO 4.0
{
// #i118485#
// If it's an old file from us written before OOo3.4, we need to correct