summaryrefslogtreecommitdiff
path: root/svtools/source/dialogs
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 /svtools/source/dialogs
parent1bae43a3d75d9be75b027dab2eff12695ad4f353 (diff)
catch exception by constant reference
Diffstat (limited to 'svtools/source/dialogs')
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index fa322a79979f..7f8198435a30 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -899,9 +899,9 @@ void AssignmentPersistentData::Commit()
aTableNames = m_xCurrentDatasourceTables->getElementNames();
}
}
- catch(SQLContext& e) { aException <<= e; }
- catch(SQLWarning& e) { aException <<= e; }
- catch(SQLException& e) { aException <<= e; }
+ catch(const SQLContext& e) { aException <<= e; }
+ catch(const SQLWarning& e) { aException <<= e; }
+ catch(const SQLException& e) { aException <<= e; }
catch(Exception&)
{
OSL_FAIL("AddressBookSourceDialog::resetTables: could not retrieve the table!");