summaryrefslogtreecommitdiff
path: root/basctl/source/inc/scriptdocument.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/inc/scriptdocument.hxx')
-rw-r--r--basctl/source/inc/scriptdocument.hxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/basctl/source/inc/scriptdocument.hxx b/basctl/source/inc/scriptdocument.hxx
index 65467998b4b8..68835bf3d074 100644
--- a/basctl/source/inc/scriptdocument.hxx
+++ b/basctl/source/inc/scriptdocument.hxx
@@ -50,12 +50,11 @@ namespace basctl
LIBRARY_LOCATION_DOCUMENT
};
- enum LibraryType
+ enum class LibraryType
{
- LIBRARY_TYPE_UNKNOWN,
- LIBRARY_TYPE_MODULE,
- LIBRARY_TYPE_DIALOG,
- LIBRARY_TYPE_ALL
+ Module,
+ Dialog,
+ All
};
class ScriptDocument;
@@ -463,7 +462,7 @@ namespace basctl
getLibraryLocation( const OUString& _rLibName ) const;
/// returns the title for the document
- OUString getTitle( LibraryLocation _eLocation, LibraryType _eType = LIBRARY_TYPE_ALL ) const;
+ OUString getTitle( LibraryLocation _eLocation, LibraryType _eType = LibraryType::All ) const;
/** returns the title of the document