From 25a2eab22798373b8197f1e594568207eb7c5039 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 15 Apr 2014 23:34:37 +0200 Subject: 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 --- xmloff/source/draw/ximpshap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff') 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 -- cgit