diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/gconfbe/gconfaccess.cxx | 4 | ||||
-rw-r--r-- | shell/source/sessioninstall/SyncDbusSessionHelper.cxx | 4 |
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; } } |