summaryrefslogtreecommitdiff
path: root/shell/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-28 10:25:22 +0200
committerNoel Grandin <noel@peralex.com>2014-05-29 09:01:40 +0200
commitf0ae48b684e89acd7088c31a8feff5fc03d51105 (patch)
treec2560690a0d7ba016ff832cd1561da5d4532c6d9 /shell/source
parent7e4c6e1ff1961ad7a48cc9c1d9b3668372c6aed8 (diff)
remove unnecessary NULL parameter passed to UNO Exception
.. now that we have a default value for that parameter Change-Id: I54d6b0a0a01ce2f2e5168ada0c427424de0477bc
Diffstat (limited to 'shell/source')
-rw-r--r--shell/source/backends/gconfbe/gconfaccess.cxx4
-rw-r--r--shell/source/sessioninstall/SyncDbusSessionHelper.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx
index da2096062280..5add3bb6765b 100644
--- a/shell/source/backends/gconfbe/gconfaccess.cxx
+++ b/shell/source/backends/gconfbe/gconfaccess.cxx
@@ -65,13 +65,13 @@ GConfClient* getGconfClient()
g_error_free(aError);
aError = NULL;
- throw uno::RuntimeException(msg, NULL);
+ throw uno::RuntimeException(msg);
}
mClient = gconf_client_get_default();
if (!mClient)
{
- throw uno::RuntimeException("GconfBackend:GconfLayer: Cannot Initialize Gconf connection",NULL);
+ throw uno::RuntimeException("GconfBackend:GconfLayer: Cannot Initialize Gconf connection");
}
static const char * const PreloadValuesList[] =
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
index b62606097af2..c02274dbfb11 100644
--- a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
+++ b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
@@ -34,7 +34,7 @@ namespace
return;
OUString sMsg = OUString::createFromAscii(m_pError->message);
g_error_free(m_pError);
- throw RuntimeException(sMsg, NULL);
+ throw RuntimeException(sMsg);
}
GError** getRef() { return &m_pError; }
};
@@ -51,7 +51,7 @@ namespace
NULL,
error.getRef());
if(!proxy)
- throw RuntimeException("couldnt get a proxy!",NULL);
+ throw RuntimeException("couldnt get a proxy!");
return proxy;
}
}