Kaydet (Commit) 763e94b5 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

protocol shttp is not defined yet

Change-Id: I67678f8a16d051427a7c36f3a46d46f296109e3b
üst 919e2774
...@@ -46,7 +46,7 @@ static OUString createRelativeURL( const OUString& rFilterName, const OUString& ...@@ -46,7 +46,7 @@ static OUString createRelativeURL( const OUString& rFilterName, const OUString&
{ {
if( !rURL.isEmpty() && if( !rURL.isEmpty() &&
(rURL.compareToAscii( RTL_CONSTASCII_STRINGPARAM("http:") ) != 0) && (rURL.compareToAscii( RTL_CONSTASCII_STRINGPARAM("http:") ) != 0) &&
(rURL.compareToAscii( RTL_CONSTASCII_STRINGPARAM("shttp:") ) != 0) && (rURL.compareToAscii( RTL_CONSTASCII_STRINGPARAM("https:") ) != 0) &&
(rURL.compareToAscii( RTL_CONSTASCII_STRINGPARAM("jar:") ) != 0) && (rURL.compareToAscii( RTL_CONSTASCII_STRINGPARAM("jar:") ) != 0) &&
(rURL.compareToAscii( RTL_CONSTASCII_STRINGPARAM("ftp:") ) != 0)) (rURL.compareToAscii( RTL_CONSTASCII_STRINGPARAM("ftp:") ) != 0))
{ {
......
...@@ -129,7 +129,7 @@ void XMLFilterJarHelper::addFile( Reference< XInterface > xRootFolder, Reference ...@@ -129,7 +129,7 @@ void XMLFilterJarHelper::addFile( Reference< XInterface > xRootFolder, Reference
{ {
if( !rSourceFile.isEmpty() && if( !rSourceFile.isEmpty() &&
(rSourceFile.compareToAscii( RTL_CONSTASCII_STRINGPARAM("http:") ) != 0) && (rSourceFile.compareToAscii( RTL_CONSTASCII_STRINGPARAM("http:") ) != 0) &&
(rSourceFile.compareToAscii( RTL_CONSTASCII_STRINGPARAM("shttp:") ) != 0) && (rSourceFile.compareToAscii( RTL_CONSTASCII_STRINGPARAM("https:") ) != 0) &&
(rSourceFile.compareToAscii( RTL_CONSTASCII_STRINGPARAM("jar:") ) != 0) && (rSourceFile.compareToAscii( RTL_CONSTASCII_STRINGPARAM("jar:") ) != 0) &&
(rSourceFile.compareToAscii( RTL_CONSTASCII_STRINGPARAM("ftp:") ) != 0)) (rSourceFile.compareToAscii( RTL_CONSTASCII_STRINGPARAM("ftp:") ) != 0))
{ {
......
...@@ -57,7 +57,7 @@ XMLFilterTabPageXSLT::XMLFilterTabPageXSLT( Window* pParent, ResMgr& rResMgr, co ...@@ -57,7 +57,7 @@ XMLFilterTabPageXSLT::XMLFilterTabPageXSLT( Window* pParent, ResMgr& rResMgr, co
maCBNeedsXSLT2( this, ResId (CB_XML_NEEDS_XSLT2, rResMgr ) ), maCBNeedsXSLT2( this, ResId (CB_XML_NEEDS_XSLT2, rResMgr ) ),
sHTTPSchema( "http://" ), sHTTPSchema( "http://" ),
sSHTTPSchema( "shttp://" ), sSHTTPSchema( "https://" ),
sFILESchema( "file://" ), sFILESchema( "file://" ),
sFTPSchema( "ftp://" ), sFTPSchema( "ftp://" ),
sInstPath( "$(prog)/" ) sInstPath( "$(prog)/" )
...@@ -128,7 +128,7 @@ void XMLFilterTabPageXSLT::SetURL( SvtURLBox& rURLBox, const OUString& rURL ) ...@@ -128,7 +128,7 @@ void XMLFilterTabPageXSLT::SetURL( SvtURLBox& rURLBox, const OUString& rURL )
rURLBox.SetText( aPath ); rURLBox.SetText( aPath );
} }
else if( rURL.matchIgnoreAsciiCase( "http://" ) || else if( rURL.matchIgnoreAsciiCase( "http://" ) ||
rURL.matchIgnoreAsciiCase( "shttp://" ) || rURL.matchIgnoreAsciiCase( "https://" ) ||
rURL.matchIgnoreAsciiCase( "ftp://" ) ) rURL.matchIgnoreAsciiCase( "ftp://" ) )
{ {
rURLBox.SetBaseURL( rURL ); rURLBox.SetBaseURL( rURL );
...@@ -156,7 +156,7 @@ OUString XMLFilterTabPageXSLT::GetURL( SvtURLBox& rURLBox ) ...@@ -156,7 +156,7 @@ OUString XMLFilterTabPageXSLT::GetURL( SvtURLBox& rURLBox )
OUString aURL; OUString aURL;
OUString aStrPath ( rURLBox.GetText() ); OUString aStrPath ( rURLBox.GetText() );
if( aStrPath.matchIgnoreAsciiCase( "http://" ) || if( aStrPath.matchIgnoreAsciiCase( "http://" ) ||
aStrPath.matchIgnoreAsciiCase( "shttp://" ) || aStrPath.matchIgnoreAsciiCase( "https://" ) ||
aStrPath.matchIgnoreAsciiCase( "ftp://" ) ) aStrPath.matchIgnoreAsciiCase( "ftp://" ) )
{ {
return aStrPath; return aStrPath;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment