summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-14 11:33:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-14 11:33:28 +0100
commitafa4a054596e0e850f8886f196e6bdd25bfc0e33 (patch)
tree42b57c3eddee3c0418f3ac528661a497e819d100 /vcl/inc
parentb29ae3dace6a6a2e24e531bb648cd3cb97ea3225 (diff)
Remove the sal.rtl.xub SAL_INFOs
...that were apparently meant to flag cases where conversion from old tools strings to rtl strings was done wrongly. But that flagging is probably of no use: SAL_INFOs are usually disabled, so won't be noticed; and SAL_WARN or assert would not be acceptable, as cases like 'nLen == 0x0FFFF' can legitimately happen with long strings. I did a successful 'make check' with these SAL_INFOs temporarily turned into assert, so there seems to be at least no gross conversion error remaining. Change-Id: I57f11db9119fb12555e3bfef17c077ee5eef3844
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/textlineinfo.hxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/inc/textlineinfo.hxx b/vcl/inc/textlineinfo.hxx
index a14d774b7a7a..519aa489c9e0 100644
--- a/vcl/inc/textlineinfo.hxx
+++ b/vcl/inc/textlineinfo.hxx
@@ -30,11 +30,6 @@ private:
public:
ImplTextLineInfo( long nWidth, sal_Int32 nIndex, sal_Int32 nLen )
{
- if(nIndex == -1 || nIndex == 0x0FFFF || nLen == -1 || nLen == 0x0FFFF)
- {
- SAL_INFO("sal.rtl.xub",
- "ImplTextLine Info Suspicious arguments nIndex:" << nIndex << " nLen:" << nLen);
- }
mnWidth = nWidth;
mnIndex = nIndex;
mnLen = nLen;