diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-16 09:11:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-16 07:56:25 +0000 |
commit | 8ae9dcec653c4ad3eeb8c3e1fa9b1684e2bd64a2 (patch) | |
tree | d72e1a17603bb146cce0d02ffeec46acb57335c6 /sw/source/core/doc/docruby.cxx | |
parent | 3b7d751ad4f950aae0641a75b2ea993025629c9d (diff) |
convert SwUndoId to scoped enum
Change-Id: I782fdd53641c0d7c629265b6179de70aa54382f9
Reviewed-on: https://gerrit.libreoffice.org/35246
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/doc/docruby.cxx')
-rw-r--r-- | sw/source/core/doc/docruby.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docruby.cxx b/sw/source/core/doc/docruby.cxx index 452907237398..050e825bd8a6 100644 --- a/sw/source/core/doc/docruby.cxx +++ b/sw/source/core/doc/docruby.cxx @@ -93,7 +93,7 @@ sal_uInt16 SwDoc::FillRubyList( const SwPaM& rPam, SwRubyList& rList, void SwDoc::SetRubyList( const SwPaM& rPam, const SwRubyList& rList, sal_uInt16 nMode ) { - GetIDocumentUndoRedo().StartUndo( UNDO_SETRUBYATTR, nullptr ); + GetIDocumentUndoRedo().StartUndo( SwUndoId::SETRUBYATTR, nullptr ); std::set<sal_uInt16> aDelArr; aDelArr.insert( RES_TXTATR_CJK_RUBY ); @@ -174,7 +174,7 @@ void SwDoc::SetRubyList( const SwPaM& rPam, const SwRubyList& rList, } while( 30 > rList.size() && (_pStartCursor = _pStartCursor->GetNext()) != _pStartCursor2 ); - GetIDocumentUndoRedo().EndUndo( UNDO_SETRUBYATTR, nullptr ); + GetIDocumentUndoRedo().EndUndo( SwUndoId::SETRUBYATTR, nullptr ); } bool SwDoc::SelectNextRubyChars( SwPaM& rPam, SwRubyListEntry& rEntry, sal_uInt16 ) |