summaryrefslogtreecommitdiff
path: root/sd/source/filter/html/htmlex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/html/htmlex.cxx')
-rw-r--r--sd/source/filter/html/htmlex.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 3bdbae53f114..e943858fdea4 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -607,7 +607,7 @@ void HtmlExport::InitExportParameters( const Sequence< PropertyValue >& rParams
// we come up with a destination...
INetURLObject aINetURLObj( maPath );
- DBG_ASSERT( aINetURLObj.GetProtocol() != INET_PROT_NOT_VALID, "invalid URL" );
+ DBG_ASSERT( aINetURLObj.GetProtocol() != INetProtocol::NOT_VALID, "invalid URL" );
maExportPath = aINetURLObj.GetPartBeforeLastName(); // with trailing '/'
maIndex = aINetURLObj.GetLastName();
@@ -3031,7 +3031,7 @@ OUString HtmlExport::InsertSound( const OUString& rSoundFile )
INetURLObject aURL( rSoundFile );
OUString aSoundFileName = aURL.getName();
- DBG_ASSERT( aURL.GetProtocol() != INET_PROT_NOT_VALID, "invalid URL" );
+ DBG_ASSERT( aURL.GetProtocol() != INetProtocol::NOT_VALID, "invalid URL" );
OUString aStr("<embed src=\"" + aSoundFileName +
"\" hidden=\"true\" autostart=\"true\">");
@@ -3203,13 +3203,13 @@ sal_uLong EasyFile::createFileName( const OUString& rURL, OUString& rFileName )
{
INetURLObject aURL( rURL );
- if( aURL.GetProtocol() == INET_PROT_NOT_VALID )
+ if( aURL.GetProtocol() == INetProtocol::NOT_VALID )
{
OUString aURLStr;
::utl::LocalFileHelper::ConvertPhysicalNameToURL( rURL, aURLStr );
aURL = INetURLObject( aURLStr );
}
- DBG_ASSERT( aURL.GetProtocol() != INET_PROT_NOT_VALID, "invalid URL" );
+ DBG_ASSERT( aURL.GetProtocol() != INetProtocol::NOT_VALID, "invalid URL" );
rFileName = aURL.GetMainURL( INetURLObject::NO_DECODE );
}