diff options
author | Stefan Heinemann <stefan.heinemann@codedump.ch> | 2015-09-25 13:06:09 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-29 18:33:40 +0000 |
commit | c50eb68af3096645246a77259bb3d1cc70eb6b63 (patch) | |
tree | a3f9442fa2d2c13464d1623f8bcf772b27426e72 /sw/source/uibase/utlui | |
parent | 491c2e24ac110c9ebdb1a483c34ae3d14ab0d615 (diff) |
Renamed wrongly prefixed boolean variables
Fixed tdf#94269
Change-Id: I63109cc4e095bad680d7637a065080ea368860ae
Reviewed-on: https://gerrit.libreoffice.org/18851
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/source/uibase/utlui')
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 201b48b9ba5f..7edacd1bb0bf 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -2274,12 +2274,12 @@ void SwContentTree::Notify(SfxBroadcaster & rBC, SfxHint const& rHint) void SwContentTree::ExecCommand(sal_uInt16 nCmd, bool bModifier) { - bool nMove = false; + bool bMove = false; switch( nCmd ) { case FN_ITEM_DOWN: case FN_ITEM_UP: - nMove = true; + bMove = true; //fall-through case FN_ITEM_LEFT: case FN_ITEM_RIGHT: @@ -2301,14 +2301,14 @@ void SwContentTree::ExecCommand(sal_uInt16 nCmd, bool bModifier) } } if ( nActPos < USHRT_MAX && - ( !nMove || pShell->IsOutlineMovable( nActPos )) ) + ( !bMove || pShell->IsOutlineMovable( nActPos )) ) { pShell->StartAllAction(); pShell->GotoOutline( nActPos); // If text selection != box selection pShell->Push(); pShell->MakeOutlineSel( nActPos, nActPos, bModifier); - if( nMove ) + if( bMove ) { short nDir = nCmd == FN_ITEM_UP ? -1 : 1; if( !bModifier && ( (nDir == -1 && nActPos > 0) || |