vcl: allow for overriding the default PDF rendering resolution
[LibreOffice.git] / chart2 / source / controller / sidebar / ChartSidebarModifyListener.cxx
blob0fa0b793b5b62482688201902431b04d90b35e81
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 "ChartSidebarModifyListener.hxx"
12 namespace chart {
13 namespace sidebar {
15 ChartSidebarModifyListenerParent::~ChartSidebarModifyListenerParent()
19 ChartSidebarModifyListener::ChartSidebarModifyListener(ChartSidebarModifyListenerParent* pParent):
20 mpParent(pParent)
24 ChartSidebarModifyListener::~ChartSidebarModifyListener()
28 void ChartSidebarModifyListener::modified(const css::lang::EventObject& /*rEvent*/)
30 if (mpParent)
31 mpParent->updateData();
34 void ChartSidebarModifyListener::disposing(const css::lang::EventObject& /*rEvent*/)
36 if (!mpParent)
37 return;
39 mpParent->modelInvalid();
40 mpParent = nullptr;
43 } }
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */