summaryrefslogtreecommitdiff
path: root/include/editeng/flditem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/editeng/flditem.hxx')
-rw-r--r--include/editeng/flditem.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx
index faccf33224b9..d40f8e30766c 100644
--- a/include/editeng/flditem.hxx
+++ b/include/editeng/flditem.hxx
@@ -130,10 +130,11 @@ public:
};
-enum SvxURLFormat { SVXURLFORMAT_APPDEFAULT = 0, // Set as in App
- SVXURLFORMAT_URL, // Represent URL
- SVXURLFORMAT_REPR // Constitute representation
- };
+enum class SvxURLFormat {
+ AppDefault = 0, // Set as in App
+ Url, // Represent URL
+ Repr // Constitute representation
+};
class EDITENG_DLLPUBLIC SvxURLField : public SvxFieldData
{
@@ -147,7 +148,7 @@ public:
SV_DECL_PERSIST1( SvxURLField, css::text::textfield::Type::URL )
SvxURLField();
- SvxURLField( const OUString& rURL, const OUString& rRepres, SvxURLFormat eFmt = SVXURLFORMAT_URL );
+ SvxURLField( const OUString& rURL, const OUString& rRepres, SvxURLFormat eFmt = SvxURLFormat::Url );
const OUString& GetURL() const { return aURL; }
void SetURL( const OUString& rURL ) { aURL = rURL; }