From c5f27133338caff1d09dcd8056aae0bdf6a45b6a Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Mon, 13 May 2013 07:40:20 +0000 Subject: Related: #i122047# Added missing implementation of virtual destructors (cherry picked from commit 107eb08386046f1e78dc32b21f569c6aa7352cd1) Change-Id: Icc57d8910a390e9b608b5aa4a0fa6d8c8659208d --- sfx2/source/sidebar/AsynchronousCall.cxx | 2 +- sfx2/source/sidebar/IContextChangeReceiver.cxx | 28 ++++++++++++++++++++++++++ sfx2/source/sidebar/ILayoutableWindow.cxx | 28 ++++++++++++++++++++++++++ sfx2/source/sidebar/SidebarPanelBase.cxx | 8 -------- 4 files changed, 57 insertions(+), 9 deletions(-) create mode 100644 sfx2/source/sidebar/IContextChangeReceiver.cxx create mode 100644 sfx2/source/sidebar/ILayoutableWindow.cxx diff --git a/sfx2/source/sidebar/AsynchronousCall.cxx b/sfx2/source/sidebar/AsynchronousCall.cxx index 54f5883622bd..a4b85bd3574b 100644 --- a/sfx2/source/sidebar/AsynchronousCall.cxx +++ b/sfx2/source/sidebar/AsynchronousCall.cxx @@ -66,7 +66,7 @@ void AsynchronousCall::CancelRequest (void) if (mnCallId != 0) { Application::RemoveUserEvent(mnCallId); - mnCallId = -1; + mnCallId = 0; } } diff --git a/sfx2/source/sidebar/IContextChangeReceiver.cxx b/sfx2/source/sidebar/IContextChangeReceiver.cxx new file mode 100644 index 000000000000..1aa7a50528ff --- /dev/null +++ b/sfx2/source/sidebar/IContextChangeReceiver.cxx @@ -0,0 +1,28 @@ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ +#include + + +namespace sfx2 { namespace sidebar { + + +IContextChangeReceiver::~IContextChangeReceiver (void) +{ +} + +} } // end of namespace ::sd::sidebar diff --git a/sfx2/source/sidebar/ILayoutableWindow.cxx b/sfx2/source/sidebar/ILayoutableWindow.cxx new file mode 100644 index 000000000000..dccd15d85c3c --- /dev/null +++ b/sfx2/source/sidebar/ILayoutableWindow.cxx @@ -0,0 +1,28 @@ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ +#include + + +namespace sfx2 { namespace sidebar { + + +ILayoutableWindow::~ILayoutableWindow (void) +{ +} + +} } // end of namespace ::sd::sidebar diff --git a/sfx2/source/sidebar/SidebarPanelBase.cxx b/sfx2/source/sidebar/SidebarPanelBase.cxx index 6a17fb70dfcf..9aef9fa7f622 100644 --- a/sfx2/source/sidebar/SidebarPanelBase.cxx +++ b/sfx2/source/sidebar/SidebarPanelBase.cxx @@ -240,12 +240,4 @@ ui::LayoutSize SAL_CALL SidebarPanelBase::getHeightForWidth (const sal_Int32 nWi return ui::LayoutSize(0,0,0); } -IContextChangeReceiver::~IContextChangeReceiver() -{ -} - -ILayoutableWindow::~ILayoutableWindow() -{ -} - } } // end of namespace sfx2::sidebar -- cgit v1.2.3