LibreOffice Module chart2 (master) 1
ChartSidebarModifyListener.cxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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 */
9
11
12namespace chart::sidebar
13{
15
17 : mpParent(pParent)
18{
19}
20
22
23void ChartSidebarModifyListener::modified(const css::lang::EventObject& /*rEvent*/)
24{
25 if (mpParent)
27}
28
29void ChartSidebarModifyListener::disposing(const css::lang::EventObject& /*rEvent*/)
30{
31 if (!mpParent)
32 return;
33
35 mpParent = nullptr;
36}
37}
38
39/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void SAL_CALL disposing(const css::lang::EventObject &rEvent) override
virtual void SAL_CALL modified(const css::lang::EventObject &rEvent) override
ChartSidebarModifyListener(ChartSidebarModifyListenerParent *pParent)
RegionData_Impl * mpParent