From 4839695eb8e5652efe2147eb47514e99433f10b0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 20 Jun 2013 17:20:24 +0200 Subject: 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 --- vcl/source/filter/wmf/wmfwr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') 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; -- cgit