/* -*- 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_INC_BITSET_HXX #define INCLUDED_SFX2_INC_BITSET_HXX #include #include class IndexBitSet { private: sal_uInt16 nBlocks; std::unique_ptr pBitmap; IndexBitSet& operator|=( sal_uInt16 nBit ); IndexBitSet& operator-=( sal_uInt16 nBit ); bool Contains( sal_uInt16 nBit ) const; IndexBitSet(IndexBitSet const &) = delete; void operator =(IndexBitSet const &) = delete; public: IndexBitSet(); ~IndexBitSet(); sal_uInt16 GetFreeIndex(); void ReleaseIndex(sal_uInt16 i){*this-=i;} }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ibreoffice-5-3'>distro/cib/libreoffice-5-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-04-25 23:10:35 +0900
committerTomaž Vajngerl <quikee@gmail.com>2023-04-25 20:38:25 +0200
commit8e5df127d26e42c3535e66f1733730e32e12df4d (patch)
treeaef69e291f9f7771b29d730153fbd7028c7546cf /jvmfwk/Package_jvmfwk_jvmfwk3_ini.mk
parent5cde4f2781fc80ed32aac2ad9c81cadab80860e8 (diff)
svx: rework the theme dialog to allow editing theme colors
In addition to editing of theme colors, this also changes the way how theme colors are represented in the theme dialog and the behaviour when changing applying a theme color change. Previously a theme colors were applied with double-click, now a double-click still applies, but automatically exits the dialog. The selected theme is applied also when OK button is pressed. Change-Id: Ic0f8399ede180d6ab0001a7f8b5dda0e7c49fa3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150975 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>