'/' appearing in java classpath list
regression from...
commit 2f6b3fb0f3
Date: Wed Apr 25 18:21:46 2018 +0200
Avoid comphelper::string::getTokenCount()
Change-Id: I5bbfa38d8cceb56fe03282c89039ab30cf108204
Reviewed-on: https://gerrit.libreoffice.org/54422
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -1001,6 +1001,8 @@ void SvxJavaClassPathDlg::SetClassPath( const OUString& _rPath )
|
||||
if ( m_sOldPath.isEmpty() )
|
||||
m_sOldPath = _rPath;
|
||||
m_xPathList->clear();
|
||||
if (!_rPath.isEmpty())
|
||||
{
|
||||
sal_Int32 nIdx = 0;
|
||||
do
|
||||
{
|
||||
@@ -1010,6 +1012,7 @@ void SvxJavaClassPathDlg::SetClassPath( const OUString& _rPath )
|
||||
m_xPathList->append("", sPath, SvFileInformationManager::GetImageId(aURL));
|
||||
}
|
||||
while (nIdx>=0);
|
||||
}
|
||||
// select first entry
|
||||
m_xPathList->select(0);
|
||||
SelectHdl_Impl(*m_xPathList);
|
||||
|
Reference in New Issue
Block a user