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 <vidalmargi...@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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to