diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-09 14:47:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-10 08:08:45 +0200 |
commit | d198a8221d4a1a08bb78ad083ff28136e3f65728 (patch) | |
tree | 8773aa83dae9b568409221eae6e985fc138074d3 /ucbhelper | |
parent | 48d3f2505e0dfbd487a1041747f16f761e9c455e (diff) |
convert InsertOperation to scoped enum
and drop unused LINK enumerator
Change-Id: I6c42424ae5a7503b3e14e5f04fcf7a49b595b416
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/client/content.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
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; |