summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-17 21:06:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-17 21:13:52 +0100
commitabd5786847811ed1f10d8d7433b52ab795b4f263 (patch)
treeab4849ee7d93a89a5d7da1f2dfb9463f70804d8c /ucbhelper
parentb35ea8b0fe7773f4bd09590d482fb49a2ebc3440 (diff)
coverity#1202901 Uncaught exception
and probably gadzillions of other uncaught exception warnings this exception can't actually be thrown because all possible InsertOperation conditions are already handled. Change-Id: I176c5e253e8b1092a060fc066c2e03dae3cea343
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/client/content.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index 4cb76286da08..c8ccd88d71c6 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -1016,16 +1016,6 @@ bool Content::transferContent( const Content& rSourceContent,
sCommand = "checkin";
bCheckIn = true;
break;
-
- default:
- ucbhelper::cancelCommandExecution(
- makeAny( IllegalArgumentException(
- OUString(
- "Unknown transfer operation!" ),
- get(),
- -1 ) ),
- m_xImpl->getEnvironment() );
- // Unreachable
}
Command aCommand;
aCommand.Name = sCommand;