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/inc | |
parent | bf48090e0a81c6490ee938eabaef4e791df85229 (diff) |
remove unused and commented out code
This code gets never called.
Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
Diffstat (limited to 'svtools/inc')
-rw-r--r-- | svtools/inc/svtools/treelistbox.hxx | 4 | ||||
-rw-r--r-- | svtools/inc/svtools/wallitem.hxx | 57 |
2 files changed, 0 insertions, 61 deletions
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: */ |