vcl/source/filter/graphicfilter.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 8db5c8c080f8b02bacbb1990eaec0e89f6cf8f1f Author: Tor Lillqvist <t...@collabora.com> Date: Fri Dec 13 12:16:22 2013 +0200 WaE: statement aligned ... [loplugin] Either missing braces around the else branch, or inconsistent indentation. I guessed it was the former and added braces. Change-Id: Ic5e7db892774d48ba6db09a40741e5fbbdc95994 diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx index 6c38c1b..e19f54f 100644 --- a/vcl/source/filter/graphicfilter.cxx +++ b/vcl/source/filter/graphicfilter.cxx @@ -1583,9 +1583,11 @@ sal_uInt16 GraphicFilter::ImportGraphic( Graphic& rGraphic, const OUString& rPat if( rIStream.GetError() ) nStatus = GRFILTER_FORMATERROR; else + { rGraphic.SetDefaultType(); rIStream.Seek( STREAM_SEEK_TO_END ); eLinkType = GFX_LINK_TYPE_NATIVE_MOV; + } } else if( aFilterName.equalsIgnoreAsciiCase( IMP_WMF ) || aFilterName.equalsIgnoreAsciiCase( IMP_EMF ) ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits