[Libreoffice-commits] .: sw/source
Michael Meeks
mmeeks at kemper.freedesktop.org
Thu Oct 14 02:54:00 PDT 2010
sw/source/core/unocore/unocoll.cxx | 172 ---------------------------
sw/source/core/unocore/unoidx.cxx | 221 +----------------------------------
sw/source/core/unocore/unoobj.cxx | 230 -------------------------------------
sw/source/core/unocore/unoport.cxx | 104 ----------------
sw/source/core/unocore/unosett.cxx | 208 +--------------------------------
sw/source/core/unocore/unotext.cxx | 168 ---------------------------
6 files changed, 39 insertions(+), 1064 deletions(-)
New commits:
commit dd4140f60abf81c1d8addcc250e0eedb4d623376
Author: Prashant Shah <pshah.mumbai at gmail.com>
Date: Thu Oct 14 10:53:13 2010 +0100
remove bogus comments
diff --git a/sw/source/core/unocore/unocoll.cxx b/sw/source/core/unocore/unocoll.cxx
index 42f3c13..62d91a0 100644
--- a/sw/source/core/unocore/unocoll.cxx
+++ b/sw/source/core/unocore/unocoll.cxx
@@ -274,9 +274,6 @@ public:
};
-/******************************************************************************
- *
- ******************************************************************************/
struct ProvNamesId_Type
{
const char * pName;
@@ -461,9 +458,6 @@ const ProvNamesId_Type __FAR_DATA aProvNamesId[] =
{ CSS_TEXT_FIELDMASTER_BIBLIOGRAPHY, SW_SERVICE_FIELDMASTER_BIBLIOGRAPHY }
};
-/* -----------------------------23.03.01 13:38--------------------------------
-
- ---------------------------------------------------------------------------*/
const SvEventDescription* lcl_GetSupportedMacroItems()
{
static const SvEventDescription aMacroDescriptionsImpl[] =
@@ -479,9 +473,6 @@ const SvEventDescription* lcl_GetSupportedMacroItems()
/******************************************************************
* SwXServiceProvider
******************************************************************/
-/*-- 13.01.99 13:31:44---------------------------------------------------
-
- -----------------------------------------------------------------------*/
OUString SwXServiceProvider::GetProviderName(sal_uInt16 nObjectType)
{
vos::OGuard aGuard(Application::GetSolarMutex());
@@ -491,9 +482,7 @@ OUString SwXServiceProvider::GetProviderName(sal_uInt16 nObjectType)
sRet = C2U(aProvNamesId[nObjectType].pName);
return sRet;
}
-/* -----------------11.03.99 12:05-------------------
- *
- * --------------------------------------------------*/
+
uno::Sequence<OUString> SwXServiceProvider::GetAllServiceNames()
{
sal_uInt16 nEntries = SAL_N_ELEMENTS(aProvNamesId);
@@ -514,9 +503,6 @@ uno::Sequence<OUString> SwXServiceProvider::GetAllServiceNames()
}
-/*-- 13.01.99 13:31:45---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_uInt16 SwXServiceProvider::GetProviderType(const OUString& rServiceName)
{
sal_uInt16 nEntries = SAL_N_ELEMENTS(aProvNamesId);
@@ -527,9 +513,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());
@@ -853,29 +837,22 @@ 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());
@@ -884,9 +861,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 )
{
@@ -908,9 +883,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 )
{
@@ -939,9 +912,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 )
{
@@ -962,9 +933,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 )
{
@@ -988,18 +957,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());
@@ -1007,23 +972,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);
@@ -1031,9 +990,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());
@@ -1044,7 +1001,6 @@ XTextTable* SwXTextTables::GetObject( SwFrmFmt& rFmt )
return pTbl ;
}
-
/******************************************************************
* SwXFrameEnumeration
******************************************************************/
@@ -1365,23 +1321,16 @@ SwXFrame* SwXFrames::GetObject(SwFrmFmt& rFmt, FlyCntType eType)
/******************************************************************
* 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);
@@ -1389,16 +1338,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()
{
}
@@ -1407,24 +1352,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);
@@ -1432,16 +1369,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()
{
}
@@ -1449,23 +1382,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);
@@ -1473,41 +1399,28 @@ 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()
{
}
-/******************************************************************
- *
- ******************************************************************/
#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);
@@ -1515,22 +1428,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());
@@ -1545,9 +1452,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 )
{
@@ -1580,9 +1485,7 @@ uno::Any SwXTextSections::getByIndex(sal_Int32 nIndex)
throw uno::RuntimeException();
return makeAny(xRet);
}
-/*-- 14.01.99 09:06:06---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Any SwXTextSections::getByName(const OUString& Name)
throw( NoSuchElementException, WrappedTargetException, uno::RuntimeException )
{
@@ -1611,9 +1514,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 )
{
@@ -1646,9 +1547,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 )
{
@@ -1676,16 +1575,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());
@@ -1699,9 +1594,7 @@ sal_Bool SwXTextSections::hasElements(void) throw( uno::RuntimeException )
throw uno::RuntimeException();
return nCount > 0;
}
-/*-- 14.01.99 09:06:07---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< XTextSection > SwXTextSections::GetObject( SwSectionFmt& rFmt )
{
return SwXTextSection::CreateXTextSection(&rFmt);
@@ -1819,10 +1712,6 @@ sal_Bool SwXBookmarks::hasElements(void)
return GetDoc()->getIDocumentMarkAccess()->getBookmarksCount() != 0;
}
-/******************************************************************
- *
- ******************************************************************/
-
SwXNumberingRulesCollection::SwXNumberingRulesCollection( SwDoc* _pDoc ) :
SwUnoCollection(_pDoc)
{
@@ -1875,23 +1764,16 @@ sal_Bool SwXNumberingRulesCollection::hasElements(void) throw( uno::RuntimeExcep
return GetDoc()->GetNumRuleTbl().Count() > 0;
}
-/* -----------------------------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);
@@ -1899,23 +1781,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)
, m_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());
@@ -1934,9 +1810,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 )
{
@@ -1970,16 +1844,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());
@@ -1987,34 +1857,22 @@ 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 )
{
return SwXFootnote::CreateXFootnote(rDoc, rFmt);
}
-/******************************************************************
- *
- ******************************************************************/
-/* -----------------------------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);
@@ -2022,22 +1880,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());
@@ -2045,9 +1897,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 )
{
@@ -2069,9 +1919,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 )
{
@@ -2092,9 +1940,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());
@@ -2112,9 +1958,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());
@@ -2122,16 +1966,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());
@@ -2139,9 +1979,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());
@@ -2149,9 +1987,6 @@ SwXReferenceMark* SwXReferenceMarks::GetObject( SwDoc* pDoc, const SwFmtRefMark*
return SwXReferenceMark::CreateXReferenceMark(*pDoc, *pMark);
}
-/******************************************************************
- *
- ******************************************************************/
/*-----------------11.03.98 11:18-------------------
Gueltigkeitspruefung
--------------------------------------------------*/
@@ -2160,4 +1995,3 @@ void SwUnoCollection::Invalidate()
bObjectValid = sal_False;
pDoc = 0;
}
-
diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx
index 977b051..1aac551 100644
--- a/sw/source/core/unocore/unoidx.cxx
+++ b/sw/source/core/unocore/unoidx.cxx
@@ -76,7 +76,6 @@
using namespace ::com::sun::star;
using ::rtl::OUString;
-//-----------------------------------------------------------------------------
static OUString
lcl_AnyToString(uno::Any const& rVal) throw (lang::IllegalArgumentException)
{
@@ -87,7 +86,7 @@ lcl_AnyToString(uno::Any const& rVal) throw (lang::IllegalArgumentException)
}
return sRet;
}
-//-----------------------------------------------------------------------------
+
static sal_Int16
lcl_AnyToInt16(uno::Any const& rVal) throw (lang::IllegalArgumentException)
{
@@ -98,7 +97,7 @@ lcl_AnyToInt16(uno::Any const& rVal) throw (lang::IllegalArgumentException)
}
return nRet;
}
-//-----------------------------------------------------------------------------
+
static sal_Bool
lcl_AnyToBool(uno::Any const& rVal) throw (lang::IllegalArgumentException)
{
@@ -119,6 +118,7 @@ throw (lang::IllegalArgumentException)
? (rBitMask | nBit)
: (rBitMask & ~nBit);
}
+
static void
lcl_BitMaskToAny(uno::Any & o_rValue,
const sal_uInt16 nBitMask, const sal_uInt16 nBit)
@@ -127,7 +127,6 @@ lcl_BitMaskToAny(uno::Any & o_rValue,
o_rValue <<= bRet;
}
-//-----------------------------------------------------------------------------
static void
lcl_ReAssignTOXType(SwDoc* pDoc, SwTOXBase& rTOXBase, const OUString& rNewName)
{
@@ -150,7 +149,7 @@ lcl_ReAssignTOXType(SwDoc* pDoc, SwTOXBase& rTOXBase, const OUString& rNewName)
//has to be non-const-casted
((SwTOXType*)pNewType)->Add(&rTOXBase);
}
-//-----------------------------------------------------------------------------
+
static const char cUserDefined[] = "User-Defined";
static const char cUserSuffix[] = " (user)";
#define USER_LEN 12
@@ -171,7 +170,7 @@ void lcl_ConvertTOUNameToProgrammaticName(OUString& rTmp)
rTmp += C2U(cUserSuffix);
}
}
-//-----------------------------------------------------------------------------
+
static void
lcl_ConvertTOUNameToUserName(OUString& rTmp)
{
@@ -192,9 +191,6 @@ lcl_ConvertTOUNameToUserName(OUString& rTmp)
}
}
-/* -----------------13.09.99 16:39-------------------
-
- --------------------------------------------------*/
typedef ::cppu::WeakImplHelper2
< lang::XServiceInfo
, container::XIndexReplace
@@ -240,9 +236,6 @@ public:
};
-/* -----------------13.09.99 16:39-------------------
-
- --------------------------------------------------*/
typedef ::cppu::WeakImplHelper2
< lang::XServiceInfo
, container::XIndexReplace
@@ -289,14 +282,9 @@ public:
};
-
/******************************************************************
* SwXDocumentIndex
******************************************************************/
-
-/* -----------------20.06.98 11:06-------------------
- *
- * --------------------------------------------------*/
class SwDocIndexDescriptorProperties_Impl
{
private:
@@ -310,9 +298,7 @@ public:
const OUString& GetTypeName() const { return m_sUserTOXTypeName; }
void SetTypeName(const OUString& rSet) { m_sUserTOXTypeName = rSet; }
};
-/* -----------------20.06.98 11:41-------------------
- *
- * --------------------------------------------------*/
+
SwDocIndexDescriptorProperties_Impl::SwDocIndexDescriptorProperties_Impl(
SwTOXType const*const pType)
{
@@ -410,9 +396,6 @@ public:
};
-/*-- 14.12.98 09:35:07---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SwXDocumentIndex::Impl::Modify(SfxPoolItem *pOld, SfxPoolItem *pNew)
{
ClientModify(this, pOld, pNew);
@@ -423,26 +406,18 @@ void SwXDocumentIndex::Impl::Modify(SfxPoolItem *pOld, SfxPoolItem *pNew)
}
}
-/*-- 14.12.98 09:35:03---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXDocumentIndex::SwXDocumentIndex(
SwTOXBaseSection const& rBaseSection, SwDoc & rDoc)
: m_pImpl( new SwXDocumentIndex::Impl( *this,
rDoc, rBaseSection.SwTOXBase::GetType(), & rBaseSection) )
{
}
-/* -----------------15.01.99 14:59-------------------
- *
- * --------------------------------------------------*/
+
SwXDocumentIndex::SwXDocumentIndex(const TOXTypes eType, SwDoc& rDoc)
: m_pImpl( new SwXDocumentIndex::Impl( *this, rDoc, eType, 0) )
{
}
-/*-- 14.12.98 09:35:04---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXDocumentIndex::~SwXDocumentIndex()
{
}
@@ -465,17 +440,12 @@ SwXDocumentIndex::CreateXDocumentIndex(
return xIndex;
}
-/* -----------------------------10.03.00 18:02--------------------------------
-
- ---------------------------------------------------------------------------*/
const uno::Sequence< sal_Int8 > & SwXDocumentIndex::getUnoTunnelId()
{
static uno::Sequence< sal_Int8 > aSeq = ::CreateUnoTunnelId();
return aSeq;
}
-/* -----------------------------10.03.00 18:04--------------------------------
- ---------------------------------------------------------------------------*/
sal_Int64 SAL_CALL
SwXDocumentIndex::getSomething(const uno::Sequence< sal_Int8 >& rId)
throw (uno::RuntimeException)
@@ -483,17 +453,12 @@ throw (uno::RuntimeException)
return ::sw::UnoTunnelImpl<SwXDocumentIndex>(rId, this);
}
-/* -----------------------------06.04.00 15:01--------------------------------
-
- ---------------------------------------------------------------------------*/
OUString SAL_CALL
SwXDocumentIndex::getImplementationName() throw (uno::RuntimeException)
{
return C2U("SwXDocumentIndex");
}
-/* -----------------------------06.04.00 15:01--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXDocumentIndex::supportsService(const OUString& rServiceName)
throw (uno::RuntimeException)
@@ -516,9 +481,7 @@ throw (uno::RuntimeException)
|| ((TOX_AUTHORITIES == m_pImpl->m_eTOXType) &&
rServiceName.equalsAscii("com.sun.star.text.Bibliography"));
}
-/* -----------------------------06.04.00 15:01--------------------------------
- ---------------------------------------------------------------------------*/
uno::Sequence< OUString > SAL_CALL
SwXDocumentIndex::getSupportedServiceNames() throw (uno::RuntimeException)
{
@@ -554,9 +517,6 @@ SwXDocumentIndex::getSupportedServiceNames() throw (uno::RuntimeException)
return aRet;
}
-/*-- 14.12.98 09:35:05---------------------------------------------------
-
- -----------------------------------------------------------------------*/
OUString SAL_CALL SwXDocumentIndex::getServiceName()
throw (uno::RuntimeException)
{
@@ -584,9 +544,6 @@ throw (uno::RuntimeException)
return SwXServiceProvider::GetProviderName(nObjectType);
}
-/*-- 14.12.98 09:35:05---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL SwXDocumentIndex::update() throw (uno::RuntimeException)
{
vos::OGuard aGuard(Application::GetSolarMutex());
@@ -603,9 +560,6 @@ void SAL_CALL SwXDocumentIndex::update() throw (uno::RuntimeException)
pTOXBase->UpdatePageNum();
}
-/*-- 14.12.98 09:35:05---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Reference< beans::XPropertySetInfo > SAL_CALL
SwXDocumentIndex::getPropertySetInfo() throw (uno::RuntimeException)
{
@@ -616,9 +570,6 @@ SwXDocumentIndex::getPropertySetInfo() throw (uno::RuntimeException)
return xRef;
}
-/*-- 14.12.98 09:35:05---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXDocumentIndex::setPropertyValue(
const OUString& rPropertyName, const uno::Any& rValue)
@@ -936,9 +887,6 @@ throw (beans::UnknownPropertyException, beans::PropertyVetoException,
}
}
-/*-- 14.12.98 09:35:05---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Any SAL_CALL
SwXDocumentIndex::getPropertyValue(const OUString& rPropertyName)
throw (beans::UnknownPropertyException, lang::WrappedTargetException,
@@ -1287,9 +1235,6 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
return aRet;
}
-/*-- 14.12.98 09:35:06---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXDocumentIndex::addPropertyChangeListener(
const ::rtl::OUString& /*rPropertyName*/,
@@ -1334,9 +1279,6 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
"SwXDocumentIndex::removeVetoableChangeListener(): not implemented");
}
-/* -----------------18.02.99 13:39-------------------
- *
- * --------------------------------------------------*/
void SAL_CALL
SwXDocumentIndex::attach(const uno::Reference< text::XTextRange > & xTextRange)
throw (lang::IllegalArgumentException, uno::RuntimeException)
@@ -1399,9 +1341,6 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
m_pImpl->m_bIsDescriptor = sal_False;
}
-/*-- 15.01.99 14:23:56---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Reference< text::XTextRange > SAL_CALL
SwXDocumentIndex::getAnchor() throw (uno::RuntimeException)
{
@@ -1428,9 +1367,6 @@ SwXDocumentIndex::getAnchor() throw (uno::RuntimeException)
return xRet;
}
-/*-- 15.01.99 15:46:48---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void lcl_RemoveChildSections(SwSectionFmt& rParentFmt)
{
SwSections aTmpArr;
@@ -1463,9 +1399,6 @@ void SAL_CALL SwXDocumentIndex::dispose() throw (uno::RuntimeException)
}
}
-/*-- 15.01.99 15:46:49---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXDocumentIndex::addEventListener(
const uno::Reference< lang::XEventListener > & xListener)
@@ -1479,9 +1412,7 @@ throw (uno::RuntimeException)
}
m_pImpl->m_ListenerContainer.AddListener(xListener);
}
-/*-- 15.01.99 15:46:54---------------------------------------------------
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXDocumentIndex::removeEventListener(
const uno::Reference< lang::XEventListener > & xListener)
@@ -1496,9 +1427,6 @@ throw (uno::RuntimeException)
}
}
-/* -----------------30.07.99 11:28-------------------
-
- --------------------------------------------------*/
OUString SAL_CALL SwXDocumentIndex::getName() throw (uno::RuntimeException)
{
vos::OGuard g(Application::GetSolarMutex());
@@ -1519,9 +1447,7 @@ OUString SAL_CALL SwXDocumentIndex::getName() throw (uno::RuntimeException)
}
return uRet;
}
-/* -----------------30.07.99 11:28-------------------
- --------------------------------------------------*/
void SAL_CALL
SwXDocumentIndex::setName(const OUString& rName) throw (uno::RuntimeException)
{
@@ -1574,9 +1500,6 @@ uno::Reference<frame::XModel> SwXDocumentIndex::GetModel()
/******************************************************************
* SwXDocumentIndexMark
******************************************************************/
-/* -----------------21.04.99 09:36-------------------
- *
- * --------------------------------------------------*/
static sal_uInt16
lcl_TypeToPropertyMap_Mark(const TOXTypes eType)
{
@@ -1671,9 +1594,6 @@ public:
virtual void Modify(SfxPoolItem *pOld, SfxPoolItem *pNew);
};
-/* -----------------------------16.10.00 11:24--------------------------------
-
- ---------------------------------------------------------------------------*/
void SwXDocumentIndexMark::Impl::Invalidate()
{
if (GetRegisteredIn())
@@ -1693,9 +1613,6 @@ void SwXDocumentIndexMark::Impl::Invalidate()
m_pTOXMark = 0;
}
-/*-- 14.12.98 10:25:47---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SwXDocumentIndexMark::Impl::Modify(SfxPoolItem *pOld, SfxPoolItem *pNew)
{
ClientModify(this, pOld, pNew);
@@ -1706,25 +1623,18 @@ void SwXDocumentIndexMark::Impl::Modify(SfxPoolItem *pOld, SfxPoolItem *pNew)
}
}
-/*-- 14.12.98 10:25:43---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXDocumentIndexMark::SwXDocumentIndexMark(const TOXTypes eToxType)
: m_pImpl( new SwXDocumentIndexMark::Impl(*this, 0, eToxType, 0, 0) )
{
}
-/*-- 14.12.98 10:25:44---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXDocumentIndexMark::SwXDocumentIndexMark(SwDoc & rDoc,
SwTOXType & rType, SwTOXMark & rMark)
: m_pImpl( new SwXDocumentIndexMark::Impl(*this, &rDoc, rType.GetType(),
&rType, &rMark) )
{
}
-/*-- 14.12.98 10:25:44---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXDocumentIndexMark::~SwXDocumentIndexMark()
{
}
@@ -1747,17 +1657,12 @@ SwXDocumentIndexMark::CreateXDocumentIndexMark(
return xTOXMark;
}
-/* -----------------------------10.03.00 18:02--------------------------------
-
- ---------------------------------------------------------------------------*/
const uno::Sequence< sal_Int8 > & SwXDocumentIndexMark::getUnoTunnelId()
{
static uno::Sequence< sal_Int8 > aSeq = ::CreateUnoTunnelId();
return aSeq;
}
-/* -----------------------------10.03.00 18:04--------------------------------
- ---------------------------------------------------------------------------*/
sal_Int64 SAL_CALL
SwXDocumentIndexMark::getSomething(const uno::Sequence< sal_Int8 >& rId)
throw (uno::RuntimeException)
@@ -1772,17 +1677,12 @@ static const sal_Char cIdxMarkAsian[] = "com.sun.star.text.DocumentIndexMarkAsi
static const sal_Char cUserMark[] = "com.sun.star.text.UserIndexMark";
static const sal_Char cTextContent[] = "com.sun.star.text.TextContent";
-/* -----------------------------06.04.00 15:07--------------------------------
-
- ---------------------------------------------------------------------------*/
OUString SAL_CALL
SwXDocumentIndexMark::getImplementationName() throw (uno::RuntimeException)
{
return C2U("SwXDocumentIndexMark");
}
-/* -----------------------------06.04.00 15:07--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXDocumentIndexMark::supportsService(const OUString& rServiceName)
throw (uno::RuntimeException)
@@ -1800,9 +1700,7 @@ throw (uno::RuntimeException)
|| ((m_pImpl->m_eTOXType == TOX_INDEX)
&& rServiceName.equalsAscii(cIdxMarkAsian));
}
-/* -----------------------------06.04.00 15:07--------------------------------
- ---------------------------------------------------------------------------*/
uno::Sequence< OUString > SAL_CALL
SwXDocumentIndexMark::getSupportedServiceNames() throw (uno::RuntimeException)
{
@@ -1832,9 +1730,6 @@ SwXDocumentIndexMark::getSupportedServiceNames() throw (uno::RuntimeException)
return aRet;
}
-/*-- 14.12.98 10:25:45---------------------------------------------------
-
- -----------------------------------------------------------------------*/
OUString SAL_CALL
SwXDocumentIndexMark::getMarkEntry() throw (uno::RuntimeException)
{
@@ -1856,9 +1751,7 @@ SwXDocumentIndexMark::getMarkEntry() throw (uno::RuntimeException)
}
return sRet;
}
-/*-- 14.12.98 10:25:45---------------------------------------------------
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXDocumentIndexMark::setMarkEntry(const OUString& rIndexEntry)
throw (uno::RuntimeException)
@@ -1893,9 +1786,6 @@ throw (uno::RuntimeException)
}
}
-/* -----------------18.02.99 13:40-------------------
- *
- * --------------------------------------------------*/
void SAL_CALL
SwXDocumentIndexMark::attach(
const uno::Reference< text::XTextRange > & xTextRange)
@@ -2105,9 +1995,6 @@ void SwXDocumentIndexMark::Impl::InsertTOXMark(
const_cast<SwTOXType &>(rTOXType).Add(& m_TypeDepend);
}
-/*-- 14.12.98 10:25:45---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Reference< text::XTextRange > SAL_CALL
SwXDocumentIndexMark::getAnchor() throw (uno::RuntimeException)
{
@@ -2142,9 +2029,6 @@ SwXDocumentIndexMark::getAnchor() throw (uno::RuntimeException)
return xRet;
}
-/*-- 14.12.98 10:25:45---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXDocumentIndexMark::dispose() throw (uno::RuntimeException)
{
@@ -2156,9 +2040,7 @@ SwXDocumentIndexMark::dispose() throw (uno::RuntimeException)
m_pImpl->DeleteTOXMark(); // call Invalidate() via modify!
}
}
-/*-- 14.12.98 10:25:45---------------------------------------------------
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXDocumentIndexMark::addEventListener(
const uno::Reference< lang::XEventListener > & xListener)
@@ -2172,9 +2054,7 @@ throw (uno::RuntimeException)
}
m_pImpl->m_ListenerContainer.AddListener(xListener);
}
-/*-- 14.12.98 10:25:46---------------------------------------------------
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXDocumentIndexMark::removeEventListener(
const uno::Reference< lang::XEventListener > & xListener)
@@ -2189,9 +2069,6 @@ throw (uno::RuntimeException)
}
}
-/*-- 14.12.98 10:25:46---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Reference< beans::XPropertySetInfo > SAL_CALL
SwXDocumentIndexMark::getPropertySetInfo() throw (uno::RuntimeException)
{
@@ -2221,9 +2098,6 @@ SwXDocumentIndexMark::getPropertySetInfo() throw (uno::RuntimeException)
return xInfos[nPos];
}
-/*-- 14.12.98 10:25:46---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXDocumentIndexMark::setPropertyValue(
const OUString& rPropertyName, const uno::Any& rValue)
@@ -2350,9 +2224,6 @@ throw (beans::UnknownPropertyException, beans::PropertyVetoException,
}
}
-/*-- 14.12.98 10:25:46---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Any SAL_CALL
SwXDocumentIndexMark::getPropertyValue(const OUString& rPropertyName)
throw (beans::UnknownPropertyException, lang::WrappedTargetException,
@@ -2460,9 +2331,6 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
return aRet;
}
-/*-- 14.12.98 10:25:46---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXDocumentIndexMark::addPropertyChangeListener(
const ::rtl::OUString& /*rPropertyName*/,
@@ -2507,27 +2375,18 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
"SwXDocumentIndexMark::removeVetoableChangeListener(): not implemented");
}
-
/******************************************************************
* SwXDocumentIndexes
******************************************************************/
-/*-- 05.05.99 13:14:59---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXDocumentIndexes::SwXDocumentIndexes(SwDoc *const _pDoc)
: SwUnoCollection(_pDoc)
{
}
-/*-- 05.05.99 13:15:00---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXDocumentIndexes::~SwXDocumentIndexes()
{
}
-/* -----------------------------06.04.00 15:08--------------------------------
-
- ---------------------------------------------------------------------------*/
OUString SAL_CALL
SwXDocumentIndexes::getImplementationName() throw (uno::RuntimeException)
{
@@ -2538,6 +2397,7 @@ static char const*const g_ServicesDocumentIndexes[] =
{
"com.sun.star.text.DocumentIndexes",
};
+
static const size_t g_nServicesDocumentIndexes(
SAL_N_ELEMENTS(g_ServicesDocumentIndexes));
@@ -2556,9 +2416,6 @@ SwXDocumentIndexes::getSupportedServiceNames() throw (uno::RuntimeException)
g_nServicesDocumentIndexes, g_ServicesDocumentIndexes);
}
-/*-- 05.05.99 13:15:01---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Int32 SAL_CALL
SwXDocumentIndexes::getCount() throw (uno::RuntimeException)
{
@@ -2581,9 +2438,6 @@ SwXDocumentIndexes::getCount() throw (uno::RuntimeException)
return nRet;
}
-/*-- 05.05.99 13:15:01---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Any SAL_CALL
SwXDocumentIndexes::getByIndex(sal_Int32 nIndex)
throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException,
@@ -2616,9 +2470,6 @@ throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException,
throw lang::IndexOutOfBoundsException();
}
-/*-- 31.01.00 10:12:31---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Any SAL_CALL
SwXDocumentIndexes::getByName(const OUString& rName)
throw (container::NoSuchElementException, lang::WrappedTargetException,
@@ -2650,9 +2501,6 @@ throw (container::NoSuchElementException, lang::WrappedTargetException,
throw container::NoSuchElementException();
}
-/*-- 31.01.00 10:12:31---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Sequence< OUString > SAL_CALL
SwXDocumentIndexes::getElementNames() throw (uno::RuntimeException)
{
@@ -2690,9 +2538,6 @@ SwXDocumentIndexes::getElementNames() throw (uno::RuntimeException)
return aRet;
}
-/*-- 31.01.00 10:12:31---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXDocumentIndexes::hasByName(const OUString& rName)
throw (uno::RuntimeException)
@@ -2720,17 +2565,12 @@ throw (uno::RuntimeException)
return sal_False;
}
-/*-- 05.05.99 13:15:01---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Type SAL_CALL
SwXDocumentIndexes::getElementType() throw (uno::RuntimeException)
{
return text::XDocumentIndex::static_type();
}
-/*-- 05.05.99 13:15:02---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXDocumentIndexes::hasElements() throw (uno::RuntimeException)
{
@@ -2740,25 +2580,16 @@ SwXDocumentIndexes::hasElements() throw (uno::RuntimeException)
/******************************************************************
* SwXDocumentIndex::StyleAccess_Impl
******************************************************************/
-
-/*-- 13.09.99 16:52:28---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXDocumentIndex::StyleAccess_Impl::StyleAccess_Impl(
SwXDocumentIndex& rParentIdx)
: m_xParent(&rParentIdx)
{
}
-/*-- 13.09.99 16:52:29---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXDocumentIndex::StyleAccess_Impl::~StyleAccess_Impl()
{
}
-/* -----------------------------06.04.00 15:08--------------------------------
-
- ---------------------------------------------------------------------------*/
OUString SAL_CALL
SwXDocumentIndex::StyleAccess_Impl::getImplementationName()
throw (uno::RuntimeException)
@@ -2770,6 +2601,7 @@ static char const*const g_ServicesIndexStyleAccess[] =
{
"com.sun.star.text.DocumentIndexParagraphStyles",
};
+
static const size_t g_nServicesIndexStyleAccess(
SAL_N_ELEMENTS(g_ServicesIndexStyleAccess));
@@ -2790,9 +2622,6 @@ throw (uno::RuntimeException)
g_nServicesIndexStyleAccess, g_ServicesIndexStyleAccess);
}
-/*-- 13.09.99 16:52:29---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXDocumentIndex::StyleAccess_Impl::replaceByIndex(
sal_Int32 nIndex, const uno::Any& rElement)
@@ -2830,17 +2659,13 @@ throw (lang::IllegalArgumentException, lang::IndexOutOfBoundsException,
}
rTOXBase.SetStyleNames(sSetStyles, static_cast<sal_uInt16>(nIndex));
}
-/*-- 13.09.99 16:52:29---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Int32 SAL_CALL
SwXDocumentIndex::StyleAccess_Impl::getCount() throw (uno::RuntimeException)
{
return MAXLEVEL;
}
-/*-- 13.09.99 16:52:30---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Any SAL_CALL
SwXDocumentIndex::StyleAccess_Impl::getByIndex(sal_Int32 nIndex)
throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException,
@@ -2873,18 +2698,14 @@ throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException,
uno::Any aRet(&aStyles, ::getCppuType((uno::Sequence<OUString>*)0));
return aRet;
}
-/*-- 13.09.99 16:52:30---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Type SAL_CALL
SwXDocumentIndex::StyleAccess_Impl::getElementType()
throw (uno::RuntimeException)
{
return ::getCppuType((uno::Sequence<OUString>*)0);
}
-/*-- 13.09.99 16:52:30---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXDocumentIndex::StyleAccess_Impl::hasElements() throw (uno::RuntimeException)
{
@@ -2894,24 +2715,16 @@ SwXDocumentIndex::StyleAccess_Impl::hasElements() throw (uno::RuntimeException)
/******************************************************************
* SwXDocumentIndex::TokenAccess_Impl
******************************************************************/
-/*-- 13.09.99 16:52:28---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXDocumentIndex::TokenAccess_Impl::TokenAccess_Impl(
SwXDocumentIndex& rParentIdx)
: m_xParent(&rParentIdx)
{
}
-/*-- 13.09.99 16:52:29---------------------------------------------------
- -----------------------------------------------------------------------*/
SwXDocumentIndex::TokenAccess_Impl::~TokenAccess_Impl()
{
}
-/* -----------------------------06.04.00 15:08--------------------------------
-
- ---------------------------------------------------------------------------*/
OUString SAL_CALL
SwXDocumentIndex::TokenAccess_Impl::getImplementationName()
throw (uno::RuntimeException)
@@ -2923,6 +2736,7 @@ static char const*const g_ServicesIndexTokenAccess[] =
{
"com.sun.star.text.DocumentIndexLevelFormat",
};
+
static const size_t g_nServicesIndexTokenAccess(
SAL_N_ELEMENTS(g_ServicesIndexTokenAccess));
@@ -2962,9 +2776,6 @@ static const struct TokenType g_TokenTypes[] =
{ 0, static_cast<enum FormTokenType>(0) }
};
-/*-- 13.09.99 16:52:29---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(
sal_Int32 nIndex, const uno::Any& rElement)
@@ -3159,9 +2970,6 @@ throw (lang::IllegalArgumentException, lang::IndexOutOfBoundsException,
rTOXBase.SetTOXForm(aForm);
}
-/*-- 13.09.99 16:52:29---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Int32 SAL_CALL
SwXDocumentIndex::TokenAccess_Impl::getCount() throw (uno::RuntimeException)
{
@@ -3171,9 +2979,6 @@ SwXDocumentIndex::TokenAccess_Impl::getCount() throw (uno::RuntimeException)
return nRet;
}
-/*-- 13.09.99 16:52:30---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Any SAL_CALL
SwXDocumentIndex::TokenAccess_Impl::getByIndex(sal_Int32 nIndex)
throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException,
@@ -3430,22 +3235,16 @@ throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException,
return aRet;
}
-/*-- 13.09.99 16:52:30---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Type SAL_CALL
SwXDocumentIndex::TokenAccess_Impl::getElementType()
throw (uno::RuntimeException)
{
return ::getCppuType((uno::Sequence< beans::PropertyValues >*)0);
}
-/*-- 13.09.99 16:52:30---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXDocumentIndex::TokenAccess_Impl::hasElements()
throw (uno::RuntimeException)
{
return sal_True;
}
-
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index 8d404a5..a2f31a2 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -128,7 +128,6 @@ using namespace ::com::sun::star;
using ::rtl::OUString;
using ::rtl::OUStringBuffer;
-
/****************************************************************************
static methods
****************************************************************************/
@@ -140,17 +139,15 @@ uno::Sequence< sal_Int8 > CreateUnoTunnelId()
rtl_createUuid( (sal_uInt8*)aSeq.getArray(), 0, sal_True );
return aSeq;
}
+
/****************************************************************************
Hilfsklassen
****************************************************************************/
-
-/* -----------------13.05.98 12:15-------------------
- *
- * --------------------------------------------------*/
SwUnoInternalPaM::SwUnoInternalPaM(SwDoc& rDoc) :
SwPaM(rDoc.GetNodes())
{
}
+
SwUnoInternalPaM::~SwUnoInternalPaM()
{
while( GetNext() != this)
@@ -180,9 +177,6 @@ SwUnoInternalPaM& SwUnoInternalPaM::operator=(const SwPaM& rPaM)
return *this;
}
-/*-----------------09.03.98 08:29-------------------
-
---------------------------------------------------*/
void SwUnoCursorHelper::SelectPam(SwPaM & rPam, const bool bExpand)
{
if (bExpand)
@@ -198,9 +192,6 @@ void SwUnoCursorHelper::SelectPam(SwPaM & rPam, const bool bExpand)
}
}
-/* -----------------20.05.98 14:59-------------------
- *
- * --------------------------------------------------*/
void SwUnoCursorHelper::GetTextFromPam(SwPaM & rPam, OUString & rBuffer)
{
if (!rPam.HasMark())
@@ -266,9 +257,6 @@ void SwUnoCursorHelper::GetTextFromPam(SwPaM & rPam, OUString & rBuffer)
}
}
-/* -----------------06.07.98 07:33-------------------
- *
- * --------------------------------------------------*/
static void
lcl_setCharStyle(SwDoc *const pDoc, const uno::Any & rValue, SfxItemSet & rSet)
throw (lang::IllegalArgumentException)
@@ -294,9 +282,7 @@ throw (lang::IllegalArgumentException)
rSet.Put(aFmt);
}
};
-/* -----------------08.06.06 10:43-------------------
- *
- * --------------------------------------------------*/
+
static void
lcl_setAutoStyle(IStyleAccess & rStyleAccess, const uno::Any & rValue,
SfxItemSet & rSet, const bool bPara)
@@ -323,9 +309,7 @@ throw (lang::IllegalArgumentException)
throw lang::IllegalArgumentException();
}
};
-/* -----------------30.06.98 08:46-------------------
- *
- * --------------------------------------------------*/
+
void
SwUnoCursorHelper::SetTxtFmtColl(const uno::Any & rAny, SwPaM & rPaM)
throw (lang::IllegalArgumentException)
@@ -357,9 +341,6 @@ throw (lang::IllegalArgumentException)
pDoc->EndUndo( UNDO_END, NULL );
}
-/* -----------------06.07.98 07:38-------------------
- *
- * --------------------------------------------------*/
bool
SwUnoCursorHelper::SetPageDesc(
const uno::Any& rValue, SwDoc & rDoc, SfxItemSet & rSet)
@@ -411,9 +392,6 @@ SwUnoCursorHelper::SetPageDesc(
return true;
}
-/* -----------------30.06.98 10:29-------------------
- *
- * --------------------------------------------------*/
static void
lcl_SetNodeNumStart(SwPaM & rCrsr, uno::Any const& rValue)
{
@@ -544,9 +522,6 @@ lcl_setRubyCharstyle(SfxItemSet & rItemSet, uno::Any const& rValue)
rItemSet.Put(*pRuby);
}
-/* -----------------17.09.98 09:44-------------------
- *
- * --------------------------------------------------*/
bool
SwUnoCursorHelper::SetCursorPropertyValue(
SfxItemPropertySimpleEntry const& rEntry, const uno::Any& rValue,
@@ -684,9 +659,6 @@ throw (lang::IllegalArgumentException)
return bRet;
}
-/* -----------------30.06.98 08:39-------------------
- *
- * --------------------------------------------------*/
SwFmtColl *
SwUnoCursorHelper::GetCurTxtFmtColl(SwPaM & rPaM, const bool bConditional)
{
@@ -771,7 +743,6 @@ SwPageDesc* GetPageDescByName_Impl(SwDoc& rDoc, const String& rName)
/******************************************************************
* SwXTextCursor
******************************************************************/
-
class SwXTextCursor::Impl
: public SwClient
{
@@ -844,7 +815,6 @@ void SwXTextCursor::Impl::Modify(SfxPoolItem *pOld, SfxPoolItem *pNew)
}
}
-
SwUnoCrsr const* SwXTextCursor::GetCursor() const
{
return m_pImpl->GetCursor();
@@ -855,9 +825,6 @@ SwUnoCrsr * SwXTextCursor::GetCursor()
return m_pImpl->GetCursor();
}
-/*-- 09.12.98 14:19:01---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwPaM const* SwXTextCursor::GetPaM() const
{
return m_pImpl->GetCursor();
@@ -868,25 +835,16 @@ SwPaM * SwXTextCursor::GetPaM()
return m_pImpl->GetCursor();
}
-/*-- 09.12.98 14:19:02---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwDoc const* SwXTextCursor::GetDoc() const
{
return m_pImpl->GetCursor() ? m_pImpl->GetCursor()->GetDoc() : 0;
}
-/* -----------------22.07.99 13:52-------------------
- --------------------------------------------------*/
SwDoc * SwXTextCursor::GetDoc()
{
return m_pImpl->GetCursor() ? m_pImpl->GetCursor()->GetDoc() : 0;
}
-
-/*-- 09.12.98 14:19:19---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXTextCursor::SwXTextCursor(
SwDoc & rDoc,
uno::Reference< text::XText > const& xParent,
@@ -898,9 +856,6 @@ SwXTextCursor::SwXTextCursor(
{
}
-/* -----------------04.03.99 09:02-------------------
- *
- * --------------------------------------------------*/
SwXTextCursor::SwXTextCursor(uno::Reference< text::XText > const& xParent,
SwPaM const& rSourceCursor, const enum CursorType eType)
: m_pImpl( new SwXTextCursor::Impl(*this, *rSourceCursor.GetDoc(), eType,
@@ -909,16 +864,10 @@ SwXTextCursor::SwXTextCursor(uno::Reference< text::XText > const& xParent,
{
}
-/*-- 09.12.98 14:19:20---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXTextCursor::~SwXTextCursor()
{
}
-/*-- 09.12.98 14:19:18---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SwXTextCursor::DeleteAndInsert(const ::rtl::OUString& rText,
const bool bForceExpandHints)
{
@@ -955,7 +904,6 @@ void SwXTextCursor::DeleteAndInsert(const ::rtl::OUString& rText,
}
}
-
enum ForceIntoMetaMode { META_CHECK_BOTH, META_INIT_START, META_INIT_END };
static sal_Bool
@@ -1032,17 +980,11 @@ bool SwXTextCursor::IsAtEndOfMeta() const
return false;
}
-/*-- 09.12.98 14:19:19---------------------------------------------------
-
- -----------------------------------------------------------------------*/
OUString SwXTextCursor::getImplementationName() throw (uno::RuntimeException)
{
return C2U("SwXTextCursor");
}
-/*-- 09.12.98 14:19:19---------------------------------------------------
-
- -----------------------------------------------------------------------*/
static char const*const g_ServicesTextCursor[] =
{
"com.sun.star.text.TextCursor",
@@ -1054,6 +996,7 @@ static char const*const g_ServicesTextCursor[] =
"com.sun.star.style.ParagraphPropertiesComplex",
"com.sun.star.text.TextSortable",
};
+
static const size_t g_nServicesTextCursor(
SAL_N_ELEMENTS(g_ServicesTextCursor));
@@ -1071,17 +1014,12 @@ SwXTextCursor::getSupportedServiceNames() throw (uno::RuntimeException)
g_nServicesTextCursor, g_ServicesTextCursor);
}
-/* -----------------------------10.03.00 18:02--------------------------------
-
- ---------------------------------------------------------------------------*/
const uno::Sequence< sal_Int8 > & SwXTextCursor::getUnoTunnelId()
{
static uno::Sequence< sal_Int8 > aSeq = ::CreateUnoTunnelId();
return aSeq;
}
-/* -----------------------------10.03.00 18:04--------------------------------
- ---------------------------------------------------------------------------*/
sal_Int64 SAL_CALL
SwXTextCursor::getSomething(const uno::Sequence< sal_Int8 >& rId)
throw (uno::RuntimeException)
@@ -1090,9 +1028,6 @@ throw (uno::RuntimeException)
return (nRet) ? nRet : OTextCursorHelper::getSomething(rId);
}
-/*-- 09.12.98 14:18:12---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL SwXTextCursor::collapseToStart() throw (uno::RuntimeException)
{
vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1108,9 +1043,7 @@ void SAL_CALL SwXTextCursor::collapseToStart() throw (uno::RuntimeException)
rUnoCursor.DeleteMark();
}
}
-/*-- 09.12.98 14:18:14---------------------------------------------------
- -----------------------------------------------------------------------*/
void SAL_CALL SwXTextCursor::collapseToEnd() throw (uno::RuntimeException)
{
vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1126,9 +1059,7 @@ void SAL_CALL SwXTextCursor::collapseToEnd() throw (uno::RuntimeException)
rUnoCursor.DeleteMark();
}
}
-/*-- 09.12.98 14:18:41---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL SwXTextCursor::isCollapsed() throw (uno::RuntimeException)
{
vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1142,9 +1073,6 @@ sal_Bool SAL_CALL SwXTextCursor::isCollapsed() throw (uno::RuntimeException)
return bRet;
}
-/*-- 09.12.98 14:18:42---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::goLeft(sal_Int16 nCount, sal_Bool Expand)
throw (uno::RuntimeException)
@@ -1163,9 +1091,7 @@ throw (uno::RuntimeException)
}
return bRet;
}
-/*-- 09.12.98 14:18:42---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::goRight(sal_Int16 nCount, sal_Bool Expand)
throw (uno::RuntimeException)
@@ -1185,9 +1111,6 @@ throw (uno::RuntimeException)
return bRet;
}
-/*-- 09.12.98 14:18:43---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXTextCursor::gotoStart(sal_Bool Expand) throw (uno::RuntimeException)
{
@@ -1243,9 +1166,7 @@ SwXTextCursor::gotoStart(sal_Bool Expand) throw (uno::RuntimeException)
lcl_ForceIntoMeta(rUnoCursor, m_pImpl->m_xParentText, META_INIT_START);
}
}
-/*-- 09.12.98 14:18:43---------------------------------------------------
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXTextCursor::gotoEnd(sal_Bool Expand) throw (uno::RuntimeException)
{
@@ -1400,9 +1321,6 @@ throw (uno::RuntimeException)
}
}
-/*-- 09.12.98 14:18:44---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL SwXTextCursor::isStartOfWord() throw (uno::RuntimeException)
{
vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1413,9 +1331,7 @@ sal_Bool SAL_CALL SwXTextCursor::isStartOfWord() throw (uno::RuntimeException)
rUnoCursor.IsStartWordWT( i18n::WordType::DICTIONARY_WORD );
return bRet;
}
-/*-- 09.12.98 14:18:44---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL SwXTextCursor::isEndOfWord() throw (uno::RuntimeException)
{
vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1427,9 +1343,6 @@ sal_Bool SAL_CALL SwXTextCursor::isEndOfWord() throw (uno::RuntimeException)
return bRet;
}
-/*-- 09.12.98 14:18:44---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::gotoNextWord(sal_Bool Expand) throw (uno::RuntimeException)
{
@@ -1477,9 +1390,6 @@ SwXTextCursor::gotoNextWord(sal_Bool Expand) throw (uno::RuntimeException)
return bRet;
}
-/*-- 09.12.98 14:18:45---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::gotoPreviousWord(sal_Bool Expand) throw (uno::RuntimeException)
{
@@ -1520,9 +1430,6 @@ SwXTextCursor::gotoPreviousWord(sal_Bool Expand) throw (uno::RuntimeException)
return bRet;
}
-/*-- 09.12.98 14:18:45---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::gotoEndOfWord(sal_Bool Expand) throw (uno::RuntimeException)
{
@@ -1558,9 +1465,7 @@ SwXTextCursor::gotoEndOfWord(sal_Bool Expand) throw (uno::RuntimeException)
return bRet;
}
-/*-- 09.12.98 14:18:46---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::gotoStartOfWord(sal_Bool Expand) throw (uno::RuntimeException)
{
@@ -1597,9 +1502,6 @@ SwXTextCursor::gotoStartOfWord(sal_Bool Expand) throw (uno::RuntimeException)
return bRet;
}
-/*-- 09.12.98 14:18:46---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::isStartOfSentence() throw (uno::RuntimeException)
{
@@ -1622,9 +1524,7 @@ SwXTextCursor::isStartOfSentence() throw (uno::RuntimeException)
}
return bRet;
}
-/*-- 09.12.98 14:18:47---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::isEndOfSentence() throw (uno::RuntimeException)
{
@@ -1649,9 +1549,6 @@ SwXTextCursor::isEndOfSentence() throw (uno::RuntimeException)
return bRet;
}
-/*-- 09.12.98 14:18:47---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::gotoNextSentence(sal_Bool Expand) throw (uno::RuntimeException)
{
@@ -1686,9 +1583,7 @@ SwXTextCursor::gotoNextSentence(sal_Bool Expand) throw (uno::RuntimeException)
}
return bRet;
}
-/*-- 09.12.98 14:18:47---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::gotoPreviousSentence(sal_Bool Expand)
throw (uno::RuntimeException)
@@ -1718,9 +1613,6 @@ throw (uno::RuntimeException)
return bRet;
}
-/* -----------------15.10.99 08:24-------------------
-
- --------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::gotoStartOfSentence(sal_Bool Expand)
throw (uno::RuntimeException)
@@ -1745,9 +1637,7 @@ throw (uno::RuntimeException)
}
return bRet;
}
-/* -----------------15.10.99 08:24-------------------
- --------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::gotoEndOfSentence(sal_Bool Expand) throw (uno::RuntimeException)
{
@@ -1773,9 +1663,6 @@ SwXTextCursor::gotoEndOfSentence(sal_Bool Expand) throw (uno::RuntimeException)
return bRet;
}
-/*-- 09.12.98 14:18:48---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::isStartOfParagraph() throw (uno::RuntimeException)
{
@@ -1786,9 +1673,7 @@ SwXTextCursor::isStartOfParagraph() throw (uno::RuntimeException)
const sal_Bool bRet = SwUnoCursorHelper::IsStartOfPara(rUnoCursor);
return bRet;
}
-/*-- 09.12.98 14:18:48---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::isEndOfParagraph() throw (uno::RuntimeException)
{
@@ -1800,9 +1685,6 @@ SwXTextCursor::isEndOfParagraph() throw (uno::RuntimeException)
return bRet;
}
-/*-- 09.12.98 14:18:49---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::gotoStartOfParagraph(sal_Bool Expand)
throw (uno::RuntimeException)
@@ -1828,9 +1710,7 @@ throw (uno::RuntimeException)
DBG_ASSERT( bRet, "gotoStartOfParagraph failed" );
return bRet;
}
-/*-- 09.12.98 14:18:49---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::gotoEndOfParagraph(sal_Bool Expand) throw (uno::RuntimeException)
{
@@ -1856,9 +1736,6 @@ SwXTextCursor::gotoEndOfParagraph(sal_Bool Expand) throw (uno::RuntimeException)
return bRet;
}
-/*-- 09.12.98 14:18:50---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::gotoNextParagraph(sal_Bool Expand) throw (uno::RuntimeException)
{
@@ -1874,9 +1751,7 @@ SwXTextCursor::gotoNextParagraph(sal_Bool Expand) throw (uno::RuntimeException)
const sal_Bool bRet = rUnoCursor.MovePara(fnParaNext, fnParaStart);
return bRet;
}
-/*-- 09.12.98 14:18:50---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SAL_CALL
SwXTextCursor::gotoPreviousParagraph(sal_Bool Expand)
throw (uno::RuntimeException)
@@ -1894,9 +1769,6 @@ throw (uno::RuntimeException)
return bRet;
}
-/*-- 09.12.98 14:18:50---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Reference< text::XText > SAL_CALL
SwXTextCursor::getText() throw (uno::RuntimeException)
{
@@ -1905,9 +1777,6 @@ SwXTextCursor::getText() throw (uno::RuntimeException)
return m_pImpl->m_xParentText;
}
-/*-- 09.12.98 14:18:50---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Reference< text::XTextRange > SAL_CALL
SwXTextCursor::getStart() throw (uno::RuntimeException)
{
@@ -1933,9 +1802,7 @@ SwXTextCursor::getStart() throw (uno::RuntimeException)
}
return xRet;
}
-/*-- 09.12.98 14:18:51---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< text::XTextRange > SAL_CALL
SwXTextCursor::getEnd() throw (uno::RuntimeException)
{
@@ -1962,9 +1829,6 @@ SwXTextCursor::getEnd() throw (uno::RuntimeException)
return xRet;
}
-/*-- 09.12.98 14:18:51---------------------------------------------------
-
- -----------------------------------------------------------------------*/
OUString SAL_CALL SwXTextCursor::getString() throw (uno::RuntimeException)
{
vos::OGuard aGuard(Application::GetSolarMutex());
@@ -1975,9 +1839,7 @@ OUString SAL_CALL SwXTextCursor::getString() throw (uno::RuntimeException)
SwUnoCursorHelper::GetTextFromPam(rUnoCursor, aTxt);
return aTxt;
}
-/*-- 09.12.98 14:18:52---------------------------------------------------
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXTextCursor::setString(const OUString& aString) throw (uno::RuntimeException)
{
@@ -1993,9 +1855,6 @@ SwXTextCursor::setString(const OUString& aString) throw (uno::RuntimeException)
DeleteAndInsert(aString, bForceExpandHints);
}
-/* -----------------------------03.05.00 12:56--------------------------------
-
- ---------------------------------------------------------------------------*/
uno::Any SwUnoCursorHelper::GetPropertyValue(
SwPaM& rPaM, const SfxItemPropertySet& rPropSet,
const OUString& rPropertyName)
@@ -2031,9 +1890,7 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
return aAny;
}
-/* -----------------------------03.05.00 12:57--------------------------------
- ---------------------------------------------------------------------------*/
void SwUnoCursorHelper::SetPropertyValue(
SwPaM& rPaM, const SfxItemPropertySet& rPropSet,
const OUString& rPropertyName,
@@ -2073,9 +1930,6 @@ throw (beans::UnknownPropertyException, beans::PropertyVetoException,
SwUnoCursorHelper::SetCrsrAttr(rPaM, aItemSet, nAttrMode, bTableMode);
}
-/* -----------------------------03.05.00 13:16--------------------------------
-
- ---------------------------------------------------------------------------*/
uno::Sequence< beans::PropertyState >
SwUnoCursorHelper::GetPropertyStates(
SwPaM& rPaM, const SfxItemPropertySet& rPropSet,
@@ -2189,9 +2043,7 @@ throw (beans::UnknownPropertyException, uno::RuntimeException)
}
return aRet;
}
-/* -----------------------------03.05.00 13:17--------------------------------
- ---------------------------------------------------------------------------*/
beans::PropertyState SwUnoCursorHelper::GetPropertyState(
SwPaM& rPaM, const SfxItemPropertySet& rPropSet,
const OUString& rPropertyName)
@@ -2204,9 +2056,7 @@ throw (beans::UnknownPropertyException, uno::RuntimeException)
SW_PROPERTY_STATE_CALLER_SINGLE_VALUE_ONLY );
return aSeq[0];
}
-/* -----------------------------03.05.00 13:20--------------------------------
- ---------------------------------------------------------------------------*/
static void
lcl_SelectParaAndReset( SwPaM &rPaM, SwDoc & rDoc,
SvUShortsSort const*const pWhichIds = 0 )
@@ -2229,7 +2079,6 @@ lcl_SelectParaAndReset( SwPaM &rPaM, SwDoc & rDoc,
rDoc.ResetAttrs(*pTemp, sal_True, pWhichIds);
}
-
void SwUnoCursorHelper::SetPropertyToDefault(
SwPaM& rPaM, const SfxItemPropertySet& rPropSet,
const OUString& rPropertyName)
@@ -2271,9 +2120,6 @@ throw (beans::UnknownPropertyException, uno::RuntimeException)
}
}
-/* -----------------------------03.05.00 13:19--------------------------------
-
- ---------------------------------------------------------------------------*/
uno::Any SwUnoCursorHelper::GetPropertyDefault(
SwPaM& rPaM, const SfxItemPropertySet& rPropSet,
const OUString& rPropertyName)
@@ -2300,9 +2146,6 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
return aRet;
}
-/*-- 09.12.98 14:18:54---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Reference< beans::XPropertySetInfo > SAL_CALL
SwXTextCursor::getPropertySetInfo() throw (uno::RuntimeException)
{
@@ -2328,9 +2171,6 @@ SwXTextCursor::getPropertySetInfo() throw (uno::RuntimeException)
return xRef;
}
-/*-- 09.12.98 14:18:54---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXTextCursor::setPropertyValue(
const OUString& rPropertyName, const uno::Any& rValue)
@@ -2368,9 +2208,6 @@ throw (beans::UnknownPropertyException, beans::PropertyVetoException,
}
}
-/*-- 09.12.98 14:18:55---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Any SAL_CALL
SwXTextCursor::getPropertyValue(const OUString& rPropertyName)
throw (beans::UnknownPropertyException, lang::WrappedTargetException,
@@ -2400,9 +2237,6 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
return aAny;
}
-/*-- 09.12.98 14:18:55---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXTextCursor::addPropertyChangeListener(
const ::rtl::OUString& /*rPropertyName*/,
@@ -2414,9 +2248,6 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
"SwXTextCursor::addPropertyChangeListener(): not implemented");
}
-/*-- 09.12.98 14:18:57---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXTextCursor::removePropertyChangeListener(
const ::rtl::OUString& /*rPropertyName*/,
@@ -2428,9 +2259,6 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
"SwXTextCursor::removePropertyChangeListener(): not implemented");
}
-/*-- 09.12.98 14:18:57---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXTextCursor::addVetoableChangeListener(
const ::rtl::OUString& /*rPropertyName*/,
@@ -2442,9 +2270,6 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
"SwXTextCursor::addVetoableChangeListener(): not implemented");
}
-/*-- 09.12.98 14:18:58---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXTextCursor::removeVetoableChangeListener(
const ::rtl::OUString& /*rPropertyName*/,
@@ -2456,9 +2281,6 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
"SwXTextCursor::removeVetoableChangeListener(): not implemented");
}
-/*-- 05.03.99 11:36:11---------------------------------------------------
-
- -----------------------------------------------------------------------*/
beans::PropertyState SAL_CALL
SwXTextCursor::getPropertyState(const OUString& rPropertyName)
throw (beans::UnknownPropertyException, uno::RuntimeException)
@@ -2471,9 +2293,7 @@ throw (beans::UnknownPropertyException, uno::RuntimeException)
rUnoCursor, m_pImpl->m_rPropSet, rPropertyName);
return eRet;
}
-/*-- 05.03.99 11:36:11---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Sequence< beans::PropertyState > SAL_CALL
SwXTextCursor::getPropertyStates(
const uno::Sequence< OUString >& rPropertyNames)
@@ -2487,9 +2307,6 @@ throw (beans::UnknownPropertyException, uno::RuntimeException)
rUnoCursor, m_pImpl->m_rPropSet, rPropertyNames);
}
-/*-- 05.03.99 11:36:12---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXTextCursor::setPropertyToDefault(const OUString& rPropertyName)
throw (beans::UnknownPropertyException, uno::RuntimeException)
@@ -2498,9 +2315,7 @@ throw (beans::UnknownPropertyException, uno::RuntimeException)
uno::Sequence < OUString > aSequence ( &rPropertyName, 1 );
setPropertiesToDefault ( aSequence );
}
-/*-- 05.03.99 11:36:12---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Any SAL_CALL
SwXTextCursor::getPropertyDefault(const OUString& rPropertyName)
throw (beans::UnknownPropertyException, lang::WrappedTargetException,
@@ -2686,9 +2501,6 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
return aRet;
}
-/*-- 10.03.2008 09:58:47---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXTextCursor::makeRedline(
const ::rtl::OUString& rRedlineType,
@@ -2702,9 +2514,6 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
SwUnoCursorHelper::makeRedline(rUnoCursor, rRedlineType, rRedlineProperties);
}
-/*-- 09.12.98 14:18:58---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL SwXTextCursor::insertDocumentFromURL(const OUString& rURL,
const uno::Sequence< beans::PropertyValue >& rOptions)
throw (lang::IllegalArgumentException, io::IOException,
@@ -2717,9 +2526,6 @@ throw (lang::IllegalArgumentException, io::IOException,
SwUnoCursorHelper::InsertFile(&rUnoCursor, rURL, rOptions);
}
-/* -----------------------------15.12.00 14:01--------------------------------
-
- ---------------------------------------------------------------------------*/
uno::Sequence< beans::PropertyValue >
SwUnoCursorHelper::CreateSortDescriptor(const bool bFromTable)
{
@@ -2791,9 +2597,6 @@ SwUnoCursorHelper::CreateSortDescriptor(const bool bFromTable)
return aRet;
}
-/*-- 09.12.98 14:18:58---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Sequence< beans::PropertyValue > SAL_CALL
SwXTextCursor::createSortDescriptor() throw (uno::RuntimeException)
{
@@ -2802,9 +2605,6 @@ SwXTextCursor::createSortDescriptor() throw (uno::RuntimeException)
return SwUnoCursorHelper::CreateSortDescriptor(false);
}
-/* -----------------------------15.12.00 14:06--------------------------------
-
- ---------------------------------------------------------------------------*/
sal_Bool SwUnoCursorHelper::ConvertSortProperties(
const uno::Sequence< beans::PropertyValue >& rDescriptor,
SwSortOptions& rSortOpt)
@@ -3052,9 +2852,6 @@ sal_Bool SwUnoCursorHelper::ConvertSortProperties(
return bRet && rSortOpt.aKeys.Count() > 0;
}
-/*-- 09.12.98 14:19:00---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SAL_CALL
SwXTextCursor::sort(const uno::Sequence< beans::PropertyValue >& rDescriptor)
throw (uno::RuntimeException)
@@ -3099,9 +2896,6 @@ throw (uno::RuntimeException)
}
}
-/* -----------------------------03.04.00 09:11--------------------------------
-
- ---------------------------------------------------------------------------*/
uno::Reference< container::XEnumeration > SAL_CALL
SwXTextCursor::createContentEnumeration(const OUString& rServiceName)
throw (uno::RuntimeException)
@@ -3120,9 +2914,6 @@ throw (uno::RuntimeException)
return xRet;
}
-/* -----------------------------07.03.01 14:53--------------------------------
-
- ---------------------------------------------------------------------------*/
uno::Reference< container::XEnumeration > SAL_CALL
SwXTextCursor::createEnumeration() throw (uno::RuntimeException)
{
@@ -3164,26 +2955,17 @@ SwXTextCursor::createEnumeration() throw (uno::RuntimeException)
return xRet;
}
-/* -----------------------------07.03.01 15:43--------------------------------
-
- ---------------------------------------------------------------------------*/
uno::Type SAL_CALL
SwXTextCursor::getElementType() throw (uno::RuntimeException)
{
return text::XTextRange::static_type();
}
-/* -----------------------------07.03.01 15:43--------------------------------
-
- ---------------------------------------------------------------------------*/
sal_Bool SAL_CALL SwXTextCursor::hasElements() throw (uno::RuntimeException)
{
return sal_True;
}
-/* -----------------------------03.04.00 09:11--------------------------------
-
- ---------------------------------------------------------------------------*/
uno::Sequence< OUString > SAL_CALL
SwXTextCursor::getAvailableServiceNames() throw (uno::RuntimeException)
{
@@ -3193,7 +2975,6 @@ SwXTextCursor::getAvailableServiceNames() throw (uno::RuntimeException)
return aRet;
}
-// ---------------------------------------------------------------------------
IMPLEMENT_FORWARD_REFCOUNT( SwXTextCursor,SwXTextCursor_Base )
uno::Any SAL_CALL
@@ -3204,4 +2985,3 @@ throw (uno::RuntimeException)
? OTextCursorHelper::queryInterface(rType)
: SwXTextCursor_Base::queryInterface(rType);
}
-
diff --git a/sw/source/core/unocore/unoport.cxx b/sw/source/core/unocore/unoport.cxx
index 9cd61d1..e2a79a7 100644
--- a/sw/source/core/unocore/unoport.cxx
+++ b/sw/source/core/unocore/unoport.cxx
@@ -58,11 +58,9 @@
using namespace ::com::sun::star;
using ::rtl::OUString;
-
/******************************************************************
* SwXTextPortion
******************************************************************/
-
static void init(SwXTextPortion & rPortion, const SwUnoCrsr* pPortionCursor)
{
SwUnoCrsr* pUnoCursor =
@@ -75,9 +73,6 @@ static void init(SwXTextPortion & rPortion, const SwUnoCrsr* pPortionCursor)
pUnoCursor->Add(& rPortion);
}
-/*-- 11.12.98 09:56:55---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXTextPortion::SwXTextPortion(const SwUnoCrsr* pPortionCrsr,
uno::Reference< text::XText > const& rParent,
SwTextPortionType eType)
@@ -100,9 +95,6 @@ SwXTextPortion::SwXTextPortion(const SwUnoCrsr* pPortionCrsr,
init(*this, pPortionCrsr);
}
-/* -----------------24.03.99 16:30-------------------
- *
- * --------------------------------------------------*/
SwXTextPortion::SwXTextPortion(const SwUnoCrsr* pPortionCrsr,
uno::Reference< text::XText > const& rParent,
SwFrmFmt& rFmt )
@@ -122,9 +114,6 @@ SwXTextPortion::SwXTextPortion(const SwUnoCrsr* pPortionCrsr,
init(*this, pPortionCrsr);
}
-/* -----------------------------19.02.01 10:52--------------------------------
-
- ---------------------------------------------------------------------------*/
SwXTextPortion::SwXTextPortion(const SwUnoCrsr* pPortionCrsr,
SwTxtRuby const& rAttr,
uno::Reference< text::XText > const& xParent,
@@ -154,26 +143,19 @@ SwXTextPortion::SwXTextPortion(const SwUnoCrsr* pPortionCrsr,
}
}
-/*-- 11.12.98 09:56:55---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwXTextPortion::~SwXTextPortion()
{
vos::OGuard aGuard(Application::GetSolarMutex());
SwUnoCrsr* pUnoCrsr = GetCursor();
delete pUnoCrsr;
}
-/*-- 11.12.98 09:56:56---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< text::XText > SwXTextPortion::getText()
throw( uno::RuntimeException )
{
return m_xParentText;
}
-/*-- 11.12.98 09:56:56---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< text::XTextRange > SwXTextPortion::getStart()
throw( uno::RuntimeException )
{
@@ -188,9 +170,7 @@ throw( uno::RuntimeException )
xRet = new SwXTextRange(aPam, xParent);
return xRet;
}
-/*-- 11.12.98 09:56:57---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< text::XTextRange > SwXTextPortion::getEnd()
throw( uno::RuntimeException )
{
@@ -205,9 +185,7 @@ throw( uno::RuntimeException )
xRet = new SwXTextRange(aPam, xParent);
return xRet;
}
-/*-- 11.12.98 09:56:57---------------------------------------------------
- -----------------------------------------------------------------------*/
OUString SwXTextPortion::getString()
throw( uno::RuntimeException )
{
@@ -227,9 +205,7 @@ throw( uno::RuntimeException )
}
return aTxt;
}
-/*-- 11.12.98 09:56:57---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextPortion::setString(const OUString& aString) throw( uno::RuntimeException )
{
vos::OGuard aGuard(Application::GetSolarMutex());
@@ -239,9 +215,7 @@ void SwXTextPortion::setString(const OUString& aString) throw( uno::RuntimeExcep
SwUnoCursorHelper::SetString(*pUnoCrsr, aString);
}
-/*-- 11.12.98 09:56:57---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< beans::XPropertySetInfo > SwXTextPortion::getPropertySetInfo()
throw( uno::RuntimeException )
{
@@ -258,9 +232,7 @@ throw( uno::RuntimeException )
return (PORTION_REDLINE_START == m_ePortionType ||
PORTION_REDLINE_END == m_ePortionType) ? xRedlPorRef : xTxtPorExtRef;
}
-/*-- 11.12.98 09:56:57---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextPortion::setPropertyValue(const OUString& rPropertyName,
const uno::Any& aValue)
throw( beans::UnknownPropertyException,
@@ -274,9 +246,7 @@ void SwXTextPortion::setPropertyValue(const OUString& rPropertyName,
SwUnoCursorHelper::SetPropertyValue(*pUnoCrsr, *m_pPropSet,
rPropertyName, aValue);
}
-/*-- 04.11.03 09:56:58---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXTextPortion::GetPropertyValue(
uno::Any &rVal,
const SfxItemPropertySimpleEntry& rEntry,
@@ -430,7 +400,6 @@ void SwXTextPortion::GetPropertyValue(
}
}
-
uno::Sequence< uno::Any > SAL_CALL SwXTextPortion::GetPropertyValues_Impl(
const uno::Sequence< OUString >& rPropertyNames )
throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException )
@@ -462,9 +431,7 @@ uno::Sequence< uno::Any > SAL_CALL SwXTextPortion::GetPropertyValues_Impl(
}
return aValues;
}
-/*-- 11.12.98 09:56:58---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Any SwXTextPortion::getPropertyValue(
const OUString& rPropertyName)
throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException )
@@ -474,9 +441,7 @@ uno::Any SwXTextPortion::getPropertyValue(
aPropertyNames.getArray()[0] = rPropertyName;
return GetPropertyValues_Impl(aPropertyNames).getConstArray()[0];
}
-/* -----------------------------02.04.01 11:44--------------------------------
- ---------------------------------------------------------------------------*/
void SAL_CALL SwXTextPortion::SetPropertyValues_Impl(
const uno::Sequence< OUString >& rPropertyNames,
const uno::Sequence< uno::Any >& rValues )
@@ -527,9 +492,7 @@ void SwXTextPortion::setPropertyValues(
throw aWExc;
}
}
-/* -----------------------------02.04.01 11:44--------------------------------
- ---------------------------------------------------------------------------*/
uno::Sequence< uno::Any > SwXTextPortion::getPropertyValues(
const uno::Sequence< OUString >& rPropertyNames )
throw(uno::RuntimeException)
@@ -553,12 +516,8 @@ uno::Sequence< uno::Any > SwXTextPortion::getPropertyValues(
return aValues;
}
-/* -----------------------------29.09.03 11:44--------------------------------
-
- ---------------------------------------------------------------------------*/
/* disabled for #i46921# */
-
uno::Sequence< beans::SetPropertyTolerantFailed > SAL_CALL SwXTextPortion::setPropertyValuesTolerant(
const uno::Sequence< OUString >& rPropertyNames,
const uno::Sequence< uno::Any >& rValues )
@@ -631,7 +590,6 @@ uno::Sequence< beans::SetPropertyTolerantFailed > SAL_CALL SwXTextPortion::setPr
return aFailed;
}
-
uno::Sequence< beans::GetPropertyTolerantResult > SAL_CALL SwXTextPortion::getPropertyValuesTolerant(
const uno::Sequence< OUString >& rPropertyNames )
throw (uno::RuntimeException)
@@ -651,7 +609,6 @@ uno::Sequence< beans::GetPropertyTolerantResult > SAL_CALL SwXTextPortion::getPr
return aRes;
}
-
uno::Sequence< beans::GetDirectPropertyTolerantResult > SAL_CALL SwXTextPortion::getDirectPropertyValuesTolerant(
const uno::Sequence< OUString >& rPropertyNames )
throw (uno::RuntimeException)
@@ -660,7 +617,6 @@ uno::Sequence< beans::GetDirectPropertyTolerantResult > SAL_CALL SwXTextPortion:
return GetPropertyValuesTolerant_Impl( rPropertyNames, sal_True );
}
-
uno::Sequence< beans::GetDirectPropertyTolerantResult > SAL_CALL SwXTextPortion::GetPropertyValuesTolerant_Impl(
const uno::Sequence< OUString >& rPropertyNames,
sal_Bool bDirectValuesOnly )
@@ -755,33 +711,23 @@ uno::Sequence< beans::GetDirectPropertyTolerantResult > SAL_CALL SwXTextPortion:
return aResult;
}
-
-/* -----------------------------02.04.01 11:44--------------------------------
-
- ---------------------------------------------------------------------------*/
void SwXTextPortion::addPropertiesChangeListener(
const uno::Sequence< OUString >& /*aPropertyNames*/,
const uno::Reference< beans::XPropertiesChangeListener >& /*xListener*/ )
throw(uno::RuntimeException)
{}
-/* -----------------------------02.04.01 11:44--------------------------------
- ---------------------------------------------------------------------------*/
void SwXTextPortion::removePropertiesChangeListener(
const uno::Reference< beans::XPropertiesChangeListener >& /*xListener*/ )
throw(uno::RuntimeException)
{}
-/* -----------------------------02.04.01 11:44--------------------------------
- ---------------------------------------------------------------------------*/
void SwXTextPortion::firePropertiesChangeEvent(
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list