diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-03 11:08:31 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-03-04 11:34:07 +0000 |
commit | 5b04c9063cc9dd77dc55c361df081812af38cdbd (patch) | |
tree | 827cd9405e68df853362ac6a021c4619bf4a6bc3 /svtools | |
parent | bf48090e0a81c6490ee938eabaef4e791df85229 (diff) |
remove unused and commented out code
This code gets never called.
Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/Library_svt.mk | 1 | ||||
-rw-r--r-- | svtools/Package_inc.mk | 1 | ||||
-rw-r--r-- | svtools/inc/svtools/treelistbox.hxx | 4 | ||||
-rw-r--r-- | svtools/inc/svtools/wallitem.hxx | 57 | ||||
-rw-r--r-- | svtools/source/contnr/treelistbox.cxx | 26 | ||||
-rw-r--r-- | svtools/source/dialogs/filedlg2.cxx | 4 | ||||
-rw-r--r-- | svtools/source/dialogs/filedlg2.hxx | 1 | ||||
-rw-r--r-- | svtools/source/misc/wallitem.cxx | 43 |
8 files changed, 0 insertions, 137 deletions
diff --git a/svtools/Library_svt.mk b/svtools/Library_svt.mk index dcabca004984..bfd409bd3d70 100644 --- a/svtools/Library_svt.mk +++ b/svtools/Library_svt.mk @@ -182,7 +182,6 @@ $(eval $(call gb_Library_add_exception_objects,svt,\ svtools/source/misc/transfer \ svtools/source/misc/transfer2 \ svtools/source/misc/unitconv \ - svtools/source/misc/wallitem \ svtools/source/misc/xwindowitem \ svtools/source/svhtml/htmlkywd \ svtools/source/svhtml/htmlout \ diff --git a/svtools/Package_inc.mk b/svtools/Package_inc.mk index 38047d484d4c..fe8ccf679cee 100644 --- a/svtools/Package_inc.mk +++ b/svtools/Package_inc.mk @@ -167,7 +167,6 @@ $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/unoimap.hxx,svtools/un $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/urlcontrol.hxx,svtools/urlcontrol.hxx)) $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/valueset.hxx,svtools/valueset.hxx)) $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/viewdataentry.hxx,svtools/viewdataentry.hxx)) -$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/wallitem.hxx,svtools/wallitem.hxx)) $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/wizardmachine.hxx,svtools/wizardmachine.hxx)) $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/wizdlg.hxx,svtools/wizdlg.hxx)) $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/xwindowitem.hxx,svtools/xwindowitem.hxx)) diff --git a/svtools/inc/svtools/treelistbox.hxx b/svtools/inc/svtools/treelistbox.hxx index 14f97f46ccd6..30d05bd2a23e 100644 --- a/svtools/inc/svtools/treelistbox.hxx +++ b/svtools/inc/svtools/treelistbox.hxx @@ -560,8 +560,6 @@ protected: // This can be used to hide Elements which are painted from outside into the Control virtual void NotifyInvalidating(); - virtual sal_uLong GetAscInsertionPos( SvTreeListEntry*, SvTreeListEntry* pParent ); - virtual sal_uLong GetDescInsertionPos( SvTreeListEntry*, SvTreeListEntry* pParent ); virtual void Command( const CommandEvent& rCEvt ); virtual void RequestHelp( const HelpEvent& rHEvt ); @@ -728,8 +726,6 @@ public: void SetHighlightRange(sal_uInt16 nFirstTab=0,sal_uInt16 nLastTab=0xffff); - virtual Region GetDragRegion() const; - // A Parent's Children are turned into Children of the Parent which comes next in hierarchy void RemoveParentKeepChildren( SvTreeListEntry* pParent ); diff --git a/svtools/inc/svtools/wallitem.hxx b/svtools/inc/svtools/wallitem.hxx deleted file mode 100644 index b84b53235538..000000000000 --- a/svtools/inc/svtools/wallitem.hxx +++ /dev/null @@ -1,57 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * 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 . - */ -#ifndef _WALLITEM_HXX -#define _WALLITEM_HXX - -#include <tools/shl.hxx> - -// ----------------------------------------------------------------------------------------- -// Hilfsklasse, um die Download-Funktionalitaet des SvxBrushItems unterhalb -// des SVX zu benutzen. Der Link wird im Konstruktor von SvxDialogDll gesetzt. -#ifndef _SFX_BRUSHITEMLINK_DECLARED -#define _SFX_BRUSHITEMLINK_DECLARED -#include <vcl/graph.hxx> - -#ifndef SHL_BRUSHITEM -#define SHL_BRUSHITEM SHL_SHL1 -#endif - -class Window; -class SfxItemSet; - -typedef void* (*CreateSvxBrushTabPage)(Window *pParent, const SfxItemSet &rAttrSet); -typedef sal_uInt16* (*GetSvxBrushTabPageRanges)(); - -class Graphic; -class String; -class SfxBrushItemLink -{ -public: - virtual ~SfxBrushItemLink() = 0; - virtual Graphic GetGraphic( const String& rLink, const String& rFilter) = 0; - virtual CreateSvxBrushTabPage GetBackgroundTabpageCreateFunc() = 0; - virtual GetSvxBrushTabPageRanges GetBackgroundTabpageRanges() = 0; - static SfxBrushItemLink* Get() { return *(SfxBrushItemLink**)GetAppData(SHL_BRUSHITEM); } - //static void Set( SfxBrushItemLink* pLink ); -}; -#endif // _SFX_BRUSHITEMLINK_DECLARED - -#endif // _WALLITEM_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index a8e3b14e39a5..381d0d8b3fff 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -3571,32 +3571,6 @@ void SvTreeListBox::SetHighlightRange( sal_uInt16 nStart, sal_uInt16 nEnd) pImp->RecalcFocusRect(); } -sal_uLong SvTreeListBox::GetAscInsertionPos(SvTreeListEntry*,SvTreeListEntry*) -{ - return LIST_APPEND; -} - -sal_uLong SvTreeListBox::GetDescInsertionPos(SvTreeListEntry*,SvTreeListEntry*) -{ - DBG_CHKTHIS(SvTreeListBox,0); - return LIST_APPEND; -} - -Region SvTreeListBox::GetDragRegion() const -{ - DBG_CHKTHIS(SvTreeListBox,0); - Rectangle aRect; - SvTreeListEntry* pEntry = GetCurEntry(); - if( pEntry ) - { - Point aPos = GetEntryPosition( pEntry ); - aRect = ((SvTreeListBox*)this)->GetFocusRect( pEntry, aPos.Y() ); - } - Region aRegion( aRect ); - return aRegion; -} - - void SvTreeListBox::Command( const CommandEvent& rCEvt ) { DBG_CHKTHIS(SvTreeListBox,0); diff --git a/svtools/source/dialogs/filedlg2.cxx b/svtools/source/dialogs/filedlg2.cxx index ebc9d35b657e..210dfd48d84d 100644 --- a/svtools/source/dialogs/filedlg2.cxx +++ b/svtools/source/dialogs/filedlg2.cxx @@ -616,10 +616,6 @@ void ImpPathDialog::PreExecute() } } -void ImpPathDialog::PostExecute() -{ -} - void ImpPathDialog::SetPath( OUString const & rPath ) { aPath = DirEntry( rPath ); diff --git a/svtools/source/dialogs/filedlg2.hxx b/svtools/source/dialogs/filedlg2.hxx index 8f6652d5225c..07cea5928154 100644 --- a/svtools/source/dialogs/filedlg2.hxx +++ b/svtools/source/dialogs/filedlg2.hxx @@ -103,7 +103,6 @@ public: virtual OUString GetPath() const; virtual void PreExecute(); - virtual void PostExecute(); PathDialog* GetPathDialog() const { return pSvPathDialog; } diff --git a/svtools/source/misc/wallitem.cxx b/svtools/source/misc/wallitem.cxx deleted file mode 100644 index 24193e7158db..000000000000 --- a/svtools/source/misc/wallitem.cxx +++ /dev/null @@ -1,43 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * 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 <cppuhelper/weak.hxx> -#include <com/sun/star/io/XOutputStream.hpp> -#include <com/sun/star/io/XActiveDataSource.hpp> -#include <com/sun/star/io/XActiveDataControl.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> - -#include <comphelper/processfactory.hxx> - -#include <tools/stream.hxx> - -#include <vcl/graph.hxx> -#include <vcl/svapp.hxx> -#include <vcl/wrkwin.hxx> -#include <vcl/gradient.hxx> -#include <vcl/cvtgrf.hxx> - -#include <svtools/wallitem.hxx> -#include <svl/cntwall.hxx> - -SfxBrushItemLink::~SfxBrushItemLink() -{ -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |