summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorAlexander O. Anisimov <alenyashka@gmail.com>2010-11-09 01:42:14 +0500
committerCaolán McNamara <caolanm@redhat.com>2010-11-09 11:50:47 +0000
commitdec234ba07197fcfde9bf4e240549ffaa3ba00b4 (patch)
tree590b035fe0575a06214b2a520887074963332a1e /editeng
parent9569c88f3ba13115e6af4fca17805ef2fc8716e3 (diff)
Clean up the code
* Remove bogus comments * Refresh comments containing a reference to the bug tracker * Remove the comments such as "// add by zhaojianwei"
Diffstat (limited to 'editeng')
-rw-r--r--editeng/inc/editeng/AccessibleEditableTextPara.hxx2
-rw-r--r--editeng/inc/editeng/acorrcfg.hxx4
-rw-r--r--editeng/inc/editeng/numitem.hxx8
-rw-r--r--editeng/source/editeng/editdoc.cxx13
-rw-r--r--editeng/source/editeng/editeng.cxx11
-rw-r--r--editeng/source/editeng/impedit3.cxx7
-rw-r--r--editeng/source/editeng/impedit4.cxx23
-rw-r--r--editeng/source/items/charhiddenitem.cxx7
-rw-r--r--editeng/source/items/frmitems.cxx6
-rw-r--r--editeng/source/items/paraitem.cxx36
-rw-r--r--editeng/source/items/textitem.cxx54
-rw-r--r--editeng/source/misc/acorrcfg.cxx24
-rw-r--r--editeng/source/misc/svxacorr.cxx115
-rw-r--r--editeng/source/misc/txtrange.cxx10
-rw-r--r--editeng/source/outliner/outlin2.cxx10
-rw-r--r--editeng/source/rtf/rtfitem.cxx4
-rw-r--r--editeng/source/uno/unotext.cxx2
17 files changed, 44 insertions, 292 deletions
diff --git a/editeng/inc/editeng/AccessibleEditableTextPara.hxx b/editeng/inc/editeng/AccessibleEditableTextPara.hxx
index 22b34aadf515..e00966497547 100644
--- a/editeng/inc/editeng/AccessibleEditableTextPara.hxx
+++ b/editeng/inc/editeng/AccessibleEditableTextPara.hxx
@@ -405,7 +405,7 @@ namespace accessibility
/// Our listeners (guarded by maMutex)
int mnNotifierClientId;
- // --> OD 2006-01-11 #i27138#
+ // Text paragraphs should provide FLOWS_TO and FLOWS_FROM relations (#i27138#)
// the paragraph manager, which created this instance - is NULL, if
// instance isn't created by AccessibleParaManager.
// Needed for method <getAccessibleRelationSet()> to retrieve predecessor
diff --git a/editeng/inc/editeng/acorrcfg.hxx b/editeng/inc/editeng/acorrcfg.hxx
index 555aaea150d0..0d5b0b820d60 100644
--- a/editeng/inc/editeng/acorrcfg.hxx
+++ b/editeng/inc/editeng/acorrcfg.hxx
@@ -32,9 +32,7 @@
#include "editeng/editengdllapi.h"
#include <unotools/configitem.hxx>
-/* -----------------------------12.10.00 11:40--------------------------------
- ---------------------------------------------------------------------------*/
class SvxAutoCorrect;
class SvxAutoCorrCfg;
class EDITENG_DLLPUBLIC SvxBaseAutoCorrCfg : public utl::ConfigItem
@@ -51,9 +49,7 @@ public:
virtual void Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames);
void SetModified() {ConfigItem::SetModified();}
};
-/* -----------------------------12.10.00 11:40--------------------------------
- ---------------------------------------------------------------------------*/
class EDITENG_DLLPUBLIC SvxSwAutoCorrCfg : public utl::ConfigItem
{
SvxAutoCorrCfg& rParent;
diff --git a/editeng/inc/editeng/numitem.hxx b/editeng/inc/editeng/numitem.hxx
index e28fdccea552..e94fe8fda653 100644
--- a/editeng/inc/editeng/numitem.hxx
+++ b/editeng/inc/editeng/numitem.hxx
@@ -300,9 +300,7 @@ public:
BOOL UnLinkGraphics();
};
-/* -----------------27.10.98 13:04-------------------
- *
- * --------------------------------------------------*/
+
class EDITENG_DLLPUBLIC SvxNumBulletItem : public SfxPoolItem
{
SvxNumRule* pNumRule;
@@ -323,9 +321,7 @@ public:
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
};
-/* -----------------28.10.98 15:21-------------------
- *
- * --------------------------------------------------*/
+
class SvxNodeNum
{
USHORT nLevelVal[ SVX_MAX_NUM ]; // Nummern aller Levels
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index 7b4cd9408173..2db119a18b0e 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -1459,7 +1459,7 @@ ULONG EditDoc::GetTextLen() const
{
ContentNode* pNode = GetObject( nNode );
nLen += pNode->Len();
- // Felder k”nnen laenger sein als der Platzhalter im Node.
+ // Fields can be longer than the placeholder in the Node
const CharAttribArray& rAttrs = pNode->GetCharAttribs().GetAttribs();
for ( USHORT nAttr = rAttrs.Count(); nAttr; )
{
@@ -1941,12 +1941,11 @@ void EditDoc::FindAttribs( ContentNode* pNode, USHORT nStartPos, USHORT nEndPos,
{
// pItem = pAttr->GetItem();
// s.o.
- /*-----------------31.05.95 16:01-------------------
- Ist falsch, wenn das gleiche Attribut sofort wieder
- eingestellt wird!
- => Sollte am besten nicht vorkommen, also gleich beim
- Setzen von Attributen richtig machen!
- --------------------------------------------------*/
+ /* Ist falsch, wenn das gleiche Attribut sofort wieder
+ eingestellt wird!
+ => Sollte am besten nicht vorkommen, also gleich beim
+ Setzen von Attributen richtig machen!
+ */
rCurSet.InvalidateItem( pAttr->GetItem()->Which() );
}
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index 734b8d75ee8e..ddb540ddb4c2 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -2186,42 +2186,31 @@ EESpellState EditEngine::HasSpellErrors()
return pImpEditEngine->HasSpellErrors();
}
-/*-- 13.10.2003 16:56:23---------------------------------------------------
- -----------------------------------------------------------------------*/
void EditEngine::StartSpelling(EditView& rEditView, sal_Bool bMultipleDoc)
{
DBG_CHKTHIS( EditEngine, 0 );
pImpEditEngine->StartSpelling(rEditView, bMultipleDoc);
}
-/*-- 13.10.2003 16:56:23---------------------------------------------------
- -----------------------------------------------------------------------*/
void EditEngine::EndSpelling()
{
DBG_CHKTHIS( EditEngine, 0 );
pImpEditEngine->EndSpelling();
}
-/*-- 13.10.2003 16:43:27---------------------------------------------------
-
- -----------------------------------------------------------------------*/
bool EditEngine::SpellSentence(EditView& rView, ::svx::SpellPortions& rToFill, bool bIsGrammarChecking )
{
DBG_CHKTHIS( EditEngine, 0 );
return pImpEditEngine->SpellSentence( rView, rToFill, bIsGrammarChecking );
}
-/*-- 08.09.2008 11:38:32---------------------------------------------------
- -----------------------------------------------------------------------*/
void EditEngine::PutSpellingToSentenceStart( EditView& rEditView )
{
DBG_CHKTHIS( EditEngine, 0 );
pImpEditEngine->PutSpellingToSentenceStart( rEditView );
}
-/*-- 13.10.2003 16:43:27---------------------------------------------------
- -----------------------------------------------------------------------*/
void EditEngine::ApplyChangedSentence(EditView& rEditView, const ::svx::SpellPortions& rNewPortions, bool bRecheck )
{
DBG_CHKTHIS( EditEngine, 0 );
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 713a2b7c5e68..b4a4a32745e0 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -3076,7 +3076,7 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, Rectangle aClipRec, Point aSta
nTextLen = pTextPortion->GetLen();
pDXArray = pLine->GetCharPosArray().GetData()+( nIndex-pLine->GetStart() );
- // --> FME 2005-10-18 #i55716# Paint control characters
+ // Paint control characters (#i55716#)
if ( aStatus.MarkFields() )
{
xub_StrLen nTmpIdx;
@@ -3164,7 +3164,6 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, Rectangle aClipRec, Point aSta
}
}
}
- // <--
}
else if ( pTextPortion->GetKind() == PORTIONKIND_FIELD )
{
@@ -3415,14 +3414,13 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, Rectangle aClipRec, Point aSta
aRealOutPos.X() += pTextPortion->GetExtraInfos()->nPortionOffsetX;
}
- // --> FME 2005-06-17 #i37132# RTL portions with
+ // RTL portions with (#i37132#)
// compressed blank should not paint this blank:
if ( pTextPortion->IsRightToLeft() && nTextLen >= 2 &&
pDXArray[ nTextLen - 1 ] ==
pDXArray[ nTextLen - 2 ] &&
' ' == aText.GetChar( nTextStart + nTextLen - 1 ) )
--nTextLen;
- // <--
// output directly
aTmpFont.QuickDrawText( pOutDev, aRealOutPos, aText, nTextStart, nTextLen, pDXArray );
@@ -3437,7 +3435,6 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, Rectangle aClipRec, Point aSta
pOutDev->DrawRect( aRect );
}
-
// PDF export:
if ( pPDFExtOutDevData )
{
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index d4ba71348c4b..1fbda1e44dee 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -1959,16 +1959,12 @@ Reference< XSpellAlternatives > ImpEditEngine::ImpSpell( EditView* pEditView )
return xSpellAlt;
#endif
}
-/*-- 13.10.2003 16:43:27---------------------------------------------------
- -----------------------------------------------------------------------*/
void ImpEditEngine::EndSpelling()
{
DELETEZ(pSpellInfo);
}
-/*-- 13.10.2003 16:43:27---------------------------------------------------
- -----------------------------------------------------------------------*/
void ImpEditEngine::StartSpelling(EditView& rEditView, sal_Bool bMultipleDoc)
{
DBG_ASSERT(!pSpellInfo, "pSpellInfo already set?");
@@ -1976,9 +1972,7 @@ void ImpEditEngine::StartSpelling(EditView& rEditView, sal_Bool bMultipleDoc)
EditSelection aCurSel( rEditView.pImpEditView->GetEditSelection() );
pSpellInfo = CreateSpellInfo( aCurSel, bMultipleDoc );
}
-/*-- 13.10.2003 16:43:27---------------------------------------------------
- Search for the next wrong word within the given selection
- -----------------------------------------------------------------------*/
+
Reference< XSpellAlternatives > ImpEditEngine::ImpFindNextError(EditSelection& rSelection)
{
/* ContentNode* pLastNode = */ aEditDoc.SaveGetObject( (aEditDoc.Count()-1) );
@@ -2024,9 +2018,7 @@ Reference< XSpellAlternatives > ImpEditEngine::ImpFindNextError(EditSelection& r
}
return xSpellAlt;
}
-/*-- 13.10.2003 16:43:27---------------------------------------------------
- -----------------------------------------------------------------------*/
bool ImpEditEngine::SpellSentence(EditView& rEditView,
::svx::SpellPortions& rToFill,
bool /*bIsGrammarChecking*/ )
@@ -2090,9 +2082,7 @@ bool ImpEditEngine::SpellSentence(EditView& rEditView,
return bRet;
}
-/*-- 15.10.2003 16:09:12---------------------------------------------------
- adds one portion to the SpellPortions
- -----------------------------------------------------------------------*/
+// Adds one portion to the SpellPortions
void ImpEditEngine::AddPortion(
const EditSelection rSel,
uno::Reference< XSpellAlternatives > xAlt,
@@ -2118,9 +2108,7 @@ void ImpEditEngine::AddPortion(
#endif
}
-/*-- 15.10.2003 16:07:47---------------------------------------------------
- adds one or more portions of text to the SpellPortions depending on language changes
- -----------------------------------------------------------------------*/
+// Adds one or more portions of text to the SpellPortions depending on language changes
void ImpEditEngine::AddPortionIterated(
EditView& rEditView,
const EditSelection rSel,
@@ -2193,9 +2181,6 @@ void ImpEditEngine::AddPortionIterated(
#endif
}
-/*-- 13.10.2003 16:43:33---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void ImpEditEngine::ApplyChangedSentence(EditView& rEditView,
const ::svx::SpellPortions& rNewPortions,
bool bRecheck )
@@ -2326,9 +2311,7 @@ void ImpEditEngine::ApplyChangedSentence(EditView& rEditView,
}
#endif
}
-/*-- 08.09.2008 11:33:02---------------------------------------------------
- -----------------------------------------------------------------------*/
void ImpEditEngine::PutSpellingToSentenceStart( EditView& rEditView )
{
#ifdef SVX_LIGHT
diff --git a/editeng/source/items/charhiddenitem.cxx b/editeng/source/items/charhiddenitem.cxx
index bc910b75c283..2c4d4586585e 100644
--- a/editeng/source/items/charhiddenitem.cxx
+++ b/editeng/source/items/charhiddenitem.cxx
@@ -36,23 +36,16 @@
TYPEINIT1_FACTORY(SvxCharHiddenItem, SfxBoolItem, new SvxCharHiddenItem(sal_False, 0));
-/*-- 16.12.2003 15:24:25---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SvxCharHiddenItem::SvxCharHiddenItem( const sal_Bool bHidden, const USHORT nId ) :
SfxBoolItem( nId, bHidden )
{
}
-/*-- 16.12.2003 15:24:25---------------------------------------------------
- -----------------------------------------------------------------------*/
SfxPoolItem* SvxCharHiddenItem::Clone( SfxItemPool * ) const
{
return new SvxCharHiddenItem( *this );
}
-/*-- 16.12.2003 15:24:25---------------------------------------------------
- -----------------------------------------------------------------------*/
SfxItemPresentation SvxCharHiddenItem::GetPresentation
(
SfxItemPresentation ePres,
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 49bb9eae9521..39d805e64f41 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -1166,8 +1166,6 @@ int SvxProtectItem::operator==( const SfxPoolItem& rAttr ) const
bPos == ( (SvxProtectItem&)rAttr ).bPos );
}
-/*-----------------16.03.98 12:42-------------------
---------------------------------------------------*/
bool SvxProtectItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -1186,9 +1184,7 @@ bool SvxProtectItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
rVal = Bool2Any( bValue );
return true;
}
-/*-----------------16.03.98 12:42-------------------
---------------------------------------------------*/
bool SvxProtectItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -4334,9 +4330,7 @@ CntWallpaperItem* SvxBrushItem::CreateCntWallpaperItem() const
#ifdef _MSC_VER
#pragma optimize ( "", on )
#endif
-/* -----------------------------16.08.2002 09:18------------------------------
- ---------------------------------------------------------------------------*/
void SvxBrushItem::ApplyGraphicTransparency_Impl()
{
DBG_ASSERT(pImpl->pGraphicObject, "no GraphicObject available" );
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx
index 27b3629f5d39..8e324ab66bb3 100644
--- a/editeng/source/items/paraitem.cxx
+++ b/editeng/source/items/paraitem.cxx
@@ -141,14 +141,12 @@ int SvxLineSpacingItem::operator==( const SfxPoolItem& rAttr ) const
1 : 0;
}
-/*-----------------18.03.98 16:32-------------------
- os: wer weiss noch, wieso das LineSpacingItem so
- kompliziert ist? Fuer UNO koennen wir das nicht
- gebrauchen. Da gibt es nur zwei Werte:
- - ein sal_uInt16 fuer den Modus
- - ein sal_uInt32 fuer alle Werte (Abstand, Hoehe, rel. Angaben)
-
---------------------------------------------------*/
+/* wer weiss noch, wieso das LineSpacingItem so
+ kompliziert ist? Fuer UNO koennen wir das nicht
+ gebrauchen. Da gibt es nur zwei Werte:
+ - ein sal_uInt16 fuer den Modus
+ - ein sal_uInt32 fuer alle Werte (Abstand, Hoehe, rel. Angaben)
+*/
bool SvxLineSpacingItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -193,9 +191,7 @@ bool SvxLineSpacingItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
return true;
}
-/*-----------------18.03.98 16:32-------------------
---------------------------------------------------*/
bool SvxLineSpacingItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -388,9 +384,6 @@ int SvxAdjustItem::operator==( const SfxPoolItem& rAttr ) const
? 1 : 0 );
}
-/*-----------------18.03.98 16:15-------------------
-
---------------------------------------------------*/
bool SvxAdjustItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -409,9 +402,6 @@ bool SvxAdjustItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
}
return true;
}
-/*-----------------18.03.98 16:15-------------------
-
---------------------------------------------------*/
bool SvxAdjustItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
@@ -1012,9 +1002,6 @@ struct ::com::sun::star::style::TabStop
typedef sequence ::com::sun::star::style::TabStop> TabSTopSequence;
*/
-/*-----------------19.03.98 08:50-------------------
-
---------------------------------------------------*/
bool SvxTabStopItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
@@ -1056,9 +1043,6 @@ bool SvxTabStopItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
}
return sal_True;
}
-/*-----------------19.03.98 08:50-------------------
-
---------------------------------------------------*/
bool SvxTabStopItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
@@ -1560,25 +1544,19 @@ SvxForbiddenRuleItem::SvxForbiddenRuleItem(
: SfxBoolItem( nId, bOn )
{
}
-/* -----------------------------29.11.00 11:23--------------------------------
- ---------------------------------------------------------------------------*/
SfxPoolItem* SvxForbiddenRuleItem::Clone( SfxItemPool * ) const
{
return new SvxForbiddenRuleItem( GetValue(), Which() );
}
-/* -----------------------------29.11.00 11:23--------------------------------
- ---------------------------------------------------------------------------*/
SfxPoolItem* SvxForbiddenRuleItem::Create(SvStream & rStrm, USHORT) const
{
sal_Bool nValue;
rStrm >> nValue;
return new SvxForbiddenRuleItem( nValue, Which() );
}
-/* -----------------------------29.11.00 11:23--------------------------------
- ---------------------------------------------------------------------------*/
USHORT SvxForbiddenRuleItem::GetVersion( USHORT nFFVer ) const
{
DBG_ASSERT( SOFFICE_FILEFORMAT_31==nFFVer ||
@@ -1588,9 +1566,7 @@ USHORT SvxForbiddenRuleItem::GetVersion( USHORT nFFVer ) const
return SOFFICE_FILEFORMAT_50 > nFFVer ? USHRT_MAX : 0;
}
-/* -----------------------------29.11.00 11:23--------------------------------
- ---------------------------------------------------------------------------*/
SfxItemPresentation SvxForbiddenRuleItem::GetPresentation(
SfxItemPresentation ePres,
SfxMapUnit /*eCoreMetric*/, SfxMapUnit /*ePresMetric*/,
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index ff0b1868ed69..fc73703d3957 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -572,10 +572,6 @@ XubString SvxPostureItem::GetValueTextByPos( USHORT nPos ) const
return sTxt;
}
-
-/*-----------------13.03.98 14:28-------------------
-
---------------------------------------------------*/
bool SvxPostureItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -591,9 +587,7 @@ bool SvxPostureItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
}
return true;
}
-/*-----------------13.03.98 14:28-------------------
---------------------------------------------------*/
bool SvxPostureItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -733,9 +727,6 @@ XubString SvxWeightItem::GetValueTextByPos( USHORT nPos ) const
return EE_RESSTR( RID_SVXITEMS_WEIGHT_BEGIN + nPos );
}
-/*-----------------13.03.98 14:18-------------------
-
---------------------------------------------------*/
bool SvxWeightItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -753,9 +744,7 @@ bool SvxWeightItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
}
return true;
}
-/*-----------------13.03.98 14:18-------------------
---------------------------------------------------*/
bool SvxWeightItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -855,9 +844,6 @@ int SvxFontHeightItem::operator==( const SfxPoolItem& rItem ) const
GetPropUnit() == ((SvxFontHeightItem&)rItem).GetPropUnit();
}
-/*-----------------13.03.98 14:53-------------------
-
---------------------------------------------------*/
bool SvxFontHeightItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
// In StarOne sind im uno::Any immer 1/100mm. Ueber die MemberId wird
@@ -957,9 +943,8 @@ bool SvxFontHeightItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
}
return sal_True;
}
-/* -----------------01.07.98 13:43-------------------
- * Relative Abweichung aus der Hoehe herausrechnen
- * --------------------------------------------------*/
+
+// Relative Abweichung aus der Hoehe herausrechnen
sal_uInt32 lcl_GetRealHeight_Impl(sal_uInt32 nHeight, sal_uInt16 nProp, SfxMapUnit eProp, sal_Bool bCoreInTwip)
{
sal_uInt32 nRet = nHeight;
@@ -993,9 +978,6 @@ sal_uInt32 lcl_GetRealHeight_Impl(sal_uInt32 nHeight, sal_uInt16 nProp, SfxMapUn
return nRet;
}
-/*-----------------13.03.98 14:53-------------------
-
---------------------------------------------------*/
bool SvxFontHeightItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -1250,9 +1232,6 @@ int SvxFontWidthItem::operator==( const SfxPoolItem& rItem ) const
GetProp() == ((SvxFontWidthItem&)rItem).GetProp();
}
-/*-----------------13.03.98 16:03-------------------
-
---------------------------------------------------*/
bool SvxFontWidthItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -1268,9 +1247,7 @@ bool SvxFontWidthItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
}
return true;
}
-/*-----------------13.03.98 16:03-------------------
---------------------------------------------------*/
bool SvxFontWidthItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -1423,9 +1400,6 @@ XubString SvxTextLineItem::GetValueTextByPos( USHORT /*nPos*/ ) const
return XubString();
}
-/*-----------------13.03.98 16:25-------------------
-
---------------------------------------------------*/
bool SvxTextLineItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -1448,9 +1422,7 @@ bool SvxTextLineItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
return true;
}
-/*-----------------13.03.98 16:28-------------------
---------------------------------------------------*/
bool SvxTextLineItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -1656,9 +1628,6 @@ XubString SvxCrossedOutItem::GetValueTextByPos( USHORT nPos ) const
return EE_RESSTR( RID_SVXITEMS_STRIKEOUT_BEGIN + nPos );
}
-/*-----------------13.03.98 16:28-------------------
-
---------------------------------------------------*/
bool SvxCrossedOutItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -1674,9 +1643,7 @@ bool SvxCrossedOutItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
}
return true;
}
-/*-----------------13.03.98 16:29-------------------
---------------------------------------------------*/
bool SvxCrossedOutItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -2275,9 +2242,7 @@ SfxItemPresentation SvxKerningItem::GetPresentation
#endif
return SFX_ITEM_PRESENTATION_NONE;
}
-/* -----------------------------19.02.01 12:21--------------------------------
- ---------------------------------------------------------------------------*/
bool SvxKerningItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
sal_Int16 nVal = GetValue();
@@ -2368,9 +2333,6 @@ XubString SvxCaseMapItem::GetValueTextByPos( USHORT nPos ) const
return EE_RESSTR( RID_SVXITEMS_CASEMAP_BEGIN + nPos );
}
-/*-----------------13.03.98 16:29-------------------
-
---------------------------------------------------*/
bool SvxCaseMapItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const
{
sal_Int16 nRet = style::CaseMap::NONE;
@@ -2385,9 +2347,7 @@ bool SvxCaseMapItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const
rVal <<= (sal_Int16)(nRet);
return true;
}
-/*-----------------13.03.98 16:29-------------------
---------------------------------------------------*/
bool SvxCaseMapItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ )
{
sal_uInt16 nVal = sal_uInt16();
@@ -2550,9 +2510,6 @@ void SvxEscapementItem::SetEnumValue( USHORT nVal )
SetEscapement( (const SvxEscapement)nVal );
}
-/*-----------------13.03.98 17:05-------------------
-
---------------------------------------------------*/
bool SvxEscapementItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -2571,9 +2528,7 @@ bool SvxEscapementItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
}
return true;
}
-/*-----------------13.03.98 17:05-------------------
---------------------------------------------------*/
bool SvxEscapementItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -2691,9 +2646,6 @@ SfxItemPresentation SvxLanguageItem::GetPresentation
return SFX_ITEM_PRESENTATION_NONE;
}
-/*-----------------14.03.98 14:13-------------------
-
---------------------------------------------------*/
bool SvxLanguageItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -2710,9 +2662,7 @@ bool SvxLanguageItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
}
return true;
}
-/*-----------------14.03.98 14:13-------------------
---------------------------------------------------*/
bool SvxLanguageItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx
index 3d8ad6be94c8..c00e4e225912 100644
--- a/editeng/source/misc/acorrcfg.cxx
+++ b/editeng/source/misc/acorrcfg.cxx
@@ -96,9 +96,7 @@ void SvxAutoCorrCfg::SetAutoCorrect( SvxAutoCorrect* pNew )
pAutoCorrect = pNew;
}
}
-/*-- 12.10.00 11:44:17---------------------------------------------------
- -----------------------------------------------------------------------*/
Sequence<OUString> SvxBaseAutoCorrCfg::GetPropertyNames()
{
static const char* aPropNames[] =
@@ -129,9 +127,7 @@ Sequence<OUString> SvxBaseAutoCorrCfg::GetPropertyNames()
pNames[i] = OUString::createFromAscii(aPropNames[i]);
return aNames;
}
-/*-- 12.10.00 11:44:18---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvxBaseAutoCorrCfg::Load(sal_Bool bInit)
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -235,23 +231,17 @@ void SvxBaseAutoCorrCfg::Load(sal_Bool bInit)
}
}
-/*-- 12.10.00 11:44:19---------------------------------------------------
- -----------------------------------------------------------------------*/
SvxBaseAutoCorrCfg::SvxBaseAutoCorrCfg(SvxAutoCorrCfg& rPar) :
utl::ConfigItem(C2U("Office.Common/AutoCorrect")),
rParent(rPar)
{
}
-/*-- 12.10.00 11:44:19---------------------------------------------------
- -----------------------------------------------------------------------*/
SvxBaseAutoCorrCfg::~SvxBaseAutoCorrCfg()
{
}
-/*-- 12.10.00 11:44:20---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvxBaseAutoCorrCfg::Commit()
{
Sequence<OUString> aNames( GetPropertyNames() );
@@ -338,16 +328,12 @@ void SvxBaseAutoCorrCfg::Commit()
}
PutProperties(aNames, aValues);
}
-/*-- 12.10.00 11:44:21---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvxBaseAutoCorrCfg::Notify( const Sequence<OUString>& /* aPropertyNames */)
{
Load(sal_False);
}
-/*-- 12.10.00 11:51:48---------------------------------------------------
- -----------------------------------------------------------------------*/
Sequence<OUString> SvxSwAutoCorrCfg::GetPropertyNames()
{
static const char* aPropNames[] =
@@ -407,9 +393,7 @@ Sequence<OUString> SvxSwAutoCorrCfg::GetPropertyNames()
pNames[i] = OUString::createFromAscii(aPropNames[i]);
return aNames;
}
-/*-- 12.10.00 11:51:48---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvxSwAutoCorrCfg::Load(sal_Bool bInit)
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -556,23 +540,17 @@ void SvxSwAutoCorrCfg::Load(sal_Bool bInit)
}
}
}
-/*-- 12.10.00 11:51:48---------------------------------------------------
- -----------------------------------------------------------------------*/
SvxSwAutoCorrCfg::SvxSwAutoCorrCfg(SvxAutoCorrCfg& rPar) :
utl::ConfigItem(C2U("Office.Writer/AutoFunction")),
rParent(rPar)
{
}
-/*-- 12.10.00 11:51:48---------------------------------------------------
- -----------------------------------------------------------------------*/
SvxSwAutoCorrCfg::~SvxSwAutoCorrCfg()
{
}
-/*-- 12.10.00 11:51:48---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvxSwAutoCorrCfg::Commit()
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -669,9 +647,7 @@ void SvxSwAutoCorrCfg::Commit()
}
PutProperties(aNames, aValues);
}
-/*-- 12.10.00 11:51:49---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvxSwAutoCorrCfg::Notify( const Sequence<OUString>& /* aPropertyNames */ )
{
Load(sal_False);
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index dc02bbf92781..95575fd608bf 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -289,9 +289,6 @@ BOOL SvxAutocorrWordList::Seek_Entry( const SvxAutocorrWordPtr aE, USHORT* pP )
return FALSE;
}
-/* -----------------18.11.98 15:28-------------------
- *
- * --------------------------------------------------*/
void lcl_ClearTable(SvxAutoCorrLanguageTable_Impl& rLangTable)
{
SvxAutoCorrectLanguageListsPtr pLists = rLangTable.Last();
@@ -303,10 +300,6 @@ void lcl_ClearTable(SvxAutoCorrLanguageTable_Impl& rLangTable)
rLangTable.Clear();
}
-/* -----------------03.11.06 10:15-------------------
- *
- * --------------------------------------------------*/
-
sal_Bool SvxAutoCorrect::IsAutoCorrectChar( sal_Unicode cChar )
{
return cChar == '\0' || cChar == '\t' || cChar == 0x0a ||
@@ -322,9 +315,6 @@ sal_Bool SvxAutoCorrect::NeedsHardspaceAutocorr( sal_Unicode cChar )
cChar == '/' /*case for the urls exception*/;
}
-/* -----------------19.11.98 10:15-------------------
- *
- * --------------------------------------------------*/
long SvxAutoCorrect::GetDefaultFlags()
{
long nRet = Autocorrect
@@ -831,10 +821,8 @@ BOOL SvxAutoCorrect::FnCptlSttSntnc( SvxAutoCorrDoc& rDoc,
{
if( lcl_IsInAsciiArr( sImplWordChars, *pStr ) &&
pWordStt - 1 == pStr &&
- // --> FME 2005-02-14 #i38971#
- // l'intallazione at beginning of paragraph. Replaced < by <=
+ // l'intallazione at beginning of paragraph. Replaced < by <= (#i38971#)
(long)(pStart + 1) <= (long)pStr &&
- // <--
rCC.isLetter(
aText,
sal::static_int_cast< xub_StrLen >( pStr-1 - pStart ) ) )
@@ -1754,10 +1742,6 @@ void DecryptBlockName_Imp( String& rName )
}
}
-
-/* -----------------18.11.98 16:00-------------------
- *
- * --------------------------------------------------*/
const SvxAutocorrWord* lcl_SearchWordsInList(
SvxAutoCorrectLanguageListsPtr pList, const String& rTxt,
xub_StrLen& rStt, xub_StrLen nEndPos, SvxAutoCorrDoc& )
@@ -1849,9 +1833,7 @@ const SvxAutocorrWord* SvxAutoCorrect::SearchWordsInList(
}
return 0;
}
-/* -----------------18.11.98 13:46-------------------
- *
- * --------------------------------------------------*/
+
BOOL SvxAutoCorrect::FindInWrdSttExceptList( LanguageType eLang,
const String& sWord )
{
@@ -1893,9 +1875,7 @@ BOOL SvxAutoCorrect::FindInWrdSttExceptList( LanguageType eLang,
}
return FALSE;
}
-/* -----------------18.11.98 14:28-------------------
- *
- * --------------------------------------------------*/
+
BOOL lcl_FindAbbreviation( const SvStringsISortDtor* pList, const String& sWord)
{
String sAbk( '~' );
@@ -1929,9 +1909,7 @@ BOOL lcl_FindAbbreviation( const SvStringsISortDtor* pList, const String& sWord)
"falsch sortierte ExeptionListe?" );
return FALSE;
}
-/* -----------------18.11.98 14:49-------------------
- *
- * --------------------------------------------------*/
+
BOOL SvxAutoCorrect::FindInCplSttExceptList(LanguageType eLang,
const String& sWord, BOOL bAbbreviation)
{
@@ -1980,9 +1958,6 @@ BOOL SvxAutoCorrect::FindInCplSttExceptList(LanguageType eLang,
}
-/* -----------------20.11.98 11:53-------------------
- *
- * --------------------------------------------------*/
String SvxAutoCorrect::GetAutoCorrFileName( LanguageType eLang,
BOOL bNewFile, BOOL bTst ) const
{
@@ -2003,9 +1978,6 @@ String SvxAutoCorrect::GetAutoCorrFileName( LanguageType eLang,
return sRet;
}
-/* -----------------18.11.98 11:16-------------------
- *
- * --------------------------------------------------*/
SvxAutoCorrectLanguageLists::SvxAutoCorrectLanguageLists(
SvxAutoCorrect& rParent,
const String& rShareAutoCorrectFile,
@@ -2022,9 +1994,6 @@ SvxAutoCorrectLanguageLists::SvxAutoCorrectLanguageLists(
{
}
-/* -----------------18.11.98 11:16-------------------
- *
- * --------------------------------------------------*/
SvxAutoCorrectLanguageLists::~SvxAutoCorrectLanguageLists()
{
delete pCplStt_ExcptLst;
@@ -2032,9 +2001,6 @@ SvxAutoCorrectLanguageLists::~SvxAutoCorrectLanguageLists()
delete pAutocorr_List;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
BOOL SvxAutoCorrectLanguageLists::IsFileChanged_Imp()
{
// nur alle 2 Minuten aufs FileSystem zugreifen um den
@@ -2154,9 +2120,7 @@ void SvxAutoCorrectLanguageLists::LoadXMLExceptList_Imp(
}
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
+
void SvxAutoCorrectLanguageLists::SaveExceptList_Imp(
const SvStringsISortDtor& rLst,
const sal_Char* pStrmName,
@@ -2228,9 +2192,7 @@ void SvxAutoCorrectLanguageLists::SaveExceptList_Imp(
}
}
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
+
SvxAutocorrWordList* SvxAutoCorrectLanguageLists::LoadAutocorrWordList()
{
if( pAutocorr_List )
@@ -2277,10 +2239,6 @@ SvxAutocorrWordList* SvxAutoCorrectLanguageLists::LoadAutocorrWordList()
return pAutocorr_List;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
-
void SvxAutoCorrectLanguageLists::SetAutocorrWordList( SvxAutocorrWordList* pList )
{
if( pAutocorr_List && pList != pAutocorr_List )
@@ -2294,27 +2252,20 @@ void SvxAutoCorrectLanguageLists::SetAutocorrWordList( SvxAutocorrWordList* pLis
nFlags |= ChgWordLstLoad;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
const SvxAutocorrWordList* SvxAutoCorrectLanguageLists::GetAutocorrWordList()
{
if( !( ChgWordLstLoad & nFlags ) || IsFileChanged_Imp() )
SetAutocorrWordList( LoadAutocorrWordList() );
return pAutocorr_List;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
+
SvStringsISortDtor* SvxAutoCorrectLanguageLists::GetCplSttExceptList()
{
if( !( CplSttLstLoad & nFlags ) || IsFileChanged_Imp() )
SetCplSttExceptList( LoadCplSttExceptList() );
return pCplStt_ExcptLst;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
+
BOOL SvxAutoCorrectLanguageLists::AddToCplSttExceptList(const String& rNew)
{
String* pNew = new String( rNew );
@@ -2335,9 +2286,7 @@ BOOL SvxAutoCorrectLanguageLists::AddToCplSttExceptList(const String& rNew)
delete pNew, pNew = 0;
return 0 != pNew;
}
-/* -----------------18.11.98 15:20-------------------
- *
- * --------------------------------------------------*/
+
BOOL SvxAutoCorrectLanguageLists::AddToWrdSttExceptList(const String& rNew)
{
String* pNew = new String( rNew );
@@ -2360,9 +2309,6 @@ BOOL SvxAutoCorrectLanguageLists::AddToWrdSttExceptList(const String& rNew)
return 0 != pNew;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
SvStringsISortDtor* SvxAutoCorrectLanguageLists::LoadCplSttExceptList()
{
SotStorageRef xStg = new SotStorage( sShareAutoCorrFile, STREAM_READ | STREAM_SHARE_DENYNONE, TRUE );
@@ -2373,9 +2319,6 @@ SvStringsISortDtor* SvxAutoCorrectLanguageLists::LoadCplSttExceptList()
return pCplStt_ExcptLst;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
void SvxAutoCorrectLanguageLists::SaveCplSttExceptList()
{
MakeUserStorage_Impl();
@@ -2391,9 +2334,6 @@ void SvxAutoCorrectLanguageLists::SaveCplSttExceptList()
aLastCheckTime = Time();
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
void SvxAutoCorrectLanguageLists::SetCplSttExceptList( SvStringsISortDtor* pList )
{
if( pCplStt_ExcptLst && pList != pCplStt_ExcptLst )
@@ -2407,9 +2347,7 @@ void SvxAutoCorrectLanguageLists::SetCplSttExceptList( SvStringsISortDtor* pList
}
nFlags |= CplSttLstLoad;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
+
SvStringsISortDtor* SvxAutoCorrectLanguageLists::LoadWrdSttExceptList()
{
SotStorageRef xStg = new SotStorage( sShareAutoCorrFile, STREAM_READ | STREAM_SHARE_DENYNONE, TRUE );
@@ -2418,9 +2356,7 @@ SvStringsISortDtor* SvxAutoCorrectLanguageLists::LoadWrdSttExceptList()
LoadXMLExceptList_Imp( pWrdStt_ExcptLst, pXMLImplWrdStt_ExcptLstStr, xStg );
return pWrdStt_ExcptLst;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
+
void SvxAutoCorrectLanguageLists::SaveWrdSttExceptList()
{
MakeUserStorage_Impl();
@@ -2434,9 +2370,7 @@ void SvxAutoCorrectLanguageLists::SaveWrdSttExceptList()
&aModifiedDate, &aModifiedTime );
aLastCheckTime = Time();
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
+
void SvxAutoCorrectLanguageLists::SetWrdSttExceptList( SvStringsISortDtor* pList )
{
if( pWrdStt_ExcptLst && pList != pWrdStt_ExcptLst )
@@ -2449,18 +2383,14 @@ void SvxAutoCorrectLanguageLists::SetWrdSttExceptList( SvStringsISortDtor* pList
}
nFlags |= WrdSttLstLoad;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
+
SvStringsISortDtor* SvxAutoCorrectLanguageLists::GetWrdSttExceptList()
{
if( !( WrdSttLstLoad & nFlags ) || IsFileChanged_Imp() )
SetWrdSttExceptList( LoadWrdSttExceptList() );
return pWrdStt_ExcptLst;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
+
void SvxAutoCorrectLanguageLists::RemoveStream_Imp( const String& rName )
{
if( sShareAutoCorrFile != sUserAutoCorrFile )
@@ -2585,9 +2515,6 @@ void SvxAutoCorrectLanguageLists::MakeUserStorage_Impl()
sShareAutoCorrFile = sUserAutoCorrFile;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
BOOL SvxAutoCorrectLanguageLists::MakeBlocklist_Imp( SvStorage& rStg )
{
String sStrmName( pXMLImplAutocorr_ListStr, RTL_TEXTENCODING_MS_1252 );
@@ -2697,9 +2624,6 @@ BOOL SvxAutoCorrectLanguageLists::MakeBlocklist_Imp( SvStorage& rStg )
return bRet;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
BOOL SvxAutoCorrectLanguageLists::PutText( const String& rShort,
const String& rLong )
{
@@ -2751,10 +2675,8 @@ BOOL SvxAutoCorrectLanguageLists::PutText( const String& rShort,
}
return bRet;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
- // - Text mit Attributierung (kann nur der SWG - SWG-Format!)
+
+// Text mit Attributierung (kann nur der SWG - SWG-Format!)
BOOL SvxAutoCorrectLanguageLists::PutText( const String& rShort,
SfxObjectShell& rShell )
{
@@ -2794,10 +2716,7 @@ BOOL SvxAutoCorrectLanguageLists::PutText( const String& rShort,
return bRet;
}
-/* -----------------18.11.98 11:26-------------------
- *
- * --------------------------------------------------*/
- // - loesche einen Eintrag
+// loesche einen Eintrag
BOOL SvxAutoCorrectLanguageLists::DeleteText( const String& rShort )
{
// erstmal akt. Liste besorgen!
diff --git a/editeng/source/misc/txtrange.cxx b/editeng/source/misc/txtrange.cxx
index cccda2c1f523..12b6510947ca 100644
--- a/editeng/source/misc/txtrange.cxx
+++ b/editeng/source/misc/txtrange.cxx
@@ -122,12 +122,10 @@ TextRanger::~TextRanger()
delete mpLinePolyPolygon;
}
-/*-----------------17.11.00 09:49-------------------
- * TextRanger::SetVertical(..)
- * If there's is a change in the writing direction,
- * the cache has to be cleared.
- * --------------------------------------------------*/
-
+/* TextRanger::SetVertical(..)
+ If there's is a change in the writing direction,
+ the cache has to be cleared.
+*/
void TextRanger::SetVertical( BOOL bNew )
{
if( IsVertical() != bNew )
diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx
index 0a786cff44b7..61bd21427ead 100644
--- a/editeng/source/outliner/outlin2.cxx
+++ b/editeng/source/outliner/outlin2.cxx
@@ -777,37 +777,27 @@ BOOL Outliner::IsForceAutoColor() const
DBG_CHKTHIS(Outliner,0);
return pEditEngine->IsForceAutoColor();
}
-/*-- 13.10.2003 16:56:23---------------------------------------------------
- -----------------------------------------------------------------------*/
void Outliner::StartSpelling(EditView& rEditView, sal_Bool bMultipleDoc)
{
pEditEngine->StartSpelling(rEditView, bMultipleDoc);
}
-/*-- 13.10.2003 16:56:23---------------------------------------------------
- -----------------------------------------------------------------------*/
void Outliner::EndSpelling()
{
pEditEngine->EndSpelling();
}
-/*-- 13.10.2003 16:56:23---------------------------------------------------
- -----------------------------------------------------------------------*/
bool Outliner::SpellSentence(EditView& rEditView, ::svx::SpellPortions& rToFill, bool bIsGrammarChecking )
{
return pEditEngine->SpellSentence(rEditView, rToFill, bIsGrammarChecking );
}
-/*-- 08.09.2008 11:39:05---------------------------------------------------
- -----------------------------------------------------------------------*/
void Outliner::PutSpellingToSentenceStart( EditView& rEditView )
{
pEditEngine->PutSpellingToSentenceStart( rEditView );
}
-/*-- 13.10.2003 16:56:25---------------------------------------------------
- -----------------------------------------------------------------------*/
void Outliner::ApplyChangedSentence(EditView& rEditView, const ::svx::SpellPortions& rNewPortions, bool bRecheck )
{
pEditEngine->ApplyChangedSentence( rEditView, rNewPortions, bRecheck );
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index ab4d6a18f657..7f2a92a1492d 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -2019,9 +2019,7 @@ void SvxRTFParser::SetDefault( int nToken, int nValue )
// Verhaeltnis der def. TabWidth / Tabs errechnen und
// enstsprechend die neue Anzahl errechnen.
-/*-----------------14.12.94 19:32-------------------
- ?? wie kommt man auf die 13 ??
---------------------------------------------------*/
+ // ?? wie kommt man auf die 13 ??
USHORT nAnzTabs = (SVX_TAB_DEFDIST * 13 ) / USHORT(nValue);
/*
cmc, make sure we have at least one, or all hell breaks loose in
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 4c9aadfdae98..2f0f19c63b4f 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -2290,9 +2290,7 @@ uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextBase::appendTextPortion(
}
return xRet;
}
-/*-- 25.03.2008 08:16:09---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvxUnoTextBase::copyText(
const uno::Reference< text::XTextCopy >& xSource ) throw ( uno::RuntimeException )
{