diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-18 13:11:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-19 08:18:37 +0200 |
commit | eba160af2149f2ec70b78ea60f63f1b49065bba3 (patch) | |
tree | 70d94cc84c859160a1a5a67be2da50dcd6edd14e /sc | |
parent | fc518ed954aa73eeeb529c21afbcfdfa55ef7fb4 (diff) |
convert SdrCreateCmd to scoped enum
Change-Id: I8772032dee25c790314384750b8c7277c4879318
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/drawfunc/fuconarc.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fuconcustomshape.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fuconrec.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fuconuno.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/futext.cxx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/drawfunc/fuconarc.cxx b/sc/source/ui/drawfunc/fuconarc.cxx index 73e5c6095458..2fdbafb4a75e 100644 --- a/sc/source/ui/drawfunc/fuconarc.cxx +++ b/sc/source/ui/drawfunc/fuconarc.cxx @@ -92,7 +92,7 @@ bool FuConstArc::MouseButtonUp( const MouseEvent& rMEvt ) if ( pView->IsCreateObj() && rMEvt.IsLeft() ) { - pView->EndCreateObj( SDRCREATE_NEXTPOINT ); + pView->EndCreateObj( SdrCreateCmd::NextPoint ); bReturn = true; } return (FuConstruct::MouseButtonUp(rMEvt) || bReturn); diff --git a/sc/source/ui/drawfunc/fuconcustomshape.cxx b/sc/source/ui/drawfunc/fuconcustomshape.cxx index db31dfb28db6..f49bc8b75242 100644 --- a/sc/source/ui/drawfunc/fuconcustomshape.cxx +++ b/sc/source/ui/drawfunc/fuconcustomshape.cxx @@ -114,7 +114,7 @@ bool FuConstCustomShape::MouseButtonUp(const MouseEvent& rMEvt) if ( pView->IsCreateObj() && rMEvt.IsLeft() ) { - pView->EndCreateObj(SDRCREATE_FORCEEND); + pView->EndCreateObj(SdrCreateCmd::ForceEnd); bReturn = true; } return (FuConstruct::MouseButtonUp(rMEvt) || bReturn); diff --git a/sc/source/ui/drawfunc/fuconrec.cxx b/sc/source/ui/drawfunc/fuconrec.cxx index a5b499098f2a..c7563cd91e50 100644 --- a/sc/source/ui/drawfunc/fuconrec.cxx +++ b/sc/source/ui/drawfunc/fuconrec.cxx @@ -107,7 +107,7 @@ bool FuConstRectangle::MouseButtonUp(const MouseEvent& rMEvt) if ( pView->IsCreateObj() && rMEvt.IsLeft() ) { - pView->EndCreateObj(SDRCREATE_FORCEEND); + pView->EndCreateObj(SdrCreateCmd::ForceEnd); if (aSfxRequest.GetSlot() == SID_DRAW_CAPTION_VERTICAL) { diff --git a/sc/source/ui/drawfunc/fuconuno.cxx b/sc/source/ui/drawfunc/fuconuno.cxx index 53fe19fe6d2d..449b0b2112fa 100644 --- a/sc/source/ui/drawfunc/fuconuno.cxx +++ b/sc/source/ui/drawfunc/fuconuno.cxx @@ -97,7 +97,7 @@ bool FuConstUnoControl::MouseButtonUp(const MouseEvent& rMEvt) if ( pView->IsCreateObj() && rMEvt.IsLeft() ) { - pView->EndCreateObj(SDRCREATE_FORCEEND); + pView->EndCreateObj(SdrCreateCmd::ForceEnd); bReturn = true; } return (FuConstruct::MouseButtonUp(rMEvt) || bReturn); diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx index 80800c58ff54..bfc6f6f35941 100644 --- a/sc/source/ui/drawfunc/futext.cxx +++ b/sc/source/ui/drawfunc/futext.cxx @@ -441,7 +441,7 @@ bool FuText::MouseButtonUp(const MouseEvent& rMEvt) { if (rMEvt.IsLeft()) { - pView->EndCreateObj(SDRCREATE_FORCEEND); + pView->EndCreateObj(SdrCreateCmd::ForceEnd); if (aSfxRequest.GetSlot() == SID_DRAW_TEXT_MARQUEE) { // Lauftext-Objekt erzeugen? |