diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-06-20 17:20:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-06-20 17:32:51 +0200 |
commit | 4839695eb8e5652efe2147eb47514e99433f10b0 (patch) | |
tree | bf37b072f832278df69a3ba772ca4fdaf0bc70d1 /vcl | |
parent | f28507a002cd8a78f5073510535a17d384cc471d (diff) |
error: logical not is only applied to the left hand side of this comparison
[-Werror,-Wlogical-not-parentheses] from recent Clang trunk towards 3.4. Code
was likethat "since the beginning," but I guess the way it needs a fix it is
rather obvious.
Change-Id: I8c962ae696de5482ac4e3fff5e08df71355de4a8
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/filter/wmf/wmfwr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx index e980b79a71c4..7892b12d6fcb 100644 --- a/vcl/source/filter/wmf/wmfwr.cxx +++ b/vcl/source/filter/wmf/wmfwr.cxx @@ -359,7 +359,7 @@ void WMFWriter::WMFRecord_CreatePenIndirect(const Color& rColor, const LineInfo& nStyle = W_PS_DOT; else { - if ( !rLineInfo.GetDotCount() == 1 ) + if ( rLineInfo.GetDotCount() == 1 ) nStyle = W_PS_DASHDOT; else nStyle = W_PS_DASHDOTDOT; |