/* -*- 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/. */ #include "sharedformulagroups.hxx" namespace sc { void SharedFormulaGroups::set( size_t nSharedId, ScTokenArray* pArray ) { m_Store.insert(std::make_pair(nSharedId, std::unique_ptr(pArray))); } const ScTokenArray* SharedFormulaGroups::get( size_t nSharedId ) const { StoreType::const_iterator const it = m_Store.find(nSharedId); return it == m_Store.end() ? nullptr : it->second.get(); } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ion value='distro/CN/libreoffice-7-4-LTS'>distro/CN/libreoffice-7-4-LTS LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/linguistic/inc
AgeCommit message (Expand)Author
2017-07-20loplugin:constparams in linguisticNoel Grandin
2017-01-26Remove dynamic exception specificationsStephan Bergmann
2017-01-24loplugin: unnecessary destructor jvmfwk..lotuswordproNoel Grandin
2017-01-17use rtl::Reference in SpellCacheNoel Grandin
2016-11-08loplugin:unnecessaryvirtual in hwpfilter..rscNoel Grandin
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann
2015-10-23com::sun::star->css in linguisticNoel Grandin
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2015-10-07loplugin:mergeclassesNoel Grandin
2015-08-21linguistic: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe