/* -*- 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 . */ #include #include #include "lock.hxx" namespace configmgr { std::shared_ptr const& lock() { // fdo#31494# get ownership right // Ensure that the mutex lives as long as all its consumers, otherwise // the configmgr DLL exit delete this before unotools releases some configmgr derived reference. static std::shared_ptr theLock = std::make_shared(); return theLock; } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ option> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
271667d156044d7641ff2347b9f8a513c'>EPUB export: add uno command to bypass options dialog
AgeCommit message (Expand)Author
2022-06-21clang-tidy modernize-pass-by-value in io..jvmfwkNoel Grandin
2022-05-04Just use Any ctor instead of makeAny in javaunohelperStephan Bergmann
2022-02-25Don't use Library_tl in URE librariesStephan Bergmann
2022-01-27Recheck modules [i-l]* with IWYUGabor Kelemen
2021-12-19use more cppu::BaseMutexNoel Grandin
2021-01-10Fix some warnings for Raspberry pi 4 (part5)Julien Nabet
2021-01-02Fix some warnings for Raspberry pi 4 (part2)Julien Nabet
2020-06-04Upcoming loplugin:elidestringvar: javaunohelperStephan Bergmann
2020-05-09compact namespace in i18npool..ooxNoel Grandin
2019-12-19sal_Char->char in idlc..linguisticNoel Grandin
2019-11-13Extend loplugin:salbool to loplugin:fakeboolStephan Bergmann
Miklos Vajna
2017-09-01tdf#98315 - Function Wizard showing Breeze icons when in Sifr themeMatthias Freund
2017-08-31sifr add charmapcontrol icon for new drop down functionandreas kainz
2017-08-11tdf#98315 Function Wizard showing Breeze icons when in Sifr themeMatthias Freund
2017-07-21tdf#106533 Correct insert index entry icon filenameYousuf Philips
2017-06-18tdf#75256 Sifr icon updateMatthias Freund
2017-06-04tdf#94632 Light sifr and breeze icon themes for dark OS themesMatthias Freund