Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


This patch removes the unused method EditEngine::GetNextVisPortion, as listed in unusedcode.easy
From ca3d332382da58e843542605b6b3b9fbf2fdcac3 Mon Sep 17 00:00:00 2001
From: Javier Catala <j_catala@yahoo.com>
Date: Wed, 25 Apr 2012 13:12:02 +0200
Subject: [PATCH] Remove unused GetNextVisPortion

---
 editeng/inc/editeng/editeng.hxx    |    1 -
 editeng/source/editeng/editeng.cxx |    5 -----
 unusedcode.easy                    |    1 -
 3 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/editeng/inc/editeng/editeng.hxx b/editeng/inc/editeng/editeng.hxx
index 8b23f00..f77244d 100644
--- a/editeng/inc/editeng/editeng.hxx
+++ b/editeng/inc/editeng/editeng.hxx
@@ -149,7 +149,6 @@ private:
     EDITENG_DLLPRIVATE ParaPortion* FindParaPortion(ContentNode* pNode);
     EDITENG_DLLPRIVATE const ParaPortion* FindParaPortion(ContentNode* pNode) const;
     EDITENG_DLLPRIVATE const ParaPortion* GetPrevVisPortion(const ParaPortion* pCurPortion) const;
-    EDITENG_DLLPRIVATE const ParaPortion* GetNextVisPortion(const ParaPortion* pCurPortion) const;
 
     EDITENG_DLLPRIVATE com::sun::star::uno::Reference<
         com::sun::star::datatransfer::XTransferable>
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index dd4cfb0..6772ec9 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -742,11 +742,6 @@ const ParaPortion* EditEngine::GetPrevVisPortion(const ParaPortion* 
pCurPortion)
     return pImpEditEngine->GetPrevVisPortion(pCurPortion);
 }
 
-const ParaPortion* EditEngine::GetNextVisPortion(const ParaPortion* pCurPortion) const
-{
-    return pImpEditEngine->GetNextVisPortion(pCurPortion);
-}
-
 sal_uInt16 EditEngine::GetScriptType(const EditSelection& rSel) const
 {
     return pImpEditEngine->GetScriptType(rSel);
diff --git a/unusedcode.easy b/unusedcode.easy
index d1f5e1d..bab3460 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,6 +1,5 @@
 CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, 
com::sun::star::uno::Sequence<signed char>, unsigned char)
 Dialog::Dialog(Window*, ResId const&)
-EditEngine::GetNextVisPortion(ParaPortion const*) const
 FmFieldWinMgr::GetChildWindowId()
 FmPropBrwMgr::GetChildWindowId()
 FontSelectPattern::FontSelectPattern(ImplFontData const&, Size const&, float, int, bool)
-- 
1.7.5.1


Context


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.