diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-09-13 17:08:09 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-09-14 22:40:33 +0200 |
commit | 4cc8558d8e93f57fef057d433e67c5a6c7438233 (patch) | |
tree | 2bca8f5381dd5b65c216def82189e1092421fb83 /starmath | |
parent | 895f24ffca080516b877e86ad0ce7b076e14418d (diff) |
String tokens do not include token separator
Change-Id: Ia469f84412bdaed59b9e9eb3c8942de3d14270b9
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/view.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index d3d093be3288..1df935c22d7b 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -991,8 +991,6 @@ Size SmViewShell::GetTextLineSize(OutputDevice& rDevice, const OUString& rLine) aSize.Width() = ((aSize.Width() / nTabPos) + 1) * nTabPos; OUString aText = rLine.getToken(i, '\t'); - aText = comphelper::string::stripStart(aText, '\t'); - aText = comphelper::string::stripEnd(aText, '\t'); aSize.Width() += rDevice.GetTextWidth(aText); } } |