/* -*- 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_SFX2_GROUPID_HXX #define INCLUDED_SFX2_GROUPID_HXX #include #include // !! If you add a new group, please change sfxbasecontroller.cxx and // !! com.sun.star.frame.CommandGroup accordingly! enum class SfxGroupId { NONE = 0, Intern = 32700, Application, Document, View, Edit, Macro, Options, Math, Navigator, Insert, Format, Template, Text, Frame, Graphic, Table, Enumeration, Data, Special, Image, Chart, Explorer, Connector, Modify, Drawing, Controls }; // make it hashable for storing in maps namespace std { template <> struct hash { std::size_t operator()(const SfxGroupId& k) const { return std::hash()(static_cast(k)); } }; } #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ > LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2017-09-02Typos for "available"Julien Nabet
2017-03-25Fix typosAndrea Gelmini
2017-01-17Typo: listerner->listenerJulien Nabet
2015-11-05java: remove ((unnecessary)) parenthesesNoel Grandin
2015-11-05java: combine nested if statementsNoel Grandin
2015-11-05java:no need to explicitly create these constructorsNoel Grandin
2015-06-11java:regulatize the order of 'final' and public/privateNoel Grandin
2015-01-05java: remove more dead codeNoel Grandin
2015-01-05java: remove dead codeNoel Grandin
2014-12-19java: reduce visibility of some methods and fieldsNoel Grandin
2014-12-15java: remove some unused fields and variablesNoel Grandin
2014-12-11java: remove some unnecessary interfacesNoel Grandin
2014-12-11java: reduce visibility of fields and methodsNoel Grandin
2014-11-18java: remove some unnecessary castsNoel Grandin
2014-10-16java: always use braces for while loopsNoel Grandin
2014-10-13java: import from the same packageRobert Antoni Buj i Gelonch
2014-10-07java: no need to check for null before calling instanceofNoel Grandin
2014-10-02javaunohelper: More robust way to wait for finalizationRobert Antoni Buj i Gelonch
2014-10-02More robust way to wait for finalizationStephan Bergmann
2014-09-28javaunohelper: migrate PropertySet_Test to JUnitRobert Antoni Buj i Gelonch
2014-09-24javaunohelper: WeakBase_Test & MultiTypeInterfaceContainer_Test -> JUnitRobert Antoni Buj i Gelonch
2014-09-24javaunohelper: migrate InterfaceContainer_Test to JUnitRobert Antoni Buj i Gelonch
2014-09-23javaunohelper: migrate ComponentBase_Test to JUnitRobert Antoni Buj i Gelonch
2014-09-22javaunohelper: migrate ComponentContext_Test to JUnitRobert Antoni Buj i Gelonch
2014-09-21javaunohelper: use java.util.logging in testsRobert Antoni Buj i Gelonch
2014-09-19javaunohelper: use HashMap instead of Hashtable CollectionRobert Antoni Buj i Gelonch
2014-08-20java: remove unnecessary constructor declarationsNoel Grandin
2014-08-20java: avoid if..else when returning boolean valuesNoel Grandin
2014-08-20java: avoid unnecessary comparisons in boolean expressionsNoel Grandin
2014-08-19java: no need to instantiate String objects directlyNoel Grandin
2014-08-19java: use 'Byte.valueOf' instead of 'new Byte'Noel Grandin
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin
2014-08-19java: use 'Long.valueOf' instead of 'new Long'Noel Grandin
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin
2014-08-14java: remove useless instanceof testsNoel Grandin
2014-08-14java: remove commented out codeNoel Grandin
2014-08-12javaunohelper: Fix Bootstrap_Test.java & add warning messagesrbuj
2014-08-10javaunohelper: Enhancement loading bootstrap_parameters in Bootstrap_Test.javarbuj
2014-08-08java: remove exceptions from throws clauses that are notNoel Grandin
2014-08-08java: remove redundant null checksNoel Grandin
2014-08-08java: code some code to use non-deprecated constructorsNoel Grandin
2014-08-08java: remove unused variablesNoel Grandin
2014-08-05java: remove commented out codeNoel Grandin
2014-08-05java: remove various unused variablesNoel Grandin