[PATCH 1/3] Janitorial work. remove commented-out code

Norbert Thiebaud nthiebaud at gmail.com
Tue Sep 28 18:06:49 PDT 2010


---
 sc/inc/hints.hxx              |    1 -
 sc/source/core/tool/hints.cxx |    5 -----
 2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/sc/inc/hints.hxx b/sc/inc/hints.hxx
index 5ff21e8..e5b0fe4 100644
--- a/sc/inc/hints.hxx
+++ b/sc/inc/hints.hxx
@@ -93,7 +93,6 @@ class ScPointerChangedHint : public SfxHint
 public:
                     TYPEINFO();

-//UNUSED2008-05     ScPointerChangedHint( USHORT nF );
                     ~ScPointerChangedHint();

     USHORT                     GetFlags() const                        {
return nFlags; }
diff --git a/sc/source/core/tool/hints.cxx b/sc/source/core/tool/hints.cxx
index 4ca62d8..677a726 100644
--- a/sc/source/core/tool/hints.cxx
+++ b/sc/source/core/tool/hints.cxx
@@ -79,11 +79,6 @@ ScUpdateRefHint::~ScUpdateRefHint()
 //      ScPointerChangedHint - Pointer ist ungueltig geworden
 // -----------------------------------------------------------------------

-//UNUSED2008-05  ScPointerChangedHint::ScPointerChangedHint( USHORT nF ) :
-//UNUSED2008-05      nFlags( nF )
-//UNUSED2008-05  {
-//UNUSED2008-05  }
-
 ScPointerChangedHint::~ScPointerChangedHint()
 {
 }
-- 
1.7.1

--0016e644c6285807cc04915c11dc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Here are 3 small patches that do simple 'commented-out code' clean-=
up.<br><br>I don&#39;t know if bigger patches are favored. It seems that sm=
aller patches would make the maintainer &#39;s job easier...<br>but too man=
y of these may pollute the history... either way let me know how you would =
prefer theses...<br>
<br>I generated the patches with git format-patch. If there are prefered op=
tions, method.. please let me know (or RTFM me - with a link to TFM :-)<br>=
<br>Norbert Thiebaud<br><br><br>From a03c2d0a1ba37747a4b1993a141fb17dbb13d7=
14 Mon Sep 17 00:00:00 2001<br>
From: Norbert Thiebaud &lt;<a href=3D"mailto:nthiebaud at gmail.com" target=3D=
"_blank">nthiebaud at gmail.com</a>&gt;<br>Date: Tue, 28 Sep 2010 20:06:49 -05=
00<br>Subject: [PATCH 1/3] Janitorial work. remove commented-out code<br>
<br>---<br>=A0sc/inc/hints.hxx=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |=A0=
=A0=A0 1 -<br>=A0sc/source/core/tool/hints.cxx |=A0=A0=A0 5 -----<br>=A02 f=
iles changed, 0 insertions(+), 6 deletions(-)<br><br>diff --git a/sc/inc/hi=
nts.hxx b/sc/inc/hints.hxx<br>index 5ff21e8..e5b0fe4 100644<br>

--- a/sc/inc/hints.hxx<br>+++ b/sc/inc/hints.hxx<br>@@ -93,7 +93,6 @@ class=
 ScPointerChangedHint : public SfxHint<br>=A0public:<br>=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 TYPEINFO();<br>=A0<br>-//UNUSED2=
008-05=A0=A0=A0=A0 ScPointerChangedHint( USHORT nF );<br>

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ~ScPointerChan=
gedHint();<br>=A0<br>=A0=A0=A0=A0 USHORT=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0 GetFlags() const=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 { return nFlags; }<br>diff --git a/=
sc/source/core/tool/hints.cxx b/sc/source/core/tool/hints.cxx<br>

index 4ca62d8..677a726 100644<br>--- a/sc/source/core/tool/hints.cxx<br>+++=
 b/sc/source/core/tool/hints.cxx<br>@@ -79,11 +79,6 @@ ScUpdateRefHint::~Sc=
UpdateRefHint()<br>=A0//=A0=A0=A0=A0=A0 ScPointerChangedHint - Pointer ist =
ungueltig geworden<br>

=A0// ---------------------------------------------------------------------=
--<br>=A0<br>-//UNUSED2008-05=A0 ScPointerChangedHint::ScPointerChangedHint=
( USHORT nF ) :<br>-//UNUSED2008-05=A0=A0=A0=A0=A0 nFlags( nF )<br>-//UNUSE=
D2008-05=A0 {<br>

-//UNUSED2008-05=A0 }<br>-<br>=A0ScPointerChangedHint::~ScPointerChangedHin=
t()<br>=A0{<br>=A0}<br>-- <br>1.7.1<br><br>

--0016e644c6285807cc04915c11dc--


More information about the LibreOffice mailing list