summaryrefslogtreecommitdiff
path: root/scripting/source/provider/BrowseNodeFactoryImpl.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-12-25 15:08:11 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-12-25 15:09:58 +0900
commit8cc98837d30d818fe3a2e4063798c7451044eb9c (patch)
tree2da46809bc97a39489c6d57c8c855ebefb58899d /scripting/source/provider/BrowseNodeFactoryImpl.cxx
parent8b18c70b994e8239f2f0dfd549fcc27feceb413c (diff)
catch exception by constant reference
Diffstat (limited to 'scripting/source/provider/BrowseNodeFactoryImpl.cxx')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index abd7b7adca12..19c534cacdbc 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -327,7 +327,7 @@ Sequence< Reference< browse::XBrowseNode > > getAllBrowseNodes( const Reference<
locnBNs[ mspIndex++ ] = Reference< browse::XBrowseNode >( xFac->createScriptProvider( makeAny( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("share")) ) ), UNO_QUERY_THROW );
}
// TODO proper exception handling, should throw
- catch( Exception& e )
+ catch( const Exception& e )
{
(void)e;
OSL_TRACE("Caught Exception %s",