This patch removes bogus comments found in the fldmgr.cxx file
including empty Beschreibung (translation: description) statements
Signed-off-by: Prashant Shah <[email protected]>
---
sw/source/ui/fldui/fldmgr.cxx | 41 +----------------------------------------
1 files changed, 1 insertions(+), 40 deletions(-)
diff --git a/sw/source/ui/fldui/fldmgr.cxx b/sw/source/ui/fldui/fldmgr.cxx
index d960736..e3c8db3 100644
--- a/sw/source/ui/fldui/fldmgr.cxx
+++ b/sw/source/ui/fldui/fldmgr.cxx
@@ -250,7 +250,6 @@ static const SwFldPack __FAR_DATA aSwFlds[] =
/*--------------------------------------------------------------------
Beschreibung: Zugriff auf die Shell
--------------------------------------------------------------------*/
-
static SwWrtShell* lcl_GetShell()
{
SwView* pView;
@@ -266,7 +265,6 @@ inline USHORT GetPackCount() { return sizeof(aSwFlds) / sizeof(SwFldPack); }
Beschreibung: FieldManager regelt das Einfuegen und Updaten
von Feldern
--------------------------------------------------------------------*/
-
SwFldMgr::SwFldMgr(SwWrtShell* pSh ) :
pModule(0),
pMacroItem(0),
@@ -277,7 +275,6 @@ SwFldMgr::SwFldMgr(SwWrtShell* pSh ) :
GetCurFld();
}
-
SwFldMgr::~SwFldMgr()
{
}
@@ -285,7 +282,6 @@ SwFldMgr::~SwFldMgr()
/*--------------------------------------------------------------------
Beschreibung: RefMark ueber Namen organisieren
--------------------------------------------------------------------*/
-
BOOL SwFldMgr::CanInsertRefMark( const String& rStr )
{
BOOL bRet = FALSE;
@@ -307,7 +303,6 @@ BOOL SwFldMgr::CanInsertRefMark( const String& rStr )
/*--------------------------------------------------------------------
Beschreibung: Zugriff ueber ResIds
--------------------------------------------------------------------*/
-
void SwFldMgr::RemoveFldType(USHORT nResId, const String& rName )
{
SwWrtShell * pSh = pWrtShell ? pWrtShell : lcl_GetShell();
@@ -386,8 +381,6 @@ SwField* SwFldMgr::GetCurFld()
/*--------------------------------------------------------------------
Beschreibung: Gruppen-Bereich liefern
--------------------------------------------------------------------*/
-
-
const SwFldGroupRgn& SwFldMgr::GetGroupRange(BOOL bHtmlMode, USHORT nGrpId) const
{
static SwFldGroupRgn __READONLY_DATA aRanges[] =
@@ -418,7 +411,6 @@ static SwFldGroupRgn __READONLY_DATA aWebRanges[] =
/*--------------------------------------------------------------------
Beschreibung: GroupId bestimmen
--------------------------------------------------------------------*/
-
USHORT SwFldMgr::GetGroup(BOOL bHtmlMode, USHORT nTypeId, USHORT nSubType) const
{
if (nTypeId == TYP_SETINPFLD)
@@ -449,15 +441,12 @@ USHORT SwFldMgr::GetGroup(BOOL bHtmlMode, USHORT nTypeId, USHORT nSubType) const
Beschreibung: Namen zur TypeId ermitteln
ZUGRIFF ueber TYP_....
--------------------------------------------------------------------*/
-
-
USHORT SwFldMgr::GetTypeId(USHORT nPos)
{
ASSERT(nPos < ::GetPackCount(), "unzulaessige Pos");
return aSwFlds[ nPos ].nTypeId;
}
-
const String& SwFldMgr::GetTypeStr(USHORT nPos)
{
ASSERT(nPos < ::GetPackCount(), "unzulaessige TypeId");
@@ -482,8 +471,6 @@ const String& SwFldMgr::GetTypeStr(USHORT nPos)
/*--------------------------------------------------------------------
Beschreibung: Pos in der Liste bestimmen
--------------------------------------------------------------------*/
-
-
USHORT SwFldMgr::GetPos(USHORT nTypeId)
{
switch( nTypeId )
@@ -504,7 +491,6 @@ USHORT SwFldMgr::GetPos(USHORT nTypeId)
/*--------------------------------------------------------------------
Beschreibung: Subtypen eines Feldes lokalisieren
--------------------------------------------------------------------*/
-
BOOL SwFldMgr::GetSubTypes(USHORT nTypeId, SvStringsDtor& rToFill)
{
BOOL bRet = FALSE;
@@ -614,8 +600,6 @@ BOOL SwFldMgr::GetSubTypes(USHORT nTypeId, SvStringsDtor& rToFill)
Beschreibung: Format ermitteln
ZUGRIFF ueber TYP_....
--------------------------------------------------------------------*/
-
-
USHORT SwFldMgr::GetFormatCount(USHORT nTypeId, BOOL bIsText, BOOL bHtmlMode) const
{
ASSERT(nTypeId < TYP_END, "unzulaessige TypeId");
@@ -671,8 +655,6 @@ USHORT SwFldMgr::GetFormatCount(USHORT nTypeId, BOOL bIsText, BOOL bHtmlMode) co
/*--------------------------------------------------------------------
Beschreibung: FormatString zu einem Typ ermitteln
--------------------------------------------------------------------*/
-
-
String SwFldMgr::GetFormatStr(USHORT nTypeId, ULONG nFormatId) const
{
String aRet;
@@ -722,7 +704,6 @@ String SwFldMgr::GetFormatStr(USHORT nTypeId, ULONG nFormatId) const
/*--------------------------------------------------------------------
Beschreibung: FormatId aus Pseudo-ID ermitteln
--------------------------------------------------------------------*/
-
USHORT SwFldMgr::GetFormatId(USHORT nTypeId, ULONG nFormatId) const
{
USHORT nId = (USHORT)nFormatId;
@@ -802,8 +783,6 @@ USHORT SwFldMgr::GetFormatId(USHORT nTypeId, ULONG nFormatId) const
/*--------------------------------------------------------------------
Beschreibung: Traveling
--------------------------------------------------------------------*/
-
-
BOOL SwFldMgr::GoNextPrev( BOOL bNext, SwFieldType* pTyp )
{
SwWrtShell* pSh = pWrtShell ? pWrtShell : ::lcl_GetShell();
@@ -831,8 +810,6 @@ BOOL SwFldMgr::GoNextPrev( BOOL bNext, SwFieldType* pTyp )
/*--------------------------------------------------------------------
Beschreibung: Feldtypen einfuegen
--------------------------------------------------------------------*/
-
-
void SwFldMgr::InsertFldType(SwFieldType& rType)
{
SwWrtShell* pSh = pWrtShell ? pWrtShell : ::lcl_GetShell();
@@ -844,8 +821,6 @@ void SwFldMgr::InsertFldType(SwFieldType& rType)
/*--------------------------------------------------------------------
Beschreibung: Aktuelle TypeId ermitteln
--------------------------------------------------------------------*/
-
-
USHORT SwFldMgr::GetCurTypeId() const
{
return pCurFld ? pCurFld->GetTypeId() : USHRT_MAX;
@@ -854,8 +829,6 @@ USHORT SwFldMgr::GetCurTypeId() const
/*--------------------------------------------------------------------
Beschreibung: Ueber String Feld einfuegen oder Update
--------------------------------------------------------------------*/
-
-
BOOL SwFldMgr::InsertFld( const SwInsertFld_Data& rData )
{
SwField* pFld = 0;
@@ -1417,8 +1390,6 @@ BOOL SwFldMgr::InsertFld( const SwInsertFld_Data& rData )
/*--------------------------------------------------------------------
Beschreibung: Felder Update
--------------------------------------------------------------------*/
-
-
void SwFldMgr::UpdateCurFld(ULONG nFormat,
const String& rPar1,
const String& rPar2,
@@ -1607,6 +1578,7 @@ void SwFldMgr::EvalExpFlds(SwWrtShell* pSh)
pSh->EndAllAction();
}
}
+
USHORT SwFldMgr::GetCurrLanguage() const
{
SwWrtShell* pSh = pWrtShell ? pWrtShell : ::lcl_GetShell();
@@ -1675,10 +1647,6 @@ void SwFieldType::_GetFldName()
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
BOOL SwFldMgr::ChooseMacro(const String&)
{
BOOL bRet = FALSE;
@@ -1724,10 +1692,6 @@ void SwFldMgr::SetMacroPath(const String& rPath)
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
ULONG SwFldMgr::GetDefaultFormat(USHORT nTypeId, BOOL bIsText, SvNumberFormatter* pFormatter, double* pVal)
{
double fValue;
@@ -1774,9 +1738,6 @@ ULONG SwFldMgr::GetDefaultFormat(USHORT nTypeId, BOOL bIsText, SvNumberFormatter
return pFormatter->GetStandardFormat(nDefFormat, GetCurrLanguage());
}
-/* -----------------------------01.03.01 16:46--------------------------------
-
- ---------------------------------------------------------------------------*/
Reference<XNumberingTypeInfo> SwFldMgr::GetNumberingInfo() const
{
if(!xNumberingInfo.is())
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice