[Libreoffice-commits] .: binfilter/bf_sw binfilter/inc
Michael Meeks
mmeeks at kemper.freedesktop.org
Mon Apr 11 02:28:20 PDT 2011
binfilter/bf_sw/source/core/doc/sw_docnew.cxx | 4 +-
binfilter/bf_sw/source/core/fields/sw_dbfld.cxx | 11 ------
binfilter/bf_sw/source/core/layout/sw_findfrm.cxx | 4 +-
binfilter/bf_sw/source/core/layout/sw_laycache.cxx | 36 ++++++++++-----------
binfilter/bf_sw/source/core/layout/sw_ssfrm.cxx | 8 ++--
binfilter/bf_sw/source/core/txtnode/sw_thints.cxx | 5 +-
binfilter/inc/bf_sw/swmodule.hxx | 4 --
7 files changed, 29 insertions(+), 43 deletions(-)
New commits:
commit 03894d18889d7bc79b3d4f000c0df7065ea81ee2
Author: Júlio Hoffimann <julio.hoffimann at gmail.com>
Date: Sun Apr 10 22:49:28 2011 -0300
not useful dates in source code removed
diff --git a/binfilter/bf_sw/source/core/doc/sw_docnew.cxx b/binfilter/bf_sw/source/core/doc/sw_docnew.cxx
index 8bc5005..7328965 100644
--- a/binfilter/bf_sw/source/core/doc/sw_docnew.cxx
+++ b/binfilter/bf_sw/source/core/doc/sw_docnew.cxx
@@ -717,10 +717,10 @@ const sal_Char sGrfCollStr[] = "Graphikformatvorlage";
/*N*/ }
/*N*/ }
-/*-----------------28.5.2001 10:06------------------
+/*
* SwDoc:
* Reading and writing of the layout cache.
- *--------------------------------------------------*/
+ */
/*N*/ void SwDoc::ReadLayoutCache( SvStream& rStream )
/*N*/ {
diff --git a/binfilter/bf_sw/source/core/fields/sw_dbfld.cxx b/binfilter/bf_sw/source/core/fields/sw_dbfld.cxx
index 8a42a7f..7a24901 100644
--- a/binfilter/bf_sw/source/core/fields/sw_dbfld.cxx
+++ b/binfilter/bf_sw/source/core/fields/sw_dbfld.cxx
@@ -517,25 +517,17 @@ BOOL SwDBNameInfField::PutValue( const ::com::sun::star::uno::Any& rAny, BYTE nM
}
return TRUE;
}
-/* -----------------4/10/2003 15:03------------------
- --------------------------------------------------*/
/*N*/ USHORT SwDBNameInfField::GetSubType() const
/*N*/ {
/*N*/ return nSubType;
/*N*/ }
-/* -----------------4/10/2003 15:03------------------
- --------------------------------------------------*/
/*N*/ void SwDBNameInfField::SetSubType(USHORT nType)
/*N*/ {
/*N*/ nSubType = nType;
/*N*/ }
-/*--------------------------------------------------------------------
- Beschreibung: NaechsterDatensatz
- --------------------------------------------------------------------*/
-
SwDBNextSetFieldType::SwDBNextSetFieldType()
: SwFieldType( RES_DBNEXTSETFLD )
{
@@ -548,9 +540,6 @@ SwDBNextSetFieldType::SwDBNextSetFieldType()
SwDBNextSetFieldType* pTmp = new SwDBNextSetFieldType();
return pTmp;
/*N*/ }
-/*--------------------------------------------------------------------
- Beschreibung: SwDBSetField
- --------------------------------------------------------------------*/
SwDBNextSetField::SwDBNextSetField(
SwDBNextSetFieldType* pTyp,
diff --git a/binfilter/bf_sw/source/core/layout/sw_findfrm.cxx b/binfilter/bf_sw/source/core/layout/sw_findfrm.cxx
index 5d121de..bc1e690 100644
--- a/binfilter/bf_sw/source/core/layout/sw_findfrm.cxx
+++ b/binfilter/bf_sw/source/core/layout/sw_findfrm.cxx
@@ -1047,12 +1047,12 @@ SwCntntFrm *SwPageFrm::FindLastBodyCntnt()
/*N*/ } while ( pFrm && !pFrm->IsPageFrm() ); //Oberhalb der Seite kommt nix
/*N*/ }
-/*-----------------22.8.2001 14:30------------------
+/*
* SwFrm::SetDirFlags( 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.
- * --------------------------------------------------*/
+ */
/*N*/ void SwFrm::SetDirFlags( BOOL bVert )
/*N*/ {
diff --git a/binfilter/bf_sw/source/core/layout/sw_laycache.cxx b/binfilter/bf_sw/source/core/layout/sw_laycache.cxx
index a6ba4df..0718a51 100644
--- a/binfilter/bf_sw/source/core/layout/sw_laycache.cxx
+++ b/binfilter/bf_sw/source/core/layout/sw_laycache.cxx
@@ -63,7 +63,7 @@ namespace binfilter {
/*N*/ 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
@@ -72,7 +72,7 @@ namespace binfilter {
* 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.
- *--------------------------------------------------*/
+ */
/*N*/ void SwLayoutCache::Read( SvStream &rStream )
/*N*/ {
@@ -163,7 +163,7 @@ namespace binfilter {
/*N*/ return !aIo.HasError();
/*N*/ }
-/*-----------------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)
@@ -173,7 +173,7 @@ namespace binfilter {
* number is stored, too.
* The position, size and page number of the text frames
* are stored, too
- * --------------------------------------------------*/
+ */
/*N*/ void SwLayoutCache::Write( SvStream &rStream, const SwDoc& rDoc )
/*N*/ {
@@ -351,11 +351,11 @@ namespace binfilter {
/*N*/ delete pImpl;
/*N*/ }
-/*-----------------28.5.2001 10:47------------------
+/*
* SwActualSection,
* a help class to create not nested section frames
* for nested sections.
- * --------------------------------------------------*/
+ */
/*N*/ SwActualSection::SwActualSection( SwActualSection *pUp,
/*N*/ SwSectionFrm *pSect,
@@ -372,14 +372,14 @@ namespace binfilter {
/*N*/ }
/*N*/ }
-/*-----------------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.
- * --------------------------------------------------*/
+ */
/*N*/ SwLayHelper::SwLayHelper( SwDoc *pD, SwFrm* &rpF, SwFrm* &rpP, SwPageFrm* &rpPg,
/*N*/ SwLayoutFrm* &rpL, SwActualSection* &rpA, BOOL &rB,
@@ -421,11 +421,11 @@ namespace binfilter {
/*N*/ }
/*N*/ }
-/*-----------------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.
- * --------------------------------------------------*/
+ */
/*N*/ ULONG SwLayHelper::CalcPageCount()
/*N*/ {
@@ -485,7 +485,7 @@ namespace binfilter {
/*N*/ return nPgCount;
/*N*/ }
-/*-----------------23.5.2001 16:44------------------
+/*
* SwLayHelper::CheckInsertPage()
* inserts a page and return TRUE, if
* - the break after flag is set
@@ -494,7 +494,7 @@ namespace binfilter {
*
* The break after flag is set, if the actual content
* wants a break after.
- * --------------------------------------------------*/
+ */
/*N*/ BOOL SwLayHelper::CheckInsertPage()
/*N*/ {
@@ -555,7 +555,7 @@ namespace binfilter {
/*N*/ return FALSE;
/*N*/ }
-/*-----------------28.5.2001 11:31------------------
+/*
* SwLayHelper::CheckInsert
* is the entry point for the _InsertCnt-function.
* The document content index is checked either it is
@@ -563,7 +563,7 @@ namespace binfilter {
* 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.
- * --------------------------------------------------*/
+ */
/*N*/ BOOL SwLayHelper::CheckInsert( ULONG nNodeIndex )
/*N*/ {
@@ -792,12 +792,12 @@ namespace binfilter {
/*N*/ }
/*N*/ };
- /*-----------------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.
- * --------------------------------------------------*/
+ */
/*N*/ void SwLayHelper::_CheckFlyCache( SwPageFrm* pPage )
/*N*/ {
@@ -937,14 +937,14 @@ namespace binfilter {
/*N*/ }
/*N*/ }
-/*-----------------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.
- * --------------------------------------------------*/
+ */
/*N*/ BOOL SwLayHelper::CheckPageFlyCache( SwPageFrm* &rpPage, SwFlyFrm* pFly )
/*N*/ {
diff --git a/binfilter/bf_sw/source/core/layout/sw_ssfrm.cxx b/binfilter/bf_sw/source/core/layout/sw_ssfrm.cxx
index dd507de..aa15ff5 100644
--- a/binfilter/bf_sw/source/core/layout/sw_ssfrm.cxx
+++ b/binfilter/bf_sw/source/core/layout/sw_ssfrm.cxx
@@ -212,11 +212,11 @@ namespace binfilter {
/*N*/ Prt().Width( Frm().Width() - nLeft - nRight );
/*N*/ }
-/*-----------------11.9.2001 11:11------------------
+/*
* SwFrm::CheckDirChange(..)
* checks the layout direction and
* invalidates the lower frames rekursivly, if necessary.
- * --------------------------------------------------*/
+ */
/*N*/ void SwFrm::CheckDirChange()
/*N*/ {
@@ -231,10 +231,10 @@ namespace binfilter {
/*N*/ }
/*N*/ }
-/*-----------------13.9.2002 11:11------------------
+/*
* SwFrm::GetAnchorPos(..)
* returns the position for anchors based on frame direction
- * --------------------------------------------------*/
+ */
/*N*/ Point SwFrm::GetFrmAnchorPos( sal_Bool bIgnoreFlysAnchoredAtThisFrame ) const
/*N*/ {
diff --git a/binfilter/bf_sw/source/core/txtnode/sw_thints.cxx b/binfilter/bf_sw/source/core/txtnode/sw_thints.cxx
index 237e2df..7aaf9b7 100644
--- a/binfilter/bf_sw/source/core/txtnode/sw_thints.cxx
+++ b/binfilter/bf_sw/source/core/txtnode/sw_thints.cxx
@@ -1092,12 +1092,13 @@ using namespace ::com::sun::star::i18n;
* gleichartiges Attribut endet oder beginnt, welches einen von der beiden
* Kandidaten umfasst, auch Zeichenvorlage duerfen nicht ueberlappt werden.
*/
-/*-----------------5.9.2001 09:26-------------------
+
+/*
* And here a smarter version of good old Merge(..)
* If a SwTxtAttr is given, only the merging between this attribute and the
* neighbours are checked. This saves time, if no attribute is given (in more
* complex situations), the whole attribute array is checked as before.
- * --------------------------------------------------*/
+ */
/*N*/ BOOL SwpHints::Merge( SwTxtNode &rNode, SwTxtAttr* pAttr )
/*N*/ {
diff --git a/binfilter/inc/bf_sw/swmodule.hxx b/binfilter/inc/bf_sw/swmodule.hxx
index a9cef93..0d2df5e 100644
--- a/binfilter/inc/bf_sw/swmodule.hxx
+++ b/binfilter/inc/bf_sw/swmodule.hxx
@@ -201,10 +201,6 @@ inline void SwModule::SetLngSvcEvtListener(
}
-/*-----------------08.07.97 10.33-------------------
- Zugriff auf das SwModule, die ::com::sun::star::sdbcx::View und die Shell
---------------------------------------------------*/
-
#define SW_MOD() ( *(SwModule**) GetAppData(BF_SHL_WRITER))
SwView* GetActiveView();
More information about the Libreoffice-commits
mailing list