summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-07-08 14:02:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-07-08 17:32:24 +0200
commitb67e29e9adfe9423c086d06a133fc9c551f430e7 (patch)
tree82927fba664647eed75e554102021f911923c248 /sfx2
parent480ab6c6bad30f153d30143ca7353566b66a7d59 (diff)
-Werror,-Wlogical-not-parentheses (Clang trunk towards 3.4)
...apparently mistyped conditions happened to work as intended (E_None being 0). Change-Id: I3ffd849fc4790bfaea36d614b900eceae5f1e8eb
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/sfxhelp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index 4fecc9ef2c4e..aaed112b66f6 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -120,7 +120,7 @@ static OUString HelpLocaleString()
OUString::createFromAscii(szHelpPath) + aLocaleStr;
osl::DirectoryItem aDirItem;
- if (!osl::DirectoryItem::get(sHelpPath, aDirItem) == osl::FileBase::E_None)
+ if (osl::DirectoryItem::get(sHelpPath, aDirItem) != osl::FileBase::E_None)
{
bOk = false;
OUString sLang(aLocaleStr);
@@ -131,7 +131,7 @@ static OUString HelpLocaleString()
sLang = sLang.copy( 0, nSepPos );
sHelpPath = aBaseInstallPath +
OUString::createFromAscii(szHelpPath) + sLang;
- if (!osl::DirectoryItem::get(sHelpPath, aDirItem) == osl::FileBase::E_None)
+ if (osl::DirectoryItem::get(sHelpPath, aDirItem) != osl::FileBase::E_None)
bOk = false;
}
}