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&
{
if( !rURL.isEmpty() &&
(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("ftp:") ) != 0))
{
......
......@@ -129,7 +129,7 @@ void XMLFilterJarHelper::addFile( Reference< XInterface > xRootFolder, Reference
{
if( !rSourceFile.isEmpty() &&
(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("ftp:") ) != 0))
{
......
......@@ -57,7 +57,7 @@ XMLFilterTabPageXSLT::XMLFilterTabPageXSLT( Window* pParent, ResMgr& rResMgr, co
maCBNeedsXSLT2( this, ResId (CB_XML_NEEDS_XSLT2, rResMgr ) ),
sHTTPSchema( "http://" ),
sSHTTPSchema( "shttp://" ),
sSHTTPSchema( "https://" ),
sFILESchema( "file://" ),
sFTPSchema( "ftp://" ),
sInstPath( "$(prog)/" )
......@@ -128,7 +128,7 @@ void XMLFilterTabPageXSLT::SetURL( SvtURLBox& rURLBox, const OUString& rURL )
rURLBox.SetText( aPath );
}
else if( rURL.matchIgnoreAsciiCase( "http://" ) ||
rURL.matchIgnoreAsciiCase( "shttp://" ) ||
rURL.matchIgnoreAsciiCase( "https://" ) ||
rURL.matchIgnoreAsciiCase( "ftp://" ) )
{
rURLBox.SetBaseURL( rURL );
......@@ -156,7 +156,7 @@ OUString XMLFilterTabPageXSLT::GetURL( SvtURLBox& rURLBox )
OUString aURL;
OUString aStrPath ( rURLBox.GetText() );
if( aStrPath.matchIgnoreAsciiCase( "http://" ) ||
aStrPath.matchIgnoreAsciiCase( "shttp://" ) ||
aStrPath.matchIgnoreAsciiCase( "https://" ) ||
aStrPath.matchIgnoreAsciiCase( "ftp://" ) )
{
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