/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #pragma once #include #include #include #include #include #include namespace xmlreader { class SAL_WARN_UNUSED OOO_DLLPUBLIC_XMLREADER Pad { public: void add(char const* begin, sal_Int32 length); template void add(char const (&literal)[N]) { add(literal, N - 1); } SAL_DLLPRIVATE void addEphemeral(char const* begin, sal_Int32 length); void clear(); Span get() const; private: SAL_DLLPRIVATE void flushSpan(); Span span_; OStringBuffer buffer_{ 256 }; }; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 24.04.8'>distro/collabora/co-24.04.8 LibreOffice 界面翻译代码仓库文档基金会
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-22 13:40:28 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-22 14:02:45 +0100
commit63be3a74f7153fef6bbbfd273ae136b4aa3b84b6 (patch)
tree6deccc5e7a718498af3af813444471a9c72bd0ff
parent01f86d5980f43c72bcde5ccc6ba3e2ca166ceef5 (diff)
update translations for master/7.1 beta1 libreoffice-7-1-branch-point
and force-fix errrors using pocheck Change-Id: I49194db93ce2e8f542ac404235d38113ea0d3e54