calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / drawinglayer / source / attribute / sdrglowattribute.cxx
blobc27390d64d6d02def07230354c0199088ca7da87
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #include <drawinglayer/attribute/sdrglowattribute.hxx>
12 namespace drawinglayer::attribute
14 SdrGlowAttribute::SdrGlowAttribute(sal_Int32 nRadius, const Color& rColor)
15 : m_nRadius(nRadius)
16 , m_color(rColor)
20 SdrGlowAttribute::SdrGlowAttribute() = default;
22 SdrGlowAttribute::SdrGlowAttribute(const SdrGlowAttribute&) = default;
24 SdrGlowAttribute::SdrGlowAttribute(SdrGlowAttribute&&) = default;
26 SdrGlowAttribute& SdrGlowAttribute::operator=(const SdrGlowAttribute&) = default;
28 SdrGlowAttribute& SdrGlowAttribute::operator=(SdrGlowAttribute&&) = default;
30 bool SdrGlowAttribute::operator==(const SdrGlowAttribute& rCandidate) const
32 return m_nRadius == rCandidate.m_nRadius && m_color == rCandidate.m_color;
35 } // end of namespace drawinglayer::attribute
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */