[Libreoffice-commits] core.git: vcl/source
Tor Lillqvist
tml at collabora.com
Fri Dec 13 02:22:12 PST 2013
vcl/source/filter/graphicfilter.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 8db5c8c080f8b02bacbb1990eaec0e89f6cf8f1f
Author: Tor Lillqvist <tml at 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 ) )
More information about the Libreoffice-commits
mailing list