summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/app
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-15 10:34:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-16 14:43:04 +0200
commit70e552065339f1f7ab14f991f3e840b5461e609e (patch)
treea4fbcac77284e42ba6f206dd307428718a69110d /sc/source/ui/app
parentRemoved duplicated include (diff)
downloadcore-70e552065339f1f7ab14f991f3e840b5461e609e.tar.gz
core-70e552065339f1f7ab14f991f3e840b5461e609e.zip
convert SvxURLFormat to scoped enum
Change-Id: Ie2199cf0bcfb6d649f8aa33325ab645b18e7c000 Reviewed-on: https://gerrit.libreoffice.org/42343 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r--sc/source/ui/app/scmod.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 673c2fe834e8..00ed1d7c008a 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -2144,14 +2144,14 @@ IMPL_LINK( ScModule, CalcFieldValueHdl, EditFieldInfo*, pInfo, void )
switch ( pURLField->GetFormat() )
{
- case SVXURLFORMAT_APPDEFAULT: //TODO: Settable in the App?
- case SVXURLFORMAT_REPR:
+ case SvxURLFormat::AppDefault: //TODO: Settable in the App?
+ case SvxURLFormat::Repr:
{
pInfo->SetRepresentation( pURLField->GetRepresentation() );
}
break;
- case SVXURLFORMAT_URL:
+ case SvxURLFormat::Url:
{
pInfo->SetRepresentation( aURL );
}