diff options
author | Andre Fischer <af@apache.org> | 2013-05-13 07:40:20 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-05-20 11:33:32 +0100 |
commit | c5f27133338caff1d09dcd8056aae0bdf6a45b6a (patch) | |
tree | 3cb0d5fa0dc801c195170edc0f83d0159ed3ea77 /sfx2/source | |
parent | 893dd1995976a15e201cfe5c1ea3266c8f003ae0 (diff) |
Related: #i122047# Added missing implementation of virtual destructors
(cherry picked from commit 107eb08386046f1e78dc32b21f569c6aa7352cd1)
Change-Id: Icc57d8910a390e9b608b5aa4a0fa6d8c8659208d
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/sidebar/AsynchronousCall.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/IContextChangeReceiver.cxx | 28 | ||||
-rw-r--r-- | sfx2/source/sidebar/ILayoutableWindow.cxx | 28 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarPanelBase.cxx | 8 |
4 files changed, 57 insertions, 9 deletions
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 <sfx2/sidebar/IContextChangeReceiver.hxx> + + +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 <sfx2/sidebar/ILayoutableWindow.hxx> + + +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 |