hwpfilter/source/hbox.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 257c94df934e23e240a9d904b9e5137e9fb750de
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Feb 10 14:56:15 2023 +0000
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Tue Feb 14 09:53:27 2023 +0000

    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.st...@allotropia.de>

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]);

Reply via email to