From 64ca013084cd7d5027b8cc4cd888ca57ba1ec8b5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 3 Jul 2012 17:35:12 +0100 Subject: useless sObjectKind string Change-Id: I6f8de91d71df1bb54f5d63d5b38f9422927c7441 --- svx/source/fmcomp/dbaexchange.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'svx/source/fmcomp') 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; -- cgit