diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-15 10:40:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-16 14:43:25 +0200 |
commit | 2ba9f793c7e80a3bed9aceb3281d55ddc7957f85 (patch) | |
tree | 239f53bb2234516baf41b482293fca06fceff4e3 /sc | |
parent | 70e552065339f1f7ab14f991f3e840b5461e609e (diff) |
convert SvxTimeType to scoped enum
Change-Id: Ic5ca8c50ccd74837cd0521a13e1f5eaa8e326ff3
Reviewed-on: https://gerrit.libreoffice.org/42344
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-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 c0d3868d2d57..f2be21935522 100644 --- a/sc/source/ui/unoobj/fielduno.cxx +++ b/sc/source/ui/unoobj/fielduno.cxx @@ -874,7 +874,7 @@ void ScEditFieldObj::setPropertyValueDateTime(const OUString& rName, const uno:: } else if (rName == SC_UNONAME_ISFIXED) { - SvxTimeType eType = rVal.get<bool>() ? SVXTIMETYPE_FIX : SVXTIMETYPE_VAR; + SvxTimeType eType = rVal.get<bool>() ? SvxTimeType::Fix : SvxTimeType::Var; p->SetType(eType); } else if (rName == SC_UNONAME_DATETIME) @@ -975,7 +975,7 @@ uno::Any ScEditFieldObj::getPropertyValueDateTime(const OUString& rName) return uno::makeAny(false); if (rName == SC_UNONAME_ISFIXED) - return uno::makeAny<sal_Bool>(p->GetType() == SVXTIMETYPE_FIX); + return uno::makeAny<sal_Bool>(p->GetType() == SvxTimeType::Fix); if (rName == SC_UNONAME_DATETIME) { |