summaryrefslogtreecommitdiff
path: root/include/ucbhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-09 14:47:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-10 08:08:45 +0200
commitd198a8221d4a1a08bb78ad083ff28136e3f65728 (patch)
tree8773aa83dae9b568409221eae6e985fc138074d3 /include/ucbhelper
parent48d3f2505e0dfbd487a1041747f16f761e9c455e (diff)
convert InsertOperation to scoped enum
and drop unused LINK enumerator Change-Id: I6c42424ae5a7503b3e14e5f04fcf7a49b595b416
Diffstat (limited to 'include/ucbhelper')
-rw-r--r--include/ucbhelper/content.hxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/ucbhelper/content.hxx b/include/ucbhelper/content.hxx
index 4943fce10979..90a28229f9dd 100644
--- a/include/ucbhelper/content.hxx
+++ b/include/ucbhelper/content.hxx
@@ -76,12 +76,11 @@ enum ResultSetInclude
* These are the possible values for the parameter eOperation of method
* ucbhelper::Content::insertNewContent.
*/
-enum InsertOperation
+enum class InsertOperation
{
- InsertOperation_COPY, // copy source data
- InsertOperation_MOVE, // move source data
- InsertOperation_LINK, // create a link to source
- InsertOperation_CHECKIN // check-in source data
+ Copy, // copy source data
+ Move, // move source data
+ Checkin // check-in source data
};