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


Hi,

Comments in the following format not exists anymore in writer source code:
:-)

/* ---------------- xxxx-xx-xx-------------------------------

Available under LGPLv3+/MPL.

Regards,
Júlio.
From 21ca2049db7433ad242847ba36b01930a488edbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BAlio=20Hoffimann?= <julio.hoffimann@gmail.com>
Date: Sun, 10 Apr 2011 22:40:05 -0300
Subject: [PATCH] not useful dates in source code removed

---
 sw/sdi/_basesh.sdi                 |    4 +---
 sw/sdi/_textsh.sdi                 |    7 +------
 sw/sdi/textsh.sdi                  |   30 +++++-------------------------
 sw/source/core/layout/findfrm.cxx  |    4 ++--
 sw/source/core/layout/laycache.cxx |   36 ++++++++++++++++++------------------
 sw/source/ui/config/optload.cxx    |    3 ---
 sw/source/ui/dialog/docstdlg.cxx   |    3 ---
 sw/source/ui/inc/chrdlg.hxx        |    8 --------
 sw/source/ui/shells/textsh1.cxx    |    8 ++++----
 sw/source/ui/table/tablepg.hxx     |    3 ---
 10 files changed, 31 insertions(+), 75 deletions(-)

diff --git a/sw/sdi/_basesh.sdi b/sw/sdi/_basesh.sdi
index 9ee0c71..5f895dd 100644
--- a/sw/sdi/_basesh.sdi
+++ b/sw/sdi/_basesh.sdi
@@ -430,9 +430,7 @@ interface BaseTextSelection
         StateMethod = GetState ;
     ]
 
-/*-----------------22.01.97 09.41-------------------
-// ab hier immer Export = FALSE
---------------------------------------------------*/
+// from here on Export = FALSE
 
     FN_FRAME_WRAP   // status()
     [
diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi
index 490b7ac..584e1fa 100644
--- a/sw/sdi/_textsh.sdi
+++ b/sw/sdi/_textsh.sdi
@@ -768,9 +768,6 @@ interface BaseText
         StateMethod = GetState ;
         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
     ]
-    /*-----------------24.01.97 07.33-------------------
-    Fussnoten - Befehle
---------------------------------------------------*/
 
     FN_INSERT_ENDNOTE // status(final|play)
     [
@@ -804,9 +801,7 @@ interface BaseText
         StateMethod = GetState ;
         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
     ]
-    /*-----------------24.01.97 07.34-------------------
-    Ende Fussnoten
-    --------------------------------------------------*/
+
     FN_INSERT_FIELD // status(final|play)
     [
         ExecMethod = ExecField ;
diff --git a/sw/sdi/textsh.sdi b/sw/sdi/textsh.sdi
index f91b3e5..a3ab0f0 100644
--- a/sw/sdi/textsh.sdi
+++ b/sw/sdi/textsh.sdi
@@ -42,10 +42,6 @@ interface Text : BaseText
 
     import TextSelection;
 
-    /*-----------------24.01.97 08.13-------------------
-    Spezielle Feldbefehle
---------------------------------------------------*/
-
     FN_INSERT_FLD_TOPIC
     [
         ExecMethod = ExecField ;
@@ -53,23 +49,15 @@ interface Text : BaseText
         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
         ReadOnlyDoc = FALSE ;
     ]
-    /*-----------------24.01.97 08.13-------------------
-    Ende Spezielle Feldbefehle
---------------------------------------------------*/
-
-    /*-----------------24.01.97 07.36-------------------
-    Verzeichnisse
---------------------------------------------------*/
 
-    /*
+/*
 enum TOXTypes
 {
-    TOX_INDEX,
-    TOX_USER,
-    TOX_CONTENT
+   TOX_INDEX,
+   TOX_USER,
+   TOX_CONTENT
 };
-
- */
+*/
 
     FN_INSERT_IDX_ENTRY_DLG // status(final|play)
     [
@@ -107,14 +95,6 @@ enum TOXTypes
         ExecMethod = ExecIdx ;
     ]
 
-    /*-----------------24.01.97 08.01-------------------
-    Absatzeinstellungen
---------------------------------------------------*/
-
-    /*-----------------24.01.97 08.01-------------------
-    Ende Absatzeinstellungen
---------------------------------------------------*/
-
 }
 
 shell SwTextShell : SwBaseShell
diff --git a/sw/source/core/layout/findfrm.cxx b/sw/source/core/layout/findfrm.cxx
index 0b84532..45a43e8 100644
--- a/sw/source/core/layout/findfrm.cxx
+++ b/sw/source/core/layout/findfrm.cxx
@@ -1398,12 +1398,12 @@ void SwFrm::SetInfFlags()
     } while ( pFrm && !pFrm->IsPageFrm() ); //Oberhalb der Seite kommt nix
 }
 
-/*-----------------22.8.2001 14:30------------------
+/*
  * SwFrm::SetDirFlags( sal_Bool )
  * actualizes the vertical or the righttoleft-flags.
  * If the property is derived, it's from the upper or (for fly frames) from
  * the anchor. Otherwise we've to call a virtual method to check the property.
- * --------------------------------------------------*/
+ */
 
 void SwFrm::SetDirFlags( sal_Bool bVert )
 {
diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx
index 850e38b..dbee2cd 100644
--- a/sw/source/core/layout/laycache.cxx
+++ b/sw/source/core/layout/laycache.cxx
@@ -75,7 +75,7 @@ using namespace ::com::sun::star;
 
 SV_IMPL_PTRARR( SwPageFlyCache, SwFlyCachePtr )
 
-/*-----------------28.5.2001 10:06------------------
+/*
  *  Reading and writing of the layout cache.
  *  The layout cache is not necessary, but it improves
  *  the performance and reduces the text flow during
@@ -84,7 +84,7 @@ SV_IMPL_PTRARR( SwPageFlyCache, SwFlyCachePtr )
  *  at the top of every page, so it's possible to create
  *  the right count of pages and to distribute the document content
  *  to this pages before the formatting starts.
- *--------------------------------------------------*/
+ */
 
 void SwLayoutCache::Read( SvStream &rStream )
 {
@@ -175,7 +175,7 @@ sal_Bool SwLayCacheImpl::Read( SvStream& rStream )
     return !aIo.HasError();
 }
 
-/*-----------------28.5.2001 10:19------------------
+/*
  * SwLayoutCache::Write(..)
  * writes the index (more precise: the difference between
  * the index and the first index of the document content)
@@ -185,7 +185,7 @@ sal_Bool SwLayCacheImpl::Read( SvStream& rStream )
  * number is stored, too.
  * The position, size and page number of the text frames
  * are stored, too
- * --------------------------------------------------*/
+ */
 
 void SwLayoutCache::Write( SvStream &rStream, const SwDoc& rDoc )
 {
@@ -481,11 +481,11 @@ SwLayoutCache::~SwLayoutCache()
     delete pImpl;
 }
 
-/*-----------------28.5.2001 10:47------------------
+/*
  * SwActualSection,
  *  a help class to create not nested section frames
  *  for nested sections.
- * --------------------------------------------------*/
+ */
 
 SwActualSection::SwActualSection( SwActualSection *pUp,
                                   SwSectionFrm   *pSect,
@@ -501,14 +501,14 @@ SwActualSection::SwActualSection( SwActualSection *pUp,
     }
 }
 
-/*-----------------28.5.2001 11:09------------------
+/*
  * SwLayHelper
  *  is the helper class, which utilizes the layout cache information
  *  to distribute the document content to the rigth pages.
  * It's used by the _InsertCnt(..)-function.
  * If there's no layout cache, the distibution to the pages is more
  * a guess, but a guess with statistical background.
- * --------------------------------------------------*/
+ */
 
 SwLayHelper::SwLayHelper( SwDoc *pD, SwFrm* &rpF, SwFrm* &rpP, SwPageFrm* &rpPg,
             SwLayoutFrm* &rpL, SwActualSection* &rpA, sal_Bool &rB,
@@ -550,11 +550,11 @@ SwLayHelper::~SwLayHelper()
     }
 }
 
-/*-----------------23.5.2001 16:40------------------
+/*
  * SwLayHelper::CalcPageCount() does not really calculate the page count,
  * it returns the page count value from the layout cache, if available,
  * otherwise it estimates the page count.
- * --------------------------------------------------*/
+ */
 
 sal_uLong SwLayHelper::CalcPageCount()
 {
@@ -613,7 +613,7 @@ sal_uLong SwLayHelper::CalcPageCount()
     return nPgCount;
 }
 
-/*-----------------23.5.2001 16:44------------------
+/*
  * SwLayHelper::CheckInsertPage()
  * inserts a page and return sal_True, if
  * - the break after flag is set
@@ -622,7 +622,7 @@ sal_uLong SwLayHelper::CalcPageCount()
  *
  * The break after flag is set, if the actual content
  * wants a break after.
- * --------------------------------------------------*/
+ */
 
 sal_Bool SwLayHelper::CheckInsertPage()
 {
@@ -753,7 +753,7 @@ void lcl_ApplyWorkaroundForB6375613( SwFrm* p_pFirstFrmOnNewPage )
 }
 // <--
 
-/*-----------------28.5.2001 11:31------------------
+/*
  * SwLayHelper::CheckInsert
  *  is the entry point for the _InsertCnt-function.
  *  The document content index is checked either it is
@@ -761,7 +761,7 @@ void lcl_ApplyWorkaroundForB6375613( SwFrm* p_pFirstFrmOnNewPage )
  *  cause the maximal estimation of content per page is reached.
  *  A really big table or long paragraph may contains more than
  *  one page, in this case the needed count of pages will inserted.
- * --------------------------------------------------*/
+ */
 
 sal_Bool SwLayHelper::CheckInsert( sal_uLong nNodeIndex )
 {
@@ -1014,12 +1014,12 @@ struct FlyCacheCompare
   }
 };
 
- /*-----------------28.6.2001 14:40------------------
+ /*
   * SwLayHelper::_CheckFlyCache(..)
   * If a new page is inserted, the last page is analysed.
   * If there are text frames with default position, the fly cache
   * is checked, if these frames are stored in the cache.
-  * --------------------------------------------------*/
+  */
 
 void SwLayHelper::_CheckFlyCache( SwPageFrm* pPage )
 {
@@ -1106,14 +1106,14 @@ void SwLayHelper::_CheckFlyCache( SwPageFrm* pPage )
     }
 }
 
-/*-----------------28.6.2001 14:48------------------
+/*
  * SwLayHelper::CheckPageFlyCache(..)
  * looks for the given text frame in the fly cache and sets
  * the position and size, if possible.
  * The fly cache is sorted by pages and we start searching with the given page.
  * If we found the page number in the fly cache, we set
  * the rpPage parameter to the right page, if possible.
- * --------------------------------------------------*/
+ */
 
 sal_Bool SwLayHelper::CheckPageFlyCache( SwPageFrm* &rpPage, SwFlyFrm* pFly )
 {
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index 164186c..fbad543 100644
--- a/sw/source/ui/config/optload.cxx
+++ b/sw/source/ui/config/optload.cxx
@@ -312,9 +312,6 @@ void SwLoadOptPage::Reset( const SfxItemSet& rSet)
     aUseCharUnit.SaveValue();
 }
 
-/*-----------------13.01.97 14.44-------------------
-    Switch Deftabstops' metric
---------------------------------------------------*/
 IMPL_LINK(SwLoadOptPage, MetricHdl, ListBox*, EMPTYARG)
 {
     const sal_uInt16 nMPos = aMetricLB.GetSelectEntryPos();
diff --git a/sw/source/ui/dialog/docstdlg.cxx b/sw/source/ui/dialog/docstdlg.cxx
index cf63196..cd2fb7a 100644
--- a/sw/source/ui/dialog/docstdlg.cxx
+++ b/sw/source/ui/dialog/docstdlg.cxx
@@ -156,9 +156,6 @@ void SwDocStatPage::Update()
     SetData(aDocStat);
 }
 
-/*-----------------19.06.97 16.37-------------------
-    upate line number
---------------------------------------------------*/
 IMPL_LINK( SwDocStatPage, UpdateHdl, PushButton*, EMPTYARG)
 {
     Update();
diff --git a/sw/source/ui/inc/chrdlg.hxx b/sw/source/ui/inc/chrdlg.hxx
index 55b8530..d6cbe5f 100644
--- a/sw/source/ui/inc/chrdlg.hxx
+++ b/sw/source/ui/inc/chrdlg.hxx
@@ -44,10 +44,6 @@
 class SwView;
 class SvxMacroItem;
 
-/*--------------------------------------------------------------------
-   Beschreibung:       Der Tabdialog Traeger der TabPages
- --------------------------------------------------------------------*/
-
 class SwCharDlg: public SfxTabDialog
 {
     SwView&   rView;
@@ -62,10 +58,6 @@ public:
     virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage );
 };
 
-/*-----------------14.08.96 11.03-------------------
-    Beschreibung: Tabpage fuer URL-Attribut
---------------------------------------------------*/
-
 class SwCharURLPage : public SfxTabPage
 {
     FixedLine           aURLFL;
diff --git a/sw/source/ui/shells/textsh1.cxx b/sw/source/ui/shells/textsh1.cxx
index a1cce6c..12ed911 100644
--- a/sw/source/ui/shells/textsh1.cxx
+++ b/sw/source/ui/shells/textsh1.cxx
@@ -1680,10 +1680,10 @@ void SwTextShell::GetState( SfxItemSet &rSet )
     }
 }
 
-/* -----------------------------2002/07/05 10:31------------------------------
-    Switch on/off header of footer of a page style - if an empty name is
-    given all styles are changed
- ---------------------------------------------------------------------------*/
+/*
+ *  Switch on/off header of footer of a page style - if an empty name is
+ *  given all styles are changed
+ */
 void SwTextShell::ChangeHeaderOrFooter(
     const String& rStyleName, sal_Bool bHeader, sal_Bool bOn, sal_Bool bShowWarning)
 {
diff --git a/sw/source/ui/table/tablepg.hxx b/sw/source/ui/table/tablepg.hxx
index 90d528f..d816a5a 100644
--- a/sw/source/ui/table/tablepg.hxx
+++ b/sw/source/ui/table/tablepg.hxx
@@ -171,9 +171,6 @@ public:
 
 };
 
-/*-----------------12.12.96 11.48-------------------
-        Textfluss
---------------------------------------------------*/
 class SwTextFlowPage : public SfxTabPage
 {
     FixedLine       aFlowFL;
-- 
1.7.0.4


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.