diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-27 15:50:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-27 15:50:43 +0200 |
commit | 96725576e59b25f2d24c431b6e67ccf4c67a1e57 (patch) | |
tree | 591adeaf7808f24cd57fb5ef7c2250780c3c185c /editeng | |
parent | b89121208c0667e31f873fd22bb2285b9e073b79 (diff) |
cid#1209201 Logically dead code
Change-Id: I8a7a9e23ad33f0c62813ae4ebd84cece3fe75283
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 3b56fdb9350c..9a46f587d06a 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -3103,8 +3103,6 @@ sal_uInt32 ImpEditEngine::CalcTextWidth( bool bIgnoreExtraSpace ) } } } - if ( nMaxWidth < 0 ) - nMaxWidth = 0; nMaxWidth++; // widen it, because in CreateLines for >= is wrapped. return (sal_uInt32)nMaxWidth; |