summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-11-29 17:25:02 +0100
committerMichael Stahl <mstahl@redhat.com>2016-11-30 11:27:38 +0100
commit86e8d7aa4995bd53e6b3218f85a61459b1c30583 (patch)
tree1f630e6526bb77e9d15c3c8cfc287d6ea64ae2f7 /sw
parent604a819e9559fe727661dc450c5091c0391b836b (diff)
sw: navigator: fix outline Demote Chapter "down" copypasta
(regression from 33603a582bdd173a8e85c78bb0e8ef82874b8e59) Change-Id: I95a8ebf0315a10595904dace051bbd4dd43f0496
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/utlui/content.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index ac97ec496c72..f1c767083433 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -2237,7 +2237,7 @@ void SwContentTree::Notify(SfxBroadcaster & rBC, SfxHint const& rHint)
void SwContentTree::ExecCommand(const OUString& rCmd, bool bModifier)
{
const bool bUp = rCmd == "up";
- const bool bUpDown = bUp || rCmd == "up";
+ const bool bUpDown = bUp || rCmd == "down";
const bool bLeft = rCmd == "promote";
const bool bLeftRight = bLeft || rCmd == "demote";
if (!bUpDown && !bLeftRight)