summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/svhtml/parhtml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 9c4043825b84..1b5ec96e01e5 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -1197,7 +1197,7 @@ int HTMLParser::_GetNextToken()
SetLineNr( nCLineNr );
SetLinePos( nCLinePos );
ClearTxtConvContext();
- aToken = aToken.replaceAt( nCStrLen, 1, "" );
+ aToken = aToken.copy(0, nCStrLen);
nNextCh = '>';
}
}