summaryrefslogtreecommitdiff
path: root/ucb/workben
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-01-07 15:50:41 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-01-07 15:51:31 +0900
commite4ce7225dd987f9b2f250f055d9688de79931444 (patch)
tree410ae8624915809274fc28759eef78919a980f60 /ucb/workben
parentd74c77428deba9619c678a59d6442ec281385264 (diff)
catch exception by constant reference
Diffstat (limited to 'ucb/workben')
-rw-r--r--ucb/workben/ucb/ucbdemo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/workben/ucb/ucbdemo.cxx b/ucb/workben/ucb/ucbdemo.cxx
index 420e2c55acab..7ebc94a821ba 100644
--- a/ucb/workben/ucb/ucbdemo.cxx
+++ b/ucb/workben/ucb/ucbdemo.cxx
@@ -1174,7 +1174,7 @@ void UcbContent::open( const rtl::OUString & rName, const UniString& rInput,
nLevel + 1 ) );
}
}
- catch ( ucb::ResultSetException )
+ catch (const ucb::ResultSetException &)
{
print( "ResultSetException caught!" );
}
@@ -2503,7 +2503,7 @@ void MyApp::Main()
return;
}
}
- catch ( uno::Exception )
+ catch (const uno::Exception &)
{
OSL_FAIL( "Exception during creation of initial component context!" );
return;