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


A patch to clean up comments.

Graeme
From 7493d712e537198fe036ff18a7e2a665f36a7f23 Mon Sep 17 00:00:00 2001
From: J. Graeme Lingard <jgraeme+git@gmail.com>
Date: Tue, 19 Oct 2010 23:48:16 +0100
Subject: [PATCH] Clean up comments in sw_unocoll.cxx

---
 binfilter/bf_sw/source/core/unocore/sw_unocoll.cxx |  235 +-------------------
 1 files changed, 12 insertions(+), 223 deletions(-)

diff --git a/binfilter/bf_sw/source/core/unocore/sw_unocoll.cxx 
b/binfilter/bf_sw/source/core/unocore/sw_unocoll.cxx
index 91a9767..7cd4a07 100644
--- a/binfilter/bf_sw/source/core/unocore/sw_unocoll.cxx
+++ b/binfilter/bf_sw/source/core/unocore/sw_unocoll.cxx
@@ -26,7 +26,6 @@
  *
  ************************************************************************/
 
-
 #ifdef _MSC_VER
 #pragma hdrstop
 #endif
@@ -85,9 +84,6 @@ using namespace ::com::sun::star::text;
 using namespace ::com::sun::star::container;
 using namespace ::com::sun::star::lang;
 
-/******************************************************************************
- *
- ******************************************************************************/
 const char* __FAR_DATA aProvNames[] =
     {
         "com.sun.star.text.TextTable",                 //SW_SERVICE_TYPE_TEXTTABLE
@@ -195,9 +191,7 @@ const char* __FAR_DATA aProvNames[] =
         "com.sun.star.image.ImageMapCircleObject",      //SW_SERVICE_IMAP_CIRCLE
         "com.sun.star.image.ImageMapPolygonObject"      //SW_SERVICE_IMAP_POLYGON
     };
-/* -----------------------------23.03.01 13:38--------------------------------
 
- ---------------------------------------------------------------------------*/
 const SvEventDescription* lcl_GetSupportedMacroItems()
 {
     static const SvEventDescription aMacroDescriptionsImpl[] =
@@ -213,9 +207,6 @@ const SvEventDescription* lcl_GetSupportedMacroItems()
 /******************************************************************
  * SwXServiceProvider
  ******************************************************************/
-/*-- 13.01.99 13:31:44---------------------------------------------------
-
-  -----------------------------------------------------------------------*/
 OUString       SwXServiceProvider::GetProviderName(sal_uInt16 nObjectType)
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -224,9 +215,7 @@ OUString    SwXServiceProvider::GetProviderName(sal_uInt16 nObjectType)
         sRet = C2U(aProvNames[nObjectType]);
     return sRet;
 }
-/* -----------------11.03.99 12:05-------------------
- *
- * --------------------------------------------------*/
+
 uno::Sequence<OUString>        SwXServiceProvider::GetAllServiceNames()
 {
     uno::Sequence<OUString> aRet(SW_SERVICE_LAST + 1);
@@ -246,9 +235,6 @@ uno::Sequence<OUString>     SwXServiceProvider::GetAllServiceNames()
 
 }
 
-/*-- 13.01.99 13:31:45---------------------------------------------------
-
-  -----------------------------------------------------------------------*/
 sal_uInt16     SwXServiceProvider::GetProviderType(const OUString& rServiceName)
 {
     for(sal_uInt16 i = 0; i <= SW_SERVICE_LAST; i++ )
@@ -258,9 +244,7 @@ sal_uInt16  SwXServiceProvider::GetProviderType(const OUString& rServiceName)
     }
     return SW_SERVICE_INVALID;
 }
-/* -----------------13.01.99 14:37-------------------
- *
- * --------------------------------------------------*/
+
 uno::Reference< uno::XInterface >      SwXServiceProvider::MakeInstance(sal_uInt16 nObjectType, 
SwDoc* pDoc)
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -512,29 +496,19 @@ uno::Reference< uno::XInterface >         
SwXServiceProvider::MakeInstance(sal_uInt16
     }
     return xRet;
 }
+
 /******************************************************************
  * SwXTextTables
  ******************************************************************/
-//SMART_UNO_IMPLEMENTATION( SwXTextTables, UsrObject );
-
-/*-- 13.01.99 12:56:24---------------------------------------------------
-
-  -----------------------------------------------------------------------*/
 SwXTextTables::SwXTextTables(SwDoc* pDc) :
         SwUnoCollection(pDc)
 {
-
 }
-/*-- 13.01.99 12:56:25---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXTextTables::~SwXTextTables()
 {
-
 }
-/*-- 13.01.99 12:56:25---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Int32 SwXTextTables::getCount(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -543,9 +517,7 @@ sal_Int32 SwXTextTables::getCount(void) throw( uno::RuntimeException )
         nRet = GetDoc()->GetTblFrmFmtCount(sal_True);
     return nRet;
 }
-/*-- 13.01.99 12:56:26---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Any SAL_CALL SwXTextTables::getByIndex(sal_Int32 nIndex)
         throw( IndexOutOfBoundsException, WrappedTargetException, uno::RuntimeException )
 {
@@ -567,9 +539,7 @@ uno::Any SAL_CALL SwXTextTables::getByIndex(sal_Int32 nIndex)
         throw uno::RuntimeException();
     return aRet;
 }
-/*-- 13.01.99 12:56:26---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Any SwXTextTables::getByName(const OUString& rItemName)
     throw( NoSuchElementException, WrappedTargetException, uno::RuntimeException )
 {
@@ -598,9 +568,7 @@ uno::Any SwXTextTables::getByName(const OUString& rItemName)
         throw uno::RuntimeException();
     return aRet;
 }
-/*-- 13.01.99 12:56:26---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Sequence< OUString > SwXTextTables::getElementNames(void)
         throw( uno::RuntimeException )
 {
@@ -621,9 +589,7 @@ uno::Sequence< OUString > SwXTextTables::getElementNames(void)
     }
     return aSeq;
 }
-/*-- 13.01.99 12:56:27---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Bool SwXTextTables::hasByName(const OUString& rName)
     throw( uno::RuntimeException )
 {
@@ -647,18 +613,14 @@ sal_Bool SwXTextTables::hasByName(const OUString& rName)
         throw uno::RuntimeException();
     return bRet;
 }
-/*-- 13.01.99 12:56:27---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Type SAL_CALL
     SwXTextTables::getElementType(  )
         throw(uno::RuntimeException)
 {
     return ::getCppuType((uno::Reference<XTextTable>*)0);
 }
-/*-- 13.01.99 12:56:27---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Bool SwXTextTables::hasElements(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -666,23 +628,17 @@ sal_Bool SwXTextTables::hasElements(void) throw( uno::RuntimeException )
         throw uno::RuntimeException();
     return 0 != GetDoc()->GetTblFrmFmtCount(sal_True);
 }
-/* -----------------25.10.99 16:01-------------------
 
- --------------------------------------------------*/
 OUString SwXTextTables::getImplementationName(void) throw( uno::RuntimeException )
 {
     return C2U("SwXTextTables");
 }
-/* -----------------25.10.99 16:01-------------------
 
- --------------------------------------------------*/
 sal_Bool SwXTextTables::supportsService(const OUString& rServiceName) throw( uno::RuntimeException 
)
 {
     return rServiceName == C2U("com.sun.star.text.TextTables");
 }
-/* -----------------25.10.99 16:01-------------------
 
- --------------------------------------------------*/
 uno::Sequence< OUString > SwXTextTables::getSupportedServiceNames(void) throw( 
uno::RuntimeException )
 {
     uno::Sequence< OUString > aRet(1);
@@ -690,9 +646,7 @@ uno::Sequence< OUString > SwXTextTables::getSupportedServiceNames(void) throw( u
     pArr[0] = C2U("com.sun.star.text.TextTables");
     return aRet;
 }
-/*-- 13.01.99 12:56:28---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 XTextTable* SwXTextTables::GetObject( SwFrmFmt& rFmt )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -702,26 +656,20 @@ XTextTable* SwXTextTables::GetObject( SwFrmFmt& rFmt )
         pTbl = new SwXTextTable(rFmt);
     return pTbl ;
 }
+
 /******************************************************************
  *     SwXFrames
  ******************************************************************/
-/* -----------------------------06.04.00 12:41--------------------------------
-
- ---------------------------------------------------------------------------*/
 OUString SwXFrames::getImplementationName(void) throw( RuntimeException )
 {
     return C2U("SwXFrames");
 }
-/* -----------------------------06.04.00 12:41--------------------------------
 
- ---------------------------------------------------------------------------*/
 BOOL SwXFrames::supportsService(const OUString& rServiceName) throw( RuntimeException )
 {
     return C2U("com.sun.star.text.TextFrames") == rServiceName;
 }
-/* -----------------------------06.04.00 12:41--------------------------------
 
- ---------------------------------------------------------------------------*/
 Sequence< OUString > SwXFrames::getSupportedServiceNames(void) throw( RuntimeException )
 {
     Sequence< OUString > aRet(1);
@@ -730,25 +678,16 @@ Sequence< OUString > SwXFrames::getSupportedServiceNames(void) throw( 
RuntimeExc
     return aRet;
 }
 
-/*-- 14.01.99 08:20:18---------------------------------------------------
-
-  -----------------------------------------------------------------------*/
 SwXFrames::SwXFrames(SwDoc* pDoc, FlyCntType eSet) :
     SwUnoCollection(pDoc),
     eType(eSet)
 {
 }
 
-/*-- 14.01.99 08:20:18---------------------------------------------------
-
-  -----------------------------------------------------------------------*/
 SwXFrames::~SwXFrames()
 {
 }
 
-/*-- 14.01.99 08:25:47---------------------------------------------------
-
-  -----------------------------------------------------------------------*/
 sal_Int32 SwXFrames::getCount(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -759,9 +698,7 @@ sal_Int32 SwXFrames::getCount(void) throw( uno::RuntimeException )
         throw uno::RuntimeException();
     return nRet;
 }
-/*-- 14.01.99 08:25:47---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Any SwXFrames::getByIndex(sal_Int32 nIndex)
     throw( IndexOutOfBoundsException, WrappedTargetException, uno::RuntimeException )
 {
@@ -803,9 +740,7 @@ uno::Any SwXFrames::getByIndex(sal_Int32 nIndex)
         throw uno::RuntimeException();
     return aRet;
 }
-/*-- 14.01.99 08:25:47---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Any SwXFrames::getByName(const OUString& rName)
     throw( NoSuchElementException, WrappedTargetException, uno::RuntimeException )
 {
@@ -853,9 +788,7 @@ uno::Any SwXFrames::getByName(const OUString& rName)
     }
     return aRet;
 }
-/*-- 14.01.99 08:25:48---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Sequence< OUString > SwXFrames::getElementNames(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -874,9 +807,7 @@ uno::Sequence< OUString > SwXFrames::getElementNames(void) throw( uno::RuntimeEx
     }
     return aSeq;
 }
-/*-- 14.01.99 08:25:48---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Bool SwXFrames::hasByName(const OUString& rName) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -893,9 +824,6 @@ sal_Bool SwXFrames::hasByName(const OUString& rName) throw( uno::RuntimeExceptio
     return 0 != GetDoc()->FindFlyByName( rName, nNodeType );
 }
 
-/*-- 14.01.99 08:25:48---------------------------------------------------
-
-  -----------------------------------------------------------------------*/
 uno::Type SAL_CALL SwXFrames::getElementType() throw(uno::RuntimeException)
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -916,9 +844,7 @@ uno::Type SAL_CALL SwXFrames::getElementType() throw(uno::RuntimeException)
     }
     return aRet;
 }
-/*-- 14.01.99 08:25:48---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Bool SwXFrames::hasElements(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -929,9 +855,7 @@ sal_Bool SwXFrames::hasElements(void) throw( uno::RuntimeException )
         throw uno::RuntimeException();
     return nRet != 0;
 }
-/*-- 14.01.99 08:25:48---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXFrame*      SwXFrames::GetObject( SwFrmFmt& rFmt, FlyCntType eType )
 {
     SwXFrame* pFrm = (SwXFrame*)SwClientIter( rFmt ).
@@ -953,26 +877,20 @@ SwXFrame*         SwXFrames::GetObject( SwFrmFmt& rFmt, FlyCntType eType )
     }
     return pFrm;
 }
+
 /******************************************************************
  * SwXTextFrames
  ******************************************************************/
-/* -----------------------------06.04.00 12:44--------------------------------
-
- ---------------------------------------------------------------------------*/
 OUString SwXTextFrames::getImplementationName(void) throw( RuntimeException )
 {
     return C2U("SwXTextFrames");
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 BOOL SwXTextFrames::supportsService(const OUString& rServiceName) throw( RuntimeException )
 {
     return C2U("com.sun.star.text.TextFrames") == rServiceName;
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 Sequence< OUString > SwXTextFrames::getSupportedServiceNames(void) throw( RuntimeException )
 {
     Sequence< OUString > aRet(1);
@@ -980,16 +898,12 @@ Sequence< OUString > SwXTextFrames::getSupportedServiceNames(void) throw( 
Runtim
     pArray[0] = C2U("com.sun.star.text.TextFrames");
     return aRet;
 }
-/*-- 14.01.99 08:06:16---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXTextFrames::SwXTextFrames(SwDoc* pDoc) :
     SwXFrames(pDoc, FLYCNTTYPE_FRM)
 {
 }
-/*-- 14.01.99 08:06:17---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXTextFrames::~SwXTextFrames()
 {
 }
@@ -997,25 +911,16 @@ SwXTextFrames::~SwXTextFrames()
 /******************************************************************
  *     SwXTextGraphicObjects
  ******************************************************************/
-//SMART_UNO_IMPLEMENTATION( SwXTextGraphicObjects, UsrObject );
-
-/* -----------------------------06.04.00 12:44--------------------------------
-
- ---------------------------------------------------------------------------*/
 OUString SwXTextGraphicObjects::getImplementationName(void) throw( RuntimeException )
 {
     return C2U("SwXTextGraphicObjects");
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 BOOL SwXTextGraphicObjects::supportsService(const OUString& rServiceName) throw( RuntimeException )
 {
     return C2U("com.sun.star.text.TextGraphicObjects") == rServiceName;
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 Sequence< OUString > SwXTextGraphicObjects::getSupportedServiceNames(void) throw( RuntimeException 
)
 {
     Sequence< OUString > aRet(1);
@@ -1023,16 +928,12 @@ Sequence< OUString > SwXTextGraphicObjects::getSupportedServiceNames(void) 
throw
     pArray[0] = C2U("com.sun.star.text.TextGraphicObjects");
     return aRet;
 }
-/*-- 14.01.99 08:45:53---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXTextGraphicObjects::SwXTextGraphicObjects(SwDoc* pDoc) :
     SwXFrames(pDoc, FLYCNTTYPE_GRF)
 {
 }
-/*-- 14.01.99 08:45:54---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXTextGraphicObjects::~SwXTextGraphicObjects()
 {
 }
@@ -1040,23 +941,16 @@ SwXTextGraphicObjects::~SwXTextGraphicObjects()
 /******************************************************************
  *     SwXTextEmbeddedObjects
  ******************************************************************/
-/* -----------------------------06.04.00 12:44--------------------------------
-
- ---------------------------------------------------------------------------*/
 OUString SwXTextEmbeddedObjects::getImplementationName(void) throw( RuntimeException )
 {
     return C2U("SwXTextEmbeddedObjects");
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 BOOL SwXTextEmbeddedObjects::supportsService(const OUString& rServiceName) throw( RuntimeException 
)
 {
     return C2U("com.sun.star.text.TextEmbeddedObjects") == rServiceName;
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 Sequence< OUString > SwXTextEmbeddedObjects::getSupportedServiceNames(void) throw( 
RuntimeException )
 {
     Sequence< OUString > aRet(1);
@@ -1064,41 +958,31 @@ Sequence< OUString > SwXTextEmbeddedObjects::getSupportedServiceNames(void) 
thro
     pArray[0] = C2U("com.sun.star.text.TextEmbeddedObjects");
     return aRet;
 }
-/*-- 14.01.99 08:45:13---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXTextEmbeddedObjects::SwXTextEmbeddedObjects(SwDoc* pDoc) :
         SwXFrames(pDoc, FLYCNTTYPE_OLE)
 {
 }
-/*-- 14.01.99 08:45:31---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXTextEmbeddedObjects::~SwXTextEmbeddedObjects()
 {
 }
 
 /******************************************************************
- *
+ * SwXTextSections
  ******************************************************************/
 #define PASSWORD_STD_TIMEOUT 1000
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 OUString SwXTextSections::getImplementationName(void) throw( RuntimeException )
 {
     return C2U("SwXTextSections");
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 BOOL SwXTextSections::supportsService(const OUString& rServiceName) throw( RuntimeException )
 {
     return C2U("com.sun.star.text.TextSections") == rServiceName;
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 Sequence< OUString > SwXTextSections::getSupportedServiceNames(void) throw( RuntimeException )
 {
     Sequence< OUString > aRet(1);
@@ -1106,22 +990,16 @@ Sequence< OUString > SwXTextSections::getSupportedServiceNames(void) throw( 
Runt
     pArray[0] = C2U("com.sun.star.text.TextSections");
     return aRet;
 }
-/*-- 14.01.99 09:06:05---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXTextSections::SwXTextSections(SwDoc* pDoc) :
     SwUnoCollection(pDoc)
 {
 }
-/*-- 14.01.99 09:06:05---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXTextSections::~SwXTextSections()
 {
 }
-/*-- 14.01.99 09:06:05---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Int32 SwXTextSections::getCount(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1136,9 +1014,7 @@ sal_Int32 SwXTextSections::getCount(void) throw( uno::RuntimeException )
     }
     return nCount;
 }
-/*-- 14.01.99 09:06:06---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Any SwXTextSections::getByIndex(sal_Int32 nIndex)
     throw( IndexOutOfBoundsException, WrappedTargetException, uno::RuntimeException )
 {
@@ -1172,9 +1048,7 @@ uno::Any SwXTextSections::getByIndex(sal_Int32 nIndex)
         throw uno::RuntimeException();
     return aRet;
 }
-/*-- 14.01.99 09:06:06---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Any SwXTextSections::getByName(const OUString& Name)
     throw( NoSuchElementException, WrappedTargetException, uno::RuntimeException )
 {
@@ -1202,9 +1076,7 @@ uno::Any SwXTextSections::getByName(const OUString& Name)
         throw uno::RuntimeException();
     return aRet;
 }
-/*-- 14.01.99 09:06:06---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Sequence< OUString > SwXTextSections::getElementNames(void)
     throw( uno::RuntimeException )
 {
@@ -1237,9 +1109,7 @@ uno::Sequence< OUString > SwXTextSections::getElementNames(void)
     }
     return aSeq;
 }
-/*-- 14.01.99 09:06:06---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Bool SwXTextSections::hasByName(const OUString& Name)
     throw( uno::RuntimeException )
 {
@@ -1267,16 +1137,12 @@ sal_Bool SwXTextSections::hasByName(const OUString& Name)
     }
     return bRet;
 }
-/*-- 14.01.99 09:06:06---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Type SAL_CALL SwXTextSections::getElementType() throw(uno::RuntimeException)
 {
     return ::getCppuType((uno::Reference<XTextSection>*)0);
 }
-/*-- 14.01.99 09:06:06---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Bool SwXTextSections::hasElements(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1290,9 +1156,7 @@ sal_Bool SwXTextSections::hasElements(void) throw( uno::RuntimeException )
         throw uno::RuntimeException();
     return nCount > 0;
 }
-/*-- 14.01.99 09:06:07---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 XTextSection*  SwXTextSections::GetObject( SwSectionFmt& rFmt )
 {
     SwXTextSection* pSect = (SwXTextSection*)SwClientIter( rFmt ).
@@ -1301,26 +1165,20 @@ XTextSection*   SwXTextSections::GetObject( SwSectionFmt& rFmt )
         pSect = new SwXTextSection(&rFmt);
     return pSect;
 }
+
 /******************************************************************
- *
+ * SwXBookmarks
  ******************************************************************/
-/* -----------------------------06.04.00 12:44--------------------------------
-
- ---------------------------------------------------------------------------*/
 OUString SwXBookmarks::getImplementationName(void) throw( RuntimeException )
 {
     return C2U("SwXBookmarks");
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 BOOL SwXBookmarks::supportsService(const OUString& rServiceName) throw( RuntimeException )
 {
     return C2U("com.sun.star.text.Bookmarks") == rServiceName;
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 Sequence< OUString > SwXBookmarks::getSupportedServiceNames(void) throw( RuntimeException )
 {
     Sequence< OUString > aRet(1);
@@ -1328,22 +1186,16 @@ Sequence< OUString > SwXBookmarks::getSupportedServiceNames(void) throw( 
Runtime
     pArray[0] = C2U("com.sun.star.text.Bookmarks");
     return aRet;
 }
-/*-- 14.01.99 09:05:48---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXBookmarks::SwXBookmarks(SwDoc*      pDoc) :
     SwUnoCollection(pDoc)
 {
 }
-/*-- 14.01.99 09:05:48---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXBookmarks::~SwXBookmarks()
 {
 }
-/*-- 14.01.99 09:05:49---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Int32 SwXBookmarks::getCount(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1351,9 +1203,7 @@ sal_Int32 SwXBookmarks::getCount(void) throw( uno::RuntimeException )
         throw uno::RuntimeException();
     return GetDoc()->GetBookmarkCnt(sal_True);
 }
-/*-- 14.01.99 09:05:49---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Any SwXBookmarks::getByIndex(sal_Int32 nIndex)
     throw( IndexOutOfBoundsException, WrappedTargetException, uno::RuntimeException )
 {
@@ -1374,9 +1224,7 @@ uno::Any SwXBookmarks::getByIndex(sal_Int32 nIndex)
         throw uno::RuntimeException();
     return aRet;
 }
-/*-- 14.01.99 09:05:49---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Any SwXBookmarks::getByName(const ::rtl::OUString& rName)
     throw( NoSuchElementException, WrappedTargetException, uno::RuntimeException )
 {
@@ -1404,9 +1252,7 @@ uno::Any SwXBookmarks::getByName(const ::rtl::OUString& rName)
         throw uno::RuntimeException();
     return aRet;
 }
-/*-- 14.01.99 09:05:49---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Sequence< OUString > SwXBookmarks::getElementNames(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1425,9 +1271,7 @@ uno::Sequence< OUString > SwXBookmarks::getElementNames(void) throw( 
uno::Runtim
     }
     return aSeq;
 }
-/*-- 14.01.99 09:05:49---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Bool SwXBookmarks::hasByName(const OUString& rName) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1450,16 +1294,12 @@ sal_Bool SwXBookmarks::hasByName(const OUString& rName) throw( 
uno::RuntimeExcep
         throw uno::RuntimeException();
     return bRet;
 }
-/*-- 14.01.99 09:05:50---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Type SAL_CALL SwXBookmarks::getElementType() throw(uno::RuntimeException)
 {
     return ::getCppuType((uno::Reference<XTextContent>*)0);
 }
-/*-- 14.01.99 09:05:50---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Bool SwXBookmarks::hasElements(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1467,9 +1307,7 @@ sal_Bool SwXBookmarks::hasElements(void) throw( uno::RuntimeException )
         throw uno::RuntimeException();
     return GetDoc()->GetBookmarkCnt(sal_True) != 0;
 }
-/*-- 14.01.99 09:05:50---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXBookmark*   SwXBookmarks::GetObject( SwBookmark& rBkm, SwDoc* pDoc )
 {
     SwXBookmark* pBkm = (SwXBookmark*)SwClientIter( rBkm ).
@@ -1478,26 +1316,20 @@ SwXBookmark*    SwXBookmarks::GetObject( SwBookmark& rBkm, SwDoc* pDoc )
         pBkm = new SwXBookmark(&rBkm, pDoc);
     return pBkm;
 }
+
 /******************************************************************
- *
+ * SwXFootnotes
  ******************************************************************/
-/* -----------------------------06.04.00 12:44--------------------------------
-
- ---------------------------------------------------------------------------*/
 OUString SwXFootnotes::getImplementationName(void) throw( RuntimeException )
 {
     return C2U("SwXFootnotes");
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 BOOL SwXFootnotes::supportsService(const OUString& rServiceName) throw( RuntimeException )
 {
     return C2U("com.sun.star.text.Footnotes") == rServiceName;
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 Sequence< OUString > SwXFootnotes::getSupportedServiceNames(void) throw( RuntimeException )
 {
     Sequence< OUString > aRet(1);
@@ -1505,23 +1337,17 @@ Sequence< OUString > SwXFootnotes::getSupportedServiceNames(void) throw( 
Runtime
     pArray[0] = C2U("com.sun.star.text.Footnotes");
     return aRet;
 }
-/*-- 14.01.99 09:03:52---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXFootnotes::SwXFootnotes(sal_Bool bEnd, SwDoc* pDoc) :
     SwUnoCollection(pDoc),
     bEndnote(bEnd)
 {
 }
-/*-- 14.01.99 09:03:52---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXFootnotes::~SwXFootnotes()
 {
 }
-/*-- 14.01.99 09:03:53---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Int32 SwXFootnotes::getCount(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1540,9 +1366,7 @@ sal_Int32 SwXFootnotes::getCount(void) throw( uno::RuntimeException )
     }
     return nCount;
 }
-/*-- 14.01.99 09:03:53---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Any SwXFootnotes::getByIndex(sal_Int32 nIndex)
     throw( IndexOutOfBoundsException, WrappedTargetException, uno::RuntimeException )
 {
@@ -1576,16 +1400,12 @@ uno::Any SwXFootnotes::getByIndex(sal_Int32 nIndex)
         throw uno::RuntimeException();
     return aRet;
 }
-/*-- 14.01.99 09:03:53---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Type SAL_CALL SwXFootnotes::getElementType() throw(uno::RuntimeException)
 {
     return ::getCppuType((uno::Reference<XFootnote>*)0);
 }
-/*-- 14.01.99 09:03:54---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Bool SwXFootnotes::hasElements(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1593,9 +1413,7 @@ sal_Bool SwXFootnotes::hasElements(void) throw( uno::RuntimeException )
         throw uno::RuntimeException();
     return GetDoc()->GetFtnIdxs().Count() > 0;
 }
-/* -----------------------------05.09.00 12:48--------------------------------
 
- ---------------------------------------------------------------------------*/
 Reference<XFootnote>   SwXFootnotes::GetObject( SwDoc& rDoc, const SwFmtFtn& rFmt )
 {
     Reference<XTextContent> xContent = ((SwUnoCallBack*)rDoc.GetUnoCallBack())->
@@ -1607,25 +1425,18 @@ Reference<XFootnote>    SwXFootnotes::GetObject( SwDoc& rDoc, const 
SwFmtFtn& rFmt
 }
 
 /******************************************************************
- *
+ * SwXReferenceMarks
  ******************************************************************/
-/* -----------------------------06.04.00 12:44--------------------------------
-
- ---------------------------------------------------------------------------*/
 OUString SwXReferenceMarks::getImplementationName(void) throw( RuntimeException )
 {
     return C2U("SwXReferenceMarks");
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 BOOL SwXReferenceMarks::supportsService(const OUString& rServiceName) throw( RuntimeException )
 {
     return C2U("com.sun.star.text.ReferenceMarks") == rServiceName;
 }
-/* -----------------------------06.04.00 12:44--------------------------------
 
- ---------------------------------------------------------------------------*/
 Sequence< OUString > SwXReferenceMarks::getSupportedServiceNames(void) throw( RuntimeException )
 {
     Sequence< OUString > aRet(1);
@@ -1633,22 +1444,16 @@ Sequence< OUString > SwXReferenceMarks::getSupportedServiceNames(void) 
throw( Ru
     pArray[0] = C2U("com.sun.star.text.ReferenceMarks");
     return aRet;
 }
-/*-- 14.01.99 09:03:16---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXReferenceMarks::SwXReferenceMarks(SwDoc* pDoc) :
     SwUnoCollection(pDoc)
 {
 }
-/*-- 14.01.99 09:03:16---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXReferenceMarks::~SwXReferenceMarks()
 {
 }
-/*-- 14.01.99 09:03:17---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Int32 SwXReferenceMarks::getCount(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1656,9 +1461,7 @@ sal_Int32 SwXReferenceMarks::getCount(void) throw( uno::RuntimeException )
         throw uno::RuntimeException();
     return GetDoc()->GetRefMarks();
 }
-/*-- 14.01.99 09:03:17---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Any SwXReferenceMarks::getByIndex(sal_Int32 nIndex)
     throw( IndexOutOfBoundsException, WrappedTargetException, uno::RuntimeException )
 {
@@ -1680,9 +1483,7 @@ uno::Any SwXReferenceMarks::getByIndex(sal_Int32 nIndex)
         throw IndexOutOfBoundsException();
     return aRet;
 }
-/*-- 14.01.99 09:03:17---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Any SwXReferenceMarks::getByName(const OUString& rName)
     throw( NoSuchElementException, WrappedTargetException, uno::RuntimeException )
 {
@@ -1703,9 +1504,7 @@ uno::Any SwXReferenceMarks::getByName(const OUString& rName)
         throw uno::RuntimeException();
     return aRet;
 }
-/*-- 14.01.99 09:03:17---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Sequence< OUString > SwXReferenceMarks::getElementNames(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1723,9 +1522,7 @@ uno::Sequence< OUString > SwXReferenceMarks::getElementNames(void) throw( 
uno::R
         throw uno::RuntimeException();
     return aRet;
 }
-/*-- 14.01.99 09:03:17---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Bool SwXReferenceMarks::hasByName(const OUString& rName) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1733,16 +1530,12 @@ sal_Bool SwXReferenceMarks::hasByName(const OUString& rName) throw( 
uno::Runtime
         throw uno::RuntimeException();
     return 0 != GetDoc()->GetRefMark( rName);
 }
-/*-- 14.01.99 09:03:18---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 uno::Type SAL_CALL SwXReferenceMarks::getElementType() throw(uno::RuntimeException)
 {
     return ::getCppuType((uno::Reference<XTextContent>*)0);
 }
-/*-- 14.01.99 09:03:18---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 sal_Bool SwXReferenceMarks::hasElements(void) throw( uno::RuntimeException )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1750,9 +1543,7 @@ sal_Bool SwXReferenceMarks::hasElements(void) throw( uno::RuntimeException )
         throw uno::RuntimeException();
     return 0 !=        GetDoc()->GetRefMarks();
 }
-/*-- 14.01.99 09:03:19---------------------------------------------------
 
-  -----------------------------------------------------------------------*/
 SwXReferenceMark* SwXReferenceMarks::GetObject( SwDoc* pDoc, const SwFmtRefMark* pMark )
 {
     vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1768,9 +1559,7 @@ SwXReferenceMark* SwXReferenceMarks::GetObject( SwDoc* pDoc, const 
SwFmtRefMark*
         pxMark = new SwXReferenceMark(pDoc, pMark);
     return pxMark;
 }
-/******************************************************************
- *
- ******************************************************************/
+
 /*-----------------11.03.98 11:18-------------------
     Gueltigkeitspruefung
 --------------------------------------------------*/
-- 
1.7.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.