Kaydet (Commit) d008ebbe authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Check for empty URLs after all, to avoid warnings from canonic().

üst 43805457
......@@ -483,6 +483,9 @@ bool utl::UCBContentHelper::IsSubPath(
bool utl::UCBContentHelper::EqualURLs(
rtl::OUString const & url1, rtl::OUString const & url2)
{
if (url1.isEmpty() || url2.isEmpty()) {
return false;
}
ucbhelper::ContentBroker * broker = ucbhelper::ContentBroker::get();
if (broker == 0) {
throw css::uno::RuntimeException(
......
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