summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/txtattr.cxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-06 14:57:12 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-06 14:57:12 +0100
commit0ce7e8a31bb27ad67a14916a15a0c52fec4604aa (patch)
treeb66f8e845674aab8b801168f53090ac610084e9d /sw/source/ui/shells/txtattr.cxx
parent75d0e327edbc284987941f09504b478cfaba39bb (diff)
parent42c3881914531e6d81d6fb05bdc7b308db98146c (diff)
removetooltypes01: rebase to DEV300_m96
Diffstat (limited to 'sw/source/ui/shells/txtattr.cxx')
-rw-r--r--sw/source/ui/shells/txtattr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/shells/txtattr.cxx b/sw/source/ui/shells/txtattr.cxx
index 9e89620bed28..9d90ac5d5b26 100644
--- a/sw/source/ui/shells/txtattr.cxx
+++ b/sw/source/ui/shells/txtattr.cxx
@@ -119,8 +119,8 @@ void SwTextShell::ExecCharAttr(SfxRequest &rReq)
eEscape = nWhich == FN_SET_SUPER_SCRIPT ?
SVX_ESCAPEMENT_SUPERSCRIPT:
SVX_ESCAPEMENT_SUBSCRIPT;
- if( nWhich == FN_SET_SUB_SCRIPT && nTmpEsc < 0 ||
- nWhich == FN_SET_SUPER_SCRIPT && nTmpEsc > 0 )
+ if( (nWhich == FN_SET_SUB_SCRIPT && nTmpEsc < 0) ||
+ (nWhich == FN_SET_SUPER_SCRIPT && nTmpEsc > 0) )
eEscape = SVX_ESCAPEMENT_OFF;
SfxBindings& rBind = GetView().GetViewFrame()->GetBindings();