Bugzilla – Attachment 59853 Details for
Bug 42982
Improve UNO API error reporting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This includes the suggested changes for namecont.cxx
0001-This-incorporates-the-suggested-changes.patch (text/plain), 1.02 KB, created by
Abeer Sethi
on 2012-04-12 05:39:44 UTC
(
hide
)
Description:
This includes the suggested changes for namecont.cxx
Filename:
MIME Type:
Creator:
Abeer Sethi
Created:
2012-04-12 05:39:44 UTC
Size:
1.02 KB
patch
obsolete
>From a2b2cd304d32b7146cba17373d1bf03e00b95609 Mon Sep 17 00:00:00 2001 >From: Abeer Sethi <abeersethi.91@gmail.com> >Date: Thu, 12 Apr 2012 17:47:36 +0530 >Subject: [PATCH] This incorporates the suggested changes. > >--- > basic/source/uno/namecont.cxx | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx >index 4142ef3..c081b3f 100644 >--- a/basic/source/uno/namecont.cxx >+++ b/basic/source/uno/namecont.cxx >@@ -300,7 +300,7 @@ void SAL_CALL NameContainer::addContainerListener( const Reference< XContainerLi > throw (RuntimeException) > { > if( !xListener.is() ) >- throw RuntimeException(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("XListener is not equal to 1")), static_cast< cppu::OWeakObject * >(this)); >+ throw RuntimeException("addContainerListener called with null xListener", static_cast< cppu::OWeakObject * >(this)); > Reference< XInterface > xIface( xListener, UNO_QUERY ); > maContainerListeners.addInterface( xIface ); > } >-- >1.7.5.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 42982
:
59811
|
59853
|
59855