summaryrefslogtreecommitdiff
path: root/svx/workben
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-01-06 00:03:58 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-01-06 00:22:51 +0900
commit5493951893ea90b330d5280bc171a60ff46fa396 (patch)
tree97dee1e30575dc05959acaa2cec6da9b791022d7 /svx/workben
parent1bae43a3d75d9be75b027dab2eff12695ad4f353 (diff)
catch exception by constant reference
Diffstat (limited to 'svx/workben')
-rw-r--r--svx/workben/msview/xmlconfig.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/workben/msview/xmlconfig.cxx b/svx/workben/msview/xmlconfig.cxx
index 3504265c134c..a1553718328d 100644
--- a/svx/workben/msview/xmlconfig.cxx
+++ b/svx/workben/msview/xmlconfig.cxx
@@ -339,7 +339,7 @@ void load_config( const OUString& rPath )
// finally, parser the stream
xParser->parseStream( aParserInput );
}
- catch( Exception& r )
+ catch( Exception& )
{
OSL_FAIL(
(rtl::OString("load_config(), "
@@ -347,8 +347,6 @@ void load_config( const OUString& rPath )
rtl::OUStringToOString(
comphelper::anyToString( cppu::getCaughtException() ),
RTL_TEXTENCODING_UTF8 )).getStr() );
-
- (void)r;
}
}