summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun4.cxx
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/view/viewfun4.cxx
parent03c77bbbed1e275bede8c6b2ca924eb3647d6f90 (diff)
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/view/viewfun4.cxx')
-rw-r--r--sc/source/ui/view/viewfun4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx
index fa6510754e29..6439efb19fa5 100644
--- a/sc/source/ui/view/viewfun4.cxx
+++ b/sc/source/ui/view/viewfun4.cxx
@@ -746,7 +746,7 @@ void ScViewFunc::InsertBookmark( const OUString& rDescription, const OUString& r
aInsSel = ESelection( 0, 0, 0, 1 ); // replace first character (field)
}
- SvxURLField aField( rURL, rDescription, SVXURLFORMAT_APPDEFAULT );
+ SvxURLField aField( rURL, rDescription, SvxURLFormat::AppDefault );
if (pTarget)
aField.SetTargetFrame(*pTarget);
aEngine.QuickInsertField( SvxFieldItem( aField, EE_FEATURE_FIELD ), aInsSel );