ucblockbytes.cxx (b5088357) | ucblockbytes.cxx (74cbd1f1) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 939 unchanged lines hidden (view full) --- 948 949 Reference<XContentIdentifier> xContId( 950 xContent.is() ? xContent->getIdentifier() : 0 ); 951 952 rtl::OUString aScheme; 953 if(xContId.is()) 954 aScheme = xContId->getContentProviderScheme(); 955 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 939 unchanged lines hidden (view full) --- 948 949 Reference<XContentIdentifier> xContId( 950 xContent.is() ? xContent->getIdentifier() : 0 ); 951 952 rtl::OUString aScheme; 953 if(xContId.is()) 954 aScheme = xContId->getContentProviderScheme(); 955 |
956 // now determine wether we use a timeout or not; | 956 // now determine whether we use a timeout or not; |
957 if( ! aScheme.equalsIgnoreAsciiCaseAscii("http") && 958 ! aScheme.equalsIgnoreAsciiCaseAscii("https") && 959 ! aScheme.equalsIgnoreAsciiCaseAscii("vnd.sun.star.webdav") && 960 ! aScheme.equalsIgnoreAsciiCaseAscii("ftp")) 961 return _UCBOpenContentSync( 962 xLockBytes,xContent,rArg,xSink,xInteract,xProgress,xHandler); 963 964 if ( (aScheme.compareToAscii( "http" ) != COMPARE_EQUAL) || --- 787 unchanged lines hidden --- | 957 if( ! aScheme.equalsIgnoreAsciiCaseAscii("http") && 958 ! aScheme.equalsIgnoreAsciiCaseAscii("https") && 959 ! aScheme.equalsIgnoreAsciiCaseAscii("vnd.sun.star.webdav") && 960 ! aScheme.equalsIgnoreAsciiCaseAscii("ftp")) 961 return _UCBOpenContentSync( 962 xLockBytes,xContent,rArg,xSink,xInteract,xProgress,xHandler); 963 964 if ( (aScheme.compareToAscii( "http" ) != COMPARE_EQUAL) || --- 787 unchanged lines hidden --- |