summaryrefslogtreecommitdiff
path: root/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/pkgchk/unopkg/unopkg_misc.cxx')
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_misc.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
index 2e1fbcb45044..6cad2723cf8e 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
@@ -212,7 +212,7 @@ OUString makeAbsoluteFileUrl(
else if (throw_exc)
{
throw RuntimeException("cannot get file url from system path: " +
- sys_path, Reference< XInterface >() );
+ sys_path );
}
}
@@ -227,8 +227,7 @@ OUString makeAbsoluteFileUrl(
buf.appendAscii( "\" (base-url) and \"" );
buf.append( file_url );
buf.appendAscii( "\" (file-url)!" );
- throw RuntimeException(
- buf.makeStringAndClear(), Reference< XInterface >() );
+ throw RuntimeException( buf.makeStringAndClear() );
}
return OUString();
}