Skip to content

Commit

Permalink
translated Comment
Browse files Browse the repository at this point in the history
A . is only added if both Variables are filled.
  • Loading branch information
leginee committed Sep 20, 2022
1 parent 6c1cb8e commit e86bf17
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions main/sw/source/ui/fldui/changedb.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -327,14 +327,16 @@ IMPL_LINK( SwChangeDBDlg, TreeSelectHdl, SvTreeListBox *, EMPTYARG )
}

/*--------------------------------------------------------------------
Beschreibung: Datenbankname fuer Anzeige wandeln
Description: transfrom Datenbasename for screen
--------------------------------------------------------------------*/

void SwChangeDBDlg::ShowDBName(const SwDBData& rDBData)
{
String sTmp(rDBData.sDataSource);
String sName;
sTmp += '.';
String sTmp(rDBData.sDataSource);
if (rDBData.sDataSource.is() and rDBData.sCommand.is()) {
sTmp += '.';
}
sTmp += (String)rDBData.sCommand;

for (sal_uInt16 i = 0; i < sTmp.Len(); i++)
Expand Down

0 comments on commit e86bf17

Please sign in to comment.