diff options
Diffstat (limited to 'sw/source/ui/dbui/dbtree.cxx')
-rw-r--r-- | sw/source/ui/dbui/dbtree.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sw/source/ui/dbui/dbtree.cxx b/sw/source/ui/dbui/dbtree.cxx index 1e0a1faf1cbc..4b31760592e8 100644 --- a/sw/source/ui/dbui/dbtree.cxx +++ b/sw/source/ui/dbui/dbtree.cxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -228,12 +228,12 @@ SwDBTreeList::SwDBTreeList(Window *pParent, const ResId& rResId, SwWrtShell* pSh, const String& rDefDBName, const BOOL bShowCol): - SvTreeListBox (pParent, rResId), + SvTreeListBox (pParent, rResId), aImageList (SW_RES(ILIST_DB_DLG )), aImageListHC (SW_RES(ILIST_DB_DLG_HC )), - sDefDBName (rDefDBName), + sDefDBName (rDefDBName), bInitialized (FALSE), - bShowColumns (bShowCol), + bShowColumns (bShowCol), pImpl(new SwDBTreeList_Impl(pSh)) { SetHelpId(HID_DB_SELECTION_TLB); @@ -324,7 +324,7 @@ void SwDBTreeList::ShowColumns(BOOL bShowCol) while (pEntry) { pEntry = (SvLBoxEntry*)GetRootLevelParent( pEntry ); - Collapse(pEntry); // zuklappen + Collapse(pEntry); // zuklappen SvLBoxEntry* pChild; while ((pChild = FirstChild(pEntry)) != 0L) @@ -335,7 +335,7 @@ void SwDBTreeList::ShowColumns(BOOL bShowCol) if (sDBName.Len()) { - Select(sDBName, sTableName, sColumnName); // force RequestingChilds + Select(sDBName, sTableName, sColumnName); // force RequestingChilds } SetUpdateMode(TRUE); } @@ -349,7 +349,7 @@ void SwDBTreeList::RequestingChilds(SvLBoxEntry* pParent) { if (!pParent->HasChilds()) { - if (GetParent(pParent)) // column names + if (GetParent(pParent)) // column names { try { @@ -419,7 +419,7 @@ void SwDBTreeList::RequestingChilds(SvLBoxEntry* pParent) { } } - else // Tabellennamen + else // Tabellennamen { try { @@ -487,9 +487,9 @@ IMPL_LINK( SwDBTreeList, DBCompare, SvSortData*, pData ) SvLBoxEntry* pRight = (SvLBoxEntry*)(pData->pRight ); if (GetParent(pRight) && GetParent(GetParent(pRight))) - return COMPARE_GREATER; // Spaltennamen nicht sortieren + return COMPARE_GREATER; // Spaltennamen nicht sortieren - return DefaultCompare(pData); // Sonst Basisklasse rufen + return DefaultCompare(pData); // Sonst Basisklasse rufen } /*------------------------------------------------------------------------ @@ -506,7 +506,7 @@ String SwDBTreeList::GetDBName(String& rTableName, String& rColumnName, BOOL* p if (GetParent(GetParent(pEntry))) { rColumnName = GetEntryText(pEntry); - pEntry = GetParent(pEntry); // Spaltenname war selektiert + pEntry = GetParent(pEntry); // Spaltenname war selektiert } sDBName = GetEntryText(GetParent(pEntry)); if(pbIsTable) @@ -519,7 +519,7 @@ String SwDBTreeList::GetDBName(String& rTableName, String& rColumnName, BOOL* p } /*------------------------------------------------------------------------ - Beschreibung: Format: Datenbank.Tabelle + Beschreibung: Format: Datenbank.Tabelle ------------------------------------------------------------------------*/ |