Bugzilla – Attachment 59811 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]
Patch to fix namecont.cxx
0001-Author-Abeer-Sethi-abeersethi-gmail.com.patch (text/plain), 1012 bytes, created by
Abeer Sethi
on 2012-04-11 12:08:43 UTC
(
hide
)
Description:
Patch to fix namecont.cxx
Filename:
MIME Type:
Creator:
Abeer Sethi
Created:
2012-04-11 12:08:43 UTC
Size:
1012 bytes
patch
obsolete
>From 4ca9f864673d27730253ac6498f38901d711dd21 Mon Sep 17 00:00:00 2001 >From: Abeer Sethi <abeersethi.91@gmail.com> >Date: Thu, 12 Apr 2012 00:28:10 +0530 >Subject: [PATCH] Author: Abeer Sethi (abeersethi@gmail.com) Date: Thur Apr 12 > 00:29 2012 +0530 Fixes bug 42982 > >--- > 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 a9307d2..4142ef3 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(); >+ throw RuntimeException(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("XListener is not equal to 1")), 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