https://bz.apache.org/ooo/show_bug.cgi?id=60217

Czesław Wolański <czeslaw.wolan...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |czeslaw.wolan...@gmail.com

--- Comment #9 from Czesław Wolański <czeslaw.wolan...@gmail.com> ---
1. Truncated string
It was fixed in version 3.0.0
(cf. the attached file "juxtaVER.jpeg")


2. A spurious colon
ralphie, comment #4
> Furthermore, if there is no database selected, there is
> a spurious colon after this sentence, see:
> 
> http://www.pangea.at/%7eralph/datenbank-austauschen.png

If no database is selected, there is a colon after the "sentence".
And the program unnecessarily displays a dot character.
(cf. the attached file "Period.jpg").


the source file: changedb.cxx
http://openoffice-vm1-he-de.apache.org/xref/trunk/main/sw/source/ui/fldui/changedb.cxx?r=efeef26f#333

333 void SwChangeDBDlg::ShowDBName(const SwDBData& rDBData)
334  {
335     String sTmp(rDBData.sDataSource);
336     String sName;
337     sTmp += '.';
338     sTmp += (String)rDBData.sCommand;
339
340     for (sal_uInt16 i = 0; i < sTmp.Len(); i++)
341     {
342             sName += sTmp.GetChar(i);
343             if (sTmp.GetChar(i) == '~')
344             sName += '~';
345     }
346  
347     aDocDBNameFT.SetText(sName);
348  }


Look at the lines 335 - 338
I am not a software developer...
but if the properties "sDataSource" and "sCommand" are empty
then the programm should set the "sName" variable to empty
otherwise proceed as usual.

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.

Reply via email to