/* -*- 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 class XMLTextDropCapImportContext : public XMLElementPropertyContext { XMLPropertyState aWholeWordProp; OUString sStyleName; private: void ProcessAttrs(const css::uno::Reference& xAttrList); public: XMLTextDropCapImportContext( SvXMLImport& rImport, sal_Int32 nElement, const css::uno::Reference& xAttrList, const XMLPropertyState& rProp, sal_Int32 nWholeWOrdIdx, ::std::vector& rProps); virtual ~XMLTextDropCapImportContext() override; virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; const OUString& GetStyleName() const { return sStyleName; } }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ n value='distro/cib/libreoffice-6-1'>distro/cib/libreoffice-6-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2021-11-22 16:38:29 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2021-11-23 12:07:03 +0100
commite4ff5b1fbabb538356053383a3491e3e986d1164 (patch)
tree0ca6172699f8723226a93de8bb8fc0da0d1179f4 /fpicker
parent014336e8d45fc192960b9240d362604577e78553 (diff)
tdf#145769 fpicker: RemoteFilesDialog: don't use FStatHelper
FStatHelper doesn't use an XCommandEnvironment and is thus unsuitable for remote access as it can't even authenticate with the password container; it should only be used for local access. Due to this problem, the ContentIsDocument() would always return a hard-coded "true" value from the webdav UCP, causing a spurious dialog that an existing file would be overwritten in Save Remote. (regression from 67fa088be7db1df661188ef4bab490a76fb06b85) Change-Id: Ibe667f2012e261b84d4c69c84fdd499b7276e64b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125666 Tested-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>