/* -*- 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 #ifdef DBG_UTIL const char* ImplDbgCheckWindow(const void* pObj) { DBG_TESTSOLARMUTEX(); const vcl::Window* pWindow = static_cast(pObj); if ((pWindow->GetType() < WindowType::FIRST) || (pWindow->GetType() > WindowType::LAST)) return "Window data overwrite"; // check window-chain vcl::Window* pChild = pWindow->mpWindowImpl->mpFirstChild; while (pChild) { if (pChild->mpWindowImpl->mpParent != pWindow) return "Child-Window-Parent wrong"; pChild = pChild->mpWindowImpl->mpNext; } return nullptr; } #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ tro/cib/libreoffice-5-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2019-06-25improve loplugin:simplifyconstructNoel Grandin
2019-06-13tdf#120047 Support attribute harpoon/wideharpoon in MathTakeshi Abe
2019-01-28o3tl::make_unique -> std::make_unique in sax...svtools (except sc)Gabor Kelemen
2019-01-04tdf#42949 Fix IWYU warnings in starmath/inc/*hxx & starmath/source/*hxxGabor Kelemen
2018-12-30use unique_ptr in SmStructureNode::SetSubNodesNoel Grandin
2018-12-08Remove obsolete SAL_FALLTHROUGH completelyStephan Bergmann
2018-12-07HAVE_CXX_CWG1579_FIX is always true nowStephan Bergmann
2018-11-23use binary search for starmath tokenNoel Grandin
2018-11-19tdf#42949 Fix IWYU warnings in include/vcl/[ab]*Gabor Kelemen
2018-10-27tdf#120703 (PVS): V519 The variable is assigned values twice successivelyMike Kaganski
2018-10-26tdf#42949 Fix IWYU warnings in include/unotools/*Gabor Kelemen
2018-10-07use more unique_ptr in SmParserNoel Grandin
2018-08-29More -Werror=redundant-moveStephan Bergmann
2018-07-31Add missing sal/log.hxx headersGabor Kelemen
2018-05-24ofz#8490 stack exhaustionCaolán McNamara
2018-02-14starmath: Omit SmParser::GetError()'s argumentTakeshi Abe
2018-02-08starmath: Make SmParser::DoAttribut() etc. return std::unique_ptrTakeshi Abe
2018-02-07starmath: Make SmParser::DoLine() etc. return std::unique_ptrTakeshi Abe
2018-02-06starmath: Make DoAlign() return std::unique_ptrTakeshi Abe
2018-01-22starmath: Make SmParser::Parse() return std::unique_ptrTakeshi Abe
2018-01-17starmath: Make SmParser::ParseExpression() return std::unique_ptrTakeshi Abe
2017-12-17ofz#4677 Indirect-leakCaolán McNamara
2017-12-15ofz#4643 Direct-leakCaolán McNamara
2017-12-14ofz#4641 fix leaks with exceptionsCaolán McNamara
2017-12-14more leaks with exceptionsCaolán McNamara
2017-12-13ofz: fix leaks by exceptionsCaolán McNamara
2017-12-10ofz#4571 more Direct-leaksCaolán McNamara
2017-12-06Remove unused #include <vcl/metaact.hxx> from vcl/outdev.hxxStephan Bergmann
2017-12-06ofz#4539 depth protect mathtype parserCaolán McNamara
2017-12-03survive without config for fuzzingCaolán McNamara
2017-11-22Make loplugin:unnecessaryparen warn about (x) ? ... : ... after allStephan Bergmann
2017-10-23loplugin:includeform: starmathStephan Bergmann
2017-08-17remove UL/L suffixes from integer constants in initialiser/call expressionsNoel Grandin
2017-08-03starmath: cleanup includes with iwyuJochen Nitschke
2017-07-21migrate to boost::gettextCaolán McNamara
2017-07-10teach unnecessaryparen loplugin about identifiersNoel Grandin
2017-05-19loplugin:stringcopy: starmathStephan Bergmann
2017-05-19make string translation loading more uniformCaolán McNamara
2017-05-18Revert "Fix typos"Stephan Bergmann
2017-05-18Fix typosAndrea Gelmini
2017-04-27starmath: Convert SmScaleMode to scoped enumTakeshi Abe
2017-04-25tools: svstream.hxx needs only errcode.hxx & not errinf.hxxChris Sherlock
2017-04-10starmath: Assert an impossible error in parsing tablesTakeshi Abe
2017-04-06Fix typosAndrea Gelmini
2017-04-05starmath: Kill newly unused m_aNodeStackTakeshi Abe
2017-04-04starmath: Simplify code parsing nospaceTakeshi Abe
2017-03-30starmath: Stop using the stack to parse consective identifiersTakeshi Abe
2017-03-30starmath: Hold error nodes as subnodes of SmBracebodyNodeTakeshi Abe
2017-03-29starmath: Refrain from skipping an extra token at missing "}"Takeshi Abe
2017-03-28starmath: Refrain from skipping an extra token at missing "}"Takeshi Abe