summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-02-10 14:56:15 +0000
committerMichael Stahl <michael.stahl@allotropia.de>2023-02-14 09:53:27 +0000
commit257c94df934e23e240a9d904b9e5137e9fb750de (patch)
treefa5ad6fb089178d82fd2a561715ca41db9ee1f81
parent1e7ee035992a0b29f42eac56ad82e2a1b0fe8ccd (diff)
operator [] out of range assert
presumably since: commit 0e45f8318ee73361fecb049b33b0662fabe295d3 Date: Sat Nov 5 15:59:27 2022 +0100 -Werror,-Wdeprecated-declarations (sprintf, macOS 13 SDK): hwpfilter Change-Id: I1e93526d46d1357a8f11f7ff7ed4c3f2274b9c7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146757 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
-rw-r--r--hwpfilter/source/hbox.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index b498fa31cfbb..3b740999b560 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -581,7 +581,6 @@ OUString Outline::GetUnicode() const
OStringBuffer buf;
int i;
- buf[0] = 0;
for (i = 0; i <= level; i++)
{
levelnum = ((number[i] < 1) ? 1 : number[i]);