/* -*- 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 . */ #ifndef INCLUDED_UNOTOOLS_UCBSTREAMHELPER_HXX #define INCLUDED_UNOTOOLS_UCBSTREAMHELPER_HXX #include #include #include #include namespace com::sun::star::io { class XStream; class XInputStream; } namespace com::sun::star::awt { class XWindow; } namespace utl { class UNOTOOLS_DLLPUBLIC UcbStreamHelper { public: static std::unique_ptr CreateStream(const OUString& rFileName, StreamMode eOpenMode, const css::uno::Reference & xParentWin = nullptr, bool bUseSimpleFileAccessInteraction = true); static std::unique_ptr CreateStream(const OUString& rFileName, StreamMode eOpenMode, bool bFileExists, const css::uno::Reference & xParentWin = nullptr, bool bUseSimpleFileAccessInteraction = true); static std::unique_ptr CreateStream( const css::uno::Reference < css::io::XInputStream >& xStream ); static std::unique_ptr CreateStream( const css::uno::Reference < css::io::XStream >& xStream ); static std::unique_ptr CreateStream( const css::uno::Reference < css::io::XInputStream >& xStream, bool bCloseStream ); static std::unique_ptr CreateStream( const css::uno::Reference < css::io::XStream >& xStream, bool bCloseStream ); }; } #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ion> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2023-09-12 15:32:43 +0200
committerMiklos Vajna <vmiklos@collabora.com>2023-09-19 08:35:12 +0200
commit2e71c439057c8d31b6af191ef38607600cb996f0 (patch)
treedc7afd8083a29c2b42cdf1d3a305340aa3dfa3b4 /sal/textenc/tencinfo.cxx
parentf2f32aaa839b25a2413928b7b92fff3d71034508 (diff)
tdf#146619 Remove unused includes from sal/ [cpp files]
Change-Id: I11a54c1ddf73c16ce46a0d1c375bf43157870db7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155856 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>