diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-24 15:06:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-25 08:40:00 +0200 |
commit | 3aa7db4586c53a0815b74cc514ff8a6541dc7e01 (patch) | |
tree | b3dba2d12d3ef9738239c814184211fe75afa505 /cui/source/inc/transfrm.hxx | |
parent | convert SvxChartStyle to scoped enum (diff) | |
download | core-3aa7db4586c53a0815b74cc514ff8a6541dc7e01.tar.gz core-3aa7db4586c53a0815b74cc514ff8a6541dc7e01.zip |
convert SvxAnchorIds to scoped enum
Change-Id: I4375fa07eb6ac81b21b904e965e4c2f9600ca99a
Diffstat (limited to 'cui/source/inc/transfrm.hxx')
-rw-r--r-- | cui/source/inc/transfrm.hxx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx index 2857e451cc76..7e9077758e54 100644 --- a/cui/source/inc/transfrm.hxx +++ b/cui/source/inc/transfrm.hxx @@ -21,6 +21,7 @@ #include <svx/dlgctrl.hxx> #include <svx/dialcontrol.hxx> +#include <svx/anchorid.hxx> #include <vcl/fixed.hxx> @@ -35,14 +36,6 @@ class SdrView; |* \************************************************************************/ -/** put this into the nAnchorTypes parameter of the SvxTransformTabDialog c'tor - to disable the size controls */ -const sal_uInt16 SVX_OBJ_NORESIZE = 0x0100; - -/** put this into the nAnchorTypes parameter of the SvxTransformTabDialog c'tor - to disable the protect controls */ -const sal_uInt16 SVX_OBJ_NOPROTECT = 0x0200; - struct SvxSwFrameValidation; class SvxTransformTabDialog : public SfxTabDialog { @@ -53,7 +46,7 @@ class SvxTransformTabDialog : public SfxTabDialog private: const SdrView* pView; - sal_uInt16 nAnchorCtrls; + SvxAnchorIds nAnchorCtrls; Link<SvxSwFrameValidation&,void> aValidateLink; virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) override; @@ -62,7 +55,7 @@ public: SvxTransformTabDialog( vcl::Window* pParent, const SfxItemSet* pAttr, const SdrView* pView, - sal_uInt16 nAnchorTypes = 0); + SvxAnchorIds nAnchorTypes = SvxAnchorIds::NONE); //link for the Writer to validate positions void SetValidateFramePosLink( const Link<SvxSwFrameValidation&,void>& rLink ); |