summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-09-13 17:08:09 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-09-14 22:40:33 +0200
commit4cc8558d8e93f57fef057d433e67c5a6c7438233 (patch)
tree2bca8f5381dd5b65c216def82189e1092421fb83 /starmath/source/view.cxx
parent895f24ffca080516b877e86ad0ce7b076e14418d (diff)
String tokens do not include token separator
Change-Id: Ia469f84412bdaed59b9e9eb3c8942de3d14270b9
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r--starmath/source/view.cxx2
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);
}
}