summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-27 08:50:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-27 08:50:51 +0100
commit716ac9bc6ae5fd2b8905a6ad920183b21b5182a0 (patch)
tree2809d5c7a59e52e24d9a03565597cac2ac952b55
parentfa8451f5a9714bf4d2f9832f62baa013b35e1292 (diff)
ScRangeFindList is unused
Change-Id: Ia2b9de378d013d05348a9422fd6cf43e5ac1be94
-rw-r--r--binfilter/bf_sc/source/ui/app/makefile.mk1
-rw-r--r--binfilter/bf_sc/source/ui/app/sc_rfindlst.cxx43
-rw-r--r--binfilter/bf_sc/source/ui/inc/rfindlst.hxx63
3 files changed, 0 insertions, 107 deletions
diff --git a/binfilter/bf_sc/source/ui/app/makefile.mk b/binfilter/bf_sc/source/ui/app/makefile.mk
index bae6f71ad..56548bed3 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 91ea3ec8f..000000000
--- 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 0d3d9878b..000000000
--- 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: */