summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/undoblk.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-20 17:15:15 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-22 18:47:09 +0000
commitad1386300562779606d958ea8289916cb9cbb8f8 (patch)
treed2825ec74621daad2dea81a155f4bc7d905bceaf /sc/source/ui/inc/undoblk.hxx
parent4d1d60719802ae34a9fc381c8f202ca80b7388ad (diff)
convert SC_PASTE constants to scoped enum
Change-Id: I2c1b2cd5a89b3124a2e452800bf397e100cc885b Reviewed-on: https://gerrit.libreoffice.org/18734 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/inc/undoblk.hxx')
-rw-r--r--sc/source/ui/inc/undoblk.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/inc/undoblk.hxx b/sc/source/ui/inc/undoblk.hxx
index 53111f41f997..4013805f0b1c 100644
--- a/sc/source/ui/inc/undoblk.hxx
+++ b/sc/source/ui/inc/undoblk.hxx
@@ -163,14 +163,14 @@ private:
struct ScUndoPasteOptions
{
- sal_uInt16 nFunction;
+ ScPasteFunc nFunction;
bool bSkipEmpty;
bool bTranspose;
bool bAsLink;
InsCellCmd eMoveMode;
ScUndoPasteOptions() :
- nFunction( PASTE_NOFUNC ),
+ nFunction( ScPasteFunc::NONE ),
bSkipEmpty( false ),
bTranspose( false ),
bAsLink( false ),
@@ -293,7 +293,7 @@ public:
SCCOL nStartX, SCROW nStartY, SCTAB nStartZ,
SCCOL nEndX, SCROW nEndY, SCTAB nEndZ,
ScDocument* pNewUndoDoc, bool bNewMulti, SCTAB nSrc,
- InsertDeleteFlags nFlg, sal_uInt16 nFunc, bool bSkip, bool bLink );
+ InsertDeleteFlags nFlg, ScPasteFunc nFunc, bool bSkip, bool bLink );
virtual ~ScUndoFillTable();
virtual void Undo() SAL_OVERRIDE;
@@ -310,7 +310,7 @@ private:
sal_uLong nStartChangeAction;
sal_uLong nEndChangeAction;
InsertDeleteFlags nFlags;
- sal_uInt16 nFunction;
+ ScPasteFunc nFunction;
SCTAB nSrcTab;
bool bMulti; // Multi selection
bool bSkipEmpty;