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/uibase/table | |
parent | tdf#103235 Notebookbar: use persona theme (diff) | |
download | core-8ae9dcec653c4ad3eeb8c3e1fa9b1684e2bd64a2.tar.gz core-8ae9dcec653c4ad3eeb8c3e1fa9b1684e2bd64a2.zip |
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/uibase/table')
-rw-r--r-- | sw/source/uibase/table/tablemgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/table/tablemgr.cxx b/sw/source/uibase/table/tablemgr.cxx index 0da405ccf81c..0a91f7f91428 100644 --- a/sw/source/uibase/table/tablemgr.cxx +++ b/sw/source/uibase/table/tablemgr.cxx @@ -196,7 +196,7 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart( SwFlyFrameFormat** ppFlyFrameFormat ) { uno::Reference< frame::XModel > xChartModel; - pSh->StartUndo( UNDO_UI_INSERT_CHART ); + pSh->StartUndo( SwUndoId::UI_INSERT_CHART ); pSh->StartAllAction(); OUString aName; @@ -319,7 +319,7 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart( xDataReceiver->setArguments( aArgs ); } - pSh->EndUndo( UNDO_UI_INSERT_CHART ); + pSh->EndUndo( SwUndoId::UI_INSERT_CHART ); if( xChartModel.is() ) xChartModel->unlockControllers(); //#i79578# don't request a new replacement image for charts to often |