diff options
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; |