use less dynamic_cast when broadcasting SfxHint in sc
[libreoffice.git] / chart2 / source / tools / PopupRequest.cxx
blob70dd65b78393edefebdf6b49840ff3c4da2d17fb
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/.
9 */
11 #include <PopupRequest.hxx>
13 using namespace css;
15 namespace chart
17 PopupRequest::PopupRequest() {}
19 PopupRequest::~PopupRequest() {}
21 // ____ XRequestCallback ____
23 void SAL_CALL PopupRequest::addCallback(const uno::Reference<awt::XCallback>& xCallback,
24 const uno::Any& /*aData*/)
26 m_xCallback = xCallback;
29 } // namespace chart
31 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */