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

Various clean up of previous commit

üst c2fd9b53
......@@ -1268,7 +1268,7 @@ void ServiceManager::readRdbFile(rtl::OUString const & uri, bool optional) {
try {
Parser(
uri, css::uno::Reference< css::uno::XComponentContext >(), &data_);
} catch (css::container::NoSuchElementException &SB) {
} catch (css::container::NoSuchElementException &) {
if (!optional) {
throw css::uno::DeploymentException(
uri + ": no such file",
......@@ -1279,7 +1279,7 @@ void ServiceManager::readRdbFile(rtl::OUString const & uri, bool optional) {
throw css::uno::DeploymentException(
"InvalidRegistryException: " + e.Message,
static_cast< cppu::OWeakObject * >(this));
} catch (css::uno::RuntimeException &SB) {
} catch (css::uno::RuntimeException &) {
if (!readLegacyRdbFile(uri)) {
throw;
}
......@@ -1593,7 +1593,7 @@ bool ServiceManager::removeLegacyFactory(
css::uno::Reference< css::lang::XComponent > comp;
{
osl::MutexGuard g(rBHelper.rMutex);
DynamicImplementations::const_iterator i(
DynamicImplementations::iterator i(
data_.dynamicImplementations.find(factoryInfo));
if (i == data_.dynamicImplementations.end()) {
return isDisposed();
......
......@@ -374,7 +374,7 @@ void addFactories(
} // namespace
SAL_DLLPUBLIC_EXPORT Reference< lang::XMultiComponentFactory > bootstrapInitialSF(
Reference< lang::XMultiComponentFactory > bootstrapInitialSF(
OUString const & rBootstrapPath )
SAL_THROW( (Exception) )
{
......
......@@ -53,6 +53,7 @@ void add_access_control_entries(
rtl::Bootstrap const & bootstrap)
SAL_THROW((com::sun::star::uno::Exception));
SAL_DLLPUBLIC_EXPORT
com::sun::star::uno::Reference< com::sun::star::lang::XMultiComponentFactory >
bootstrapInitialSF(rtl::OUString const & rBootstrapPath)
SAL_THROW((com::sun::star::uno::Exception));
......
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