Hello,
These is the patch that I've created. Is my first patch, so I hope this will be correct. If you
detect any problem, please let me know.Thanks!Licence: made available under the MPL/LGPLv3+
Ferran Vidal
From 553d11cbb902cf30f499c27e834d0f5c26c4f134 Mon Sep 17 00:00:00 2001
From: Ferran Vidal <vidalmarginet@hotmail.com>
Date: Sat, 21 Apr 2012 13:34:26 +0200
Subject: [PATCH] Removed unused code from editeng
---
editeng/source/editeng/editdoc.cxx | 5 -----
editeng/source/editeng/editdoc.hxx | 1 -
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index 23549a7..110daf5 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -2711,11 +2711,6 @@ size_t CharAttribList::Count() const
return aAttribs.size();
}
-void CharAttribList::Clear()
-{
- aAttribs.clear();
-}
-
const EditCharAttrib* CharAttribList::FindAttrib( sal_uInt16 nWhich, sal_uInt16 nPos ) const
{
// Backwards, if one ends where the next starts.
diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx
index 531652c..8dfe4f6 100644
--- a/editeng/source/editeng/editdoc.hxx
+++ b/editeng/source/editeng/editdoc.hxx
@@ -236,7 +236,6 @@ public:
void OptimizeRanges( SfxItemPool& rItemPool );
size_t Count() const;
- void Clear();
void InsertAttrib( EditCharAttrib* pAttrib );
--
1.7.5.4
Context
- PATCH: Remove unused code from editeng · Ferran Vidal i Marginet
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.