/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * 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/. */ #include #include namespace comphelper::Automation { thread_local static int nActiveount = 0; bool AutomationInvokedZone::isActive() { return nActiveount > 0; } AutomationInvokedZone::AutomationInvokedZone() { assert(nActiveount < 1000); nActiveount++; } AutomationInvokedZone::~AutomationInvokedZone() { assert(nActiveount > 0); nActiveount--; } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ aw080'>aoo/aw080 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2018-11-18tdf#102186, don't overwrite the deleted flagMarkus Mohrhard
2017-12-17fix searched attribute for 3D chart shape, tdf114169Markus Mohrhard
2017-10-23loplugin:includeform: ooxStephan Bergmann
2017-07-31loplugin:constparams in ooxNoel Grandin
2016-05-03tdf#42949: clean up includes in include/oox/drawingml with iwyuJorenz Paragas
2016-04-25tdf#42949: clean up includes in include/oox/core using iwyuJorenz Paragas
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-04-24loplugin:simplifyboolStephan Bergmann
2015-04-21MSO 2007 vs OOXML default valuesMarkus Mohrhard
2015-04-21fix shape MSO 2007 vs OOXMLMarkus Mohrhard
2015-04-21fix dispRSqr MSO 2007 vs OOXMLMarkus Mohrhard
2015-04-21fix dispEq MSO 2007 vs OOXMLMarkus Mohrhard
2015-04-21fix more mbNoEndCap MSO 2007 vs OOXML placesMarkus Mohrhard
2015-04-21fix noEndCap MSO 2007 vs OOXMLMarkus Mohrhard
2015-04-21fix applyToSides MSO 2007 vs OOXMLMarkus Mohrhard
2015-04-21fix applyToFront MSO 2007 vs OOXMLMarkus Mohrhard
2015-04-21fix applyToEnd MSO 2007 vs OOXMLMarkus Mohrhard
2015-04-21fix showLeaderLines MSO 2007 vs OOXMLMarkus Mohrhard
2015-04-21fix bubble3D MSO 2007 vs OOXMLMarkus Mohrhard
2015-04-21more smooth MSO 2007 vs OOXML casesMarkus Mohrhard
2015-04-21fix invertIfNegative MSO 2007 vs OOXMLMarkus Mohrhard
2015-04-21fix series smooth MSO 2007 vs OOXMLMarkus Mohrhard
2015-04-04fix OOXML vs MSO2007 in chart import in one more placeMarkus Mohrhard