summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-03 17:35:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-03 21:24:36 +0100
commit64ca013084cd7d5027b8cc4cd888ca57ba1ec8b5 (patch)
tree9d83f34559d4aac1d363b6d4bece245058c55254 /svx
parenta923bf4217a951ad48db8c9ba32225f4b6846279 (diff)
useless sObjectKind string
Change-Id: I6f8de91d71df1bb54f5d63d5b38f9422927c7441
Diffstat (limited to 'svx')
-rw-r--r--svx/source/fmcomp/dbaexchange.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/fmcomp/dbaexchange.cxx b/svx/source/fmcomp/dbaexchange.cxx
index dbfd5586cab6..b6510b6a0830 100644
--- a/svx/source/fmcomp/dbaexchange.cxx
+++ b/svx/source/fmcomp/dbaexchange.cxx
@@ -435,15 +435,13 @@ namespace svx
return;
}
- String sObjectKind = (CommandType::TABLE == nObjectType) ? String('1') : String('0');
-
// check if the SQL-statement is modified
::rtl::OUString sCompleteStatement;
try
{
_rxLivingForm->getPropertyValue(FM_PROP_ACTIVECOMMAND) >>= sCompleteStatement;
}
- catch(Exception&)
+ catch (const Exception&)
{
OSL_FAIL("ODataAccessObjectTransferable::ODataAccessObjectTransferable: could not collect essential form attributes (part two) !");
return;