binfilter/bf_sc/source/ui/app/makefile.mk | 1 binfilter/bf_sc/source/ui/app/sc_rfindlst.cxx | 43 ----------------- binfilter/bf_sc/source/ui/inc/rfindlst.hxx | 63 -------------------------- 3 files changed, 107 deletions(-)
New commits: commit 716ac9bc6ae5fd2b8905a6ad920183b21b5182a0 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Jul 27 08:50:51 2012 +0100 ScRangeFindList is unused Change-Id: Ia2b9de378d013d05348a9422fd6cf43e5ac1be94 diff --git a/binfilter/bf_sc/source/ui/app/makefile.mk b/binfilter/bf_sc/source/ui/app/makefile.mk index bae6f71..56548be 100644 --- a/binfilter/bf_sc/source/ui/app/makefile.mk +++ b/binfilter/bf_sc/source/ui/app/makefile.mk @@ -36,7 +36,6 @@ SLOFILES = \ $(SLO)$/sc_scmod.obj \ $(SLO)$/sc_scmod2.obj \ $(SLO)$/sc_scdll.obj \ - $(SLO)$/sc_rfindlst.obj \ $(SLO)$/sc_uiitems.obj \ $(SLO)$/sc_msgpool.obj diff --git a/binfilter/bf_sc/source/ui/app/sc_rfindlst.cxx b/binfilter/bf_sc/source/ui/app/sc_rfindlst.cxx deleted file mode 100644 index 91ea3ec..0000000 --- a/binfilter/bf_sc/source/ui/app/sc_rfindlst.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 . - */ - -#ifdef _MSC_VER -#pragma hdrstop -#endif - -#include "rfindlst.hxx" -namespace binfilter { - -//================================================================== - -ScRangeFindList::~ScRangeFindList() -{ - void* pEntry = aEntries.First(); - while ( pEntry ) - { - delete (ScRangeFindData*) aEntries.Remove( pEntry ); - pEntry = aEntries.Next(); - } -} - -//================================================================== - -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sc/source/ui/inc/rfindlst.hxx b/binfilter/bf_sc/source/ui/inc/rfindlst.hxx deleted file mode 100644 index 0d3d987..0000000 --- a/binfilter/bf_sc/source/ui/inc/rfindlst.hxx +++ /dev/null @@ -1,63 +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 SC_RFINDLST_HXX -#define SC_RFINDLST_HXX - -#include <tools/color.hxx> - -#include "global.hxx" -namespace binfilter { - -//================================================================== - -struct ScRangeFindData -{ - ScRange aRef; - USHORT nFlags; - xub_StrLen nSelStart; - xub_StrLen nSelEnd; - - ScRangeFindData( const ScRange& rR, USHORT nF, xub_StrLen nS, xub_StrLen nE ) : - aRef(rR), nFlags(nF), nSelStart(nS), nSelEnd(nE) {} -}; - -class ScRangeFindList -{ - List aEntries; - String aDocName; - BOOL bHidden; - -public: - ~ScRangeFindList(); - - ULONG Count() const { return aEntries.Count(); } - ScRangeFindData* GetObject( ULONG nIndex ) const - { return (ScRangeFindData*)aEntries.GetObject(nIndex); } - const String& GetDocName() const { return aDocName; } - BOOL IsHidden() const { return bHidden; } -}; - - - -} //namespace binfilter -#endif - - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits