summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-01 09:46:27 +0200
committerTor Lillqvist <tml@iki.fi>2012-03-01 15:28:30 +0200
commitf9883185a4acedfb074eba4ee0269e919c74c767 (patch)
tree6419161acdba5c6331a9c7e09abd1056af2bad7c /sw
parentbaf0ba0798ef395880895d7ec1069c88e812613b (diff)
WaE: equality comparison with extraneous parentheses
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/app/appopt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/app/appopt.cxx b/sw/source/ui/app/appopt.cxx
index 76d33a365a3d..3ffb0653f440 100644
--- a/sw/source/ui/app/appopt.cxx
+++ b/sw/source/ui/app/appopt.cxx
@@ -258,7 +258,7 @@ void SwModule::ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet )
{
// the text dialog mustn't apply data to the web view and vice versa
sal_Bool bWebView = 0 != PTR_CAST(SwWebView, pAppView);
- if( (bWebView == bTextDialog))
+ if(bWebView == bTextDialog)
pAppView = 0;
}