summaryrefslogtreecommitdiff
path: root/sw/inc/editsh.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-07 13:10:40 +0200
committerNoel Grandin <noel@peralex.com>2016-09-08 09:23:40 +0200
commit847e004e65ec3c35acff607588d15cd75a84f121 (patch)
tree1b2ac62948c9ad15d2f231b56eb45ff341f572f7 /sw/inc/editsh.hxx
parent3cac15856ade9fce161a49212c9d1861741122a5 (diff)
convert nsRedlineMode_t to typed_flags
including fixing a bug in SwXMLExport::exportDoc where it was ORing with a constant from a different type: nsRedlineType_t::REDLINE_INSERT Change-Id: I2bb154c9a35d106e64fd1a8b6e928d0384c9fafe
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r--sw/inc/editsh.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index d874337d81ac..2105e224f8dc 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -101,6 +101,8 @@ class SwView;
struct SwConversionArgs;
enum class SvtScriptType;
enum class SfxClassificationPolicyType;
+enum class RedlineFlags;
+
namespace com { namespace sun { namespace star { namespace uno {
template < class > class Sequence;
}}}}
@@ -885,8 +887,8 @@ public:
bool GotoGlobalDocContent( const SwGlblDocContent& rPos );
/// For Redlining.
- sal_uInt16 GetRedlineMode() const;
- void SetRedlineMode( sal_uInt16 eMode );
+ RedlineFlags GetRedlineFlags() const;
+ void SetRedlineFlags( RedlineFlags eMode );
bool IsRedlineOn() const;
sal_uInt16 GetRedlineCount() const;
const SwRangeRedline& GetRedline( sal_uInt16 nPos ) const;