From d198a8221d4a1a08bb78ad083ff28136e3f65728 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 9 Feb 2017 14:47:28 +0200 Subject: convert InsertOperation to scoped enum and drop unused LINK enumerator Change-Id: I6c42424ae5a7503b3e14e5f04fcf7a49b595b416 --- ucbhelper/source/client/content.cxx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'ucbhelper/source') diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx index 34d6124eae2a..f25f56d4e1b2 100644 --- a/ucbhelper/source/client/content.cxx +++ b/ucbhelper/source/client/content.cxx @@ -956,19 +956,15 @@ bool Content::transferContent( const Content& rSourceContent, bool bCheckIn = false; switch ( eOperation ) { - case InsertOperation_COPY: + case InsertOperation::Copy: eTransOp = TransferCommandOperation_COPY; break; - case InsertOperation_MOVE: + case InsertOperation::Move: eTransOp = TransferCommandOperation_MOVE; break; - case InsertOperation_LINK: - eTransOp = TransferCommandOperation_LINK; - break; - - case InsertOperation_CHECKIN: + case InsertOperation::Checkin: eTransOp = TransferCommandOperation_COPY; sCommand = "checkin"; bCheckIn = true; -- cgit