diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 007d39537d63..72888568ff68 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -292,7 +292,7 @@ OUString EditorWindow::GetWordAtCursor() { OUString aURL( URIHelper::FindFirstURLInText( aText, nStart, nEnd, aClass ) ); INetURLObject aURLObj( aURL ); - if ( aURLObj.GetProtocol() == INetProtocol::VND_SUN_STAR_HELP + if ( aURLObj.GetProtocol() == INetProtocol::VndSunStarHelp && nSelStart >= nStart && nSelStart <= nEnd && nSelEnd >= nStart && nSelEnd <= nEnd ) { aWord = aURL; diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 058fd97e3ab2..114cfd0bda2d 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -1269,7 +1269,7 @@ void LibPage::ExportAsBasic( const OUString& aLibName ) if( aPath.isEmpty() ) aPath = SvtPathOptions().GetWorkPath(); - // INetURLObject aURL(m_sSavePath, INetProtocol::FILE); + // INetURLObject aURL(m_sSavePath, INetProtocol::File); xFolderPicker->setDisplayDirectory( aPath ); short nRet = xFolderPicker->execute(); if( nRet == RET_OK ) |