diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 14:07:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-30 06:26:12 +0000 |
commit | a34b33d2b900d3d1ea1ac806bc584846dc9d3fbe (patch) | |
tree | 5deb2d3be849dc2eae3d032c64588b11a0db8420 /sc/source/ui/unoobj/fielduno.cxx | |
parent | 1cd7edadfedc8bf55b979449cbb084082a888e89 (diff) |
convert SvxDateType to scoped enum
Change-Id: I5ce04f252642cb3a6c1b08ee22255f6c7b97f0f8
Reviewed-on: https://gerrit.libreoffice.org/35842
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj/fielduno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/fielduno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx index a7e5483bb59d..c2ae2cab2454 100644 --- a/sc/source/ui/unoobj/fielduno.cxx +++ b/sc/source/ui/unoobj/fielduno.cxx @@ -838,7 +838,7 @@ void ScEditFieldObj::setPropertyValueDateTime(const OUString& rName, const uno:: } else if (rName == SC_UNONAME_ISFIXED) { - SvxDateType eType = rVal.get<bool>() ? SVXDATETYPE_FIX : SVXDATETYPE_VAR; + SvxDateType eType = rVal.get<bool>() ? SvxDateType::Fix : SvxDateType::Var; p->SetType(eType); } else if (rName == SC_UNONAME_DATETIME) @@ -930,7 +930,7 @@ uno::Any ScEditFieldObj::getPropertyValueDateTime(const OUString& rName) return uno::makeAny(true); if (rName == SC_UNONAME_ISFIXED) - return uno::makeAny<sal_Bool>(p->GetType() == SVXDATETYPE_FIX); + return uno::makeAny<sal_Bool>(p->GetType() == SvxDateType::Fix); if (rName == SC_UNONAME_DATETIME) { |