Kaydet (Commit) ee5371c8 authored tarafından David Tardon's avatar David Tardon

WaE: deleting object of abstract class type with non-virtual destructor

üst a54018c2
......@@ -89,6 +89,7 @@ $(eval $(call gb_Library_add_exception_objects,acc,\
accessibility/source/helper/acc_factory \
accessibility/source/helper/accresmgr \
accessibility/source/helper/characterattributeshelper \
accessibility/source/helper/IComboListBoxHelper \
accessibility/source/standard/accessiblemenubasecomponent \
accessibility/source/standard/accessiblemenucomponent \
accessibility/source/standard/accessiblemenuitemcomponent \
......
......@@ -28,6 +28,8 @@
#ifndef ACCESSIBILITY_HELPER_COMBOLISTBOXHELPER_HXX
#define ACCESSIBILITY_HELPER_COMBOLISTBOXHELPER_HXX
#include <com/sun/star/uno/Reference.hxx>
#include <tools/string.hxx>
#include <tools/wintypes.hxx>
......@@ -35,12 +37,16 @@ namespace com { namespace sun { namespace star { namespace datatransfer { namesp
class XClipboard;
} } } } }
class Point;
class Rectangle;
class Window;
namespace accessibility
{
class SAL_NO_VTABLE IComboListBoxHelper
class IComboListBoxHelper
{
public:
virtual ~IComboListBoxHelper() = 0;
virtual String GetEntry( sal_uInt16 nPos ) const = 0;
virtual Rectangle GetDropDownPosSizePixel( ) const = 0;
virtual Rectangle GetBoundingRectangle( sal_uInt16 nItem ) const = 0;
......@@ -69,3 +75,4 @@ namespace accessibility
#endif // ACCESSIBILITY_HELPER_COMBOLISTBOXHELPER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Version: MPL 1.1 / GPLv3+ / LGPLv3+
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License or as specified alternatively below. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* Major Contributor(s):
* Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
* (initial developer)
*
* All Rights Reserved.
*
* For minor contributions see the git repository.
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 3 or later (the "GPLv3+"), or
* the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
* in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
* instead of those above.
*/
#include <accessibility/helper/IComboListBoxHelper.hxx>
namespace accessibility
{
IComboListBoxHelper::~IComboListBoxHelper()
{
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment