diff options
author | Radek Doulik <rodo@novell.com> | 2012-03-08 14:08:56 +0100 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2012-03-08 14:08:56 +0100 |
commit | c6e83ea051054c59abb685ad4258ac0b74e119c4 (patch) | |
tree | 82fd4cf3b84dd3e0df477acadbb5c3eb49e6a357 /svtools/source | |
parent | 47462311eeeac0c9e560e0bb77a3c2c623362b83 (diff) |
fix the condition
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/filter/wmf/winwmf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/filter/wmf/winwmf.cxx b/svtools/source/filter/wmf/winwmf.cxx index e52d08e9de0d..d9daf2a7df3f 100644 --- a/svtools/source/filter/wmf/winwmf.cxx +++ b/svtools/source/filter/wmf/winwmf.cxx @@ -1101,7 +1101,7 @@ sal_Bool WMFReader::ReadHeader() { sal_uInt16 aNextWord(0); *pWMF >> aNextWord; - if (nMetaKey == 0x10000 && aNextWord != 0x09) + if (nMetaKey != 0x10000 || aNextWord != 0x09) { pWMF->SetError( SVSTREAM_FILEFORMAT_ERROR ); return false; |