Avoid potential negative array index access to cached text.
[LibreOffice.git] / writerfilter / inc / dmapper / CommentProperties.hxx
blobc554418108c42e5ec20ba87837503080a6b34bfc
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #pragma once
12 #include <rtl/ustring.hxx>
14 namespace writerfilter
16 /**
17 A container for the extended comment properties linked to the last paragraph of a comment
19 Corresponds to the data available in w15:commentEx elements from commentsExtended stream
20 ([MS-DOCX]): resolved state and parent (referring to comment that this one answers to).
22 @since 7.2
24 struct CommentProperties
26 bool bDone;
27 OUString sParaIdParent;
31 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */