diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-07-08 13:42:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-07-08 17:32:24 +0200 |
commit | 480ab6c6bad30f153d30143ca7353566b66a7d59 (patch) | |
tree | 98a7442ae6834ac6de9e5d4263ebacd8c3448adc /svtools/source | |
parent | 05fac639a2fb44fdb95309d578124816f3b70bb2 (diff) |
-Werror,-Wlogical-not-parentheses (Clang trunk towards 3.4)
...happened to work as intended (according to Caolán), as USCRIPT_COMMON is 0.
Change-Id: Ief2bf2844c7f47f3d5dcdc360a645d80edfd5e63
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/misc/sampletext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/misc/sampletext.cxx b/svtools/source/misc/sampletext.cxx index f3279c943395..9c3da4423e08 100644 --- a/svtools/source/misc/sampletext.cxx +++ b/svtools/source/misc/sampletext.cxx @@ -1160,7 +1160,7 @@ OUString makeShortRepresentativeTextForSelectedFont(OutputDevice &rDevice) //script and the font name is itself in Latin, then show a small //chunk of representative text for that script UScriptCode eScript = getScript(aFontCapabilities); - if (!eScript != USCRIPT_COMMON) + if (eScript == USCRIPT_COMMON) return OUString(); eScript = attemptToDisambiguateHan(eScript, rDevice); |