diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-08-02 09:31:06 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-08-04 09:07:12 +0000 |
commit | 8c0e06fafefdf3a0d1eff8766737b0c845d3ca48 (patch) | |
tree | 5d211cbbcf0af9a8da2ed2bd8faad8206dd45f73 /sc | |
parent | 9e605bcffa335f69a2352454e88ec33d5278c925 (diff) |
cppcheck: Variable 'bGrowBackwards' is assigned a value that is never used
See https://gerrit.libreoffice.org/#/c/16960/ for details
Change-Id: I04afed2268bb874dfdd30a5df69b17ba3103aaa7
Reviewed-on: https://gerrit.libreoffice.org/17471
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index 5569d0c53e38..18857ae06101 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -996,11 +996,8 @@ void ScViewData::SetEditEngine( ScSplitPos eWhich, // (existing or started) with default alignment extend to the right. bool bGrowCentered = ( eJust == SVX_HOR_JUSTIFY_CENTER ); bool bGrowToLeft = ( eJust == SVX_HOR_JUSTIFY_RIGHT ); // visual left - bool bGrowBackwards = bGrowToLeft; // logical left - if ( bLayoutRTL ) - bGrowBackwards = !bGrowBackwards; // invert on RTL sheet if ( bAsianVertical ) - bGrowCentered = bGrowToLeft = bGrowBackwards = false; // keep old behavior for asian mode + bGrowCentered = bGrowToLeft = false; // keep old behavior for asian mode long nSizeXPix; if (bBreak && !bAsianVertical) |