diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-24 14:15:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-25 08:56:14 +0200 |
commit | 6ef4d92869114179fc7802e2a2b5be665f248029 (patch) | |
tree | d8758beaeb2a9d9789892e1d0969bc3b947db0ab /sc/source/ui/view/viewfunc.cxx | |
parent | c7a50d072f0f9a19e7975c09eeff7a11bdea1370 (diff) |
convert VALID_ constants to enum class
Change-Id: Id63d0e0dcf550b4d4f9cf3a2800aeb40f9f9bbce
Diffstat (limited to 'sc/source/ui/view/viewfunc.cxx')
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index 9e0e1f9ee2e1..fd7942473650 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -950,12 +950,12 @@ void ScViewFunc::ApplyAttributes( const SfxItemSet* pDialogSet, if ( pNewInner ) { bFrame = bFrame - && ( pNewInner->IsValid(VALID_LEFT) - || pNewInner->IsValid(VALID_RIGHT) - || pNewInner->IsValid(VALID_TOP) - || pNewInner->IsValid(VALID_BOTTOM) - || pNewInner->IsValid(VALID_HORI) - || pNewInner->IsValid(VALID_VERT) ); + && ( pNewInner->IsValid(SvxBoxInfoItemValidFlags::LEFT) + || pNewInner->IsValid(SvxBoxInfoItemValidFlags::RIGHT) + || pNewInner->IsValid(SvxBoxInfoItemValidFlags::TOP) + || pNewInner->IsValid(SvxBoxInfoItemValidFlags::BOTTOM) + || pNewInner->IsValid(SvxBoxInfoItemValidFlags::HORI) + || pNewInner->IsValid(SvxBoxInfoItemValidFlags::VERT) ); } else bFrame = false; |