summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-12-13 12:16:22 +0200
committerTor Lillqvist <tml@collabora.com>2013-12-13 12:20:27 +0200
commit8db5c8c080f8b02bacbb1990eaec0e89f6cf8f1f (patch)
treeee9aaca17b4eb184222cb6dac78063aa916a2fa5 /vcl
parent88b9e7f391910e534b0faf7378ec4c6929d4d44a (diff)
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
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/graphicfilter.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index 6c38c1ba9a2c..e19f54f28e75 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 ) )