diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-08 10:43:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-08 11:40:15 +0200 |
commit | 6bf94344723146d64092b7beba93fe78e7119029 (patch) | |
tree | b17d26817d09d42205599ccf0f298deea97faf92 /include/linguistic | |
parent | android: update emulator / debugging documentation (diff) | |
download | core-6bf94344723146d64092b7beba93fe78e7119029.tar.gz core-6bf94344723146d64092b7beba93fe78e7119029.zip |
convert PATH_FLAG to scoped enum
and move it inside the linguistic module, since it is not used
externally
Change-Id: I5e405bd921c090277e75e3bcff81638af0845ece
Diffstat (limited to 'include/linguistic')
-rw-r--r-- | include/linguistic/misc.hxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/linguistic/misc.hxx b/include/linguistic/misc.hxx index 84f4360a62ab..4c6df31d61ca 100644 --- a/include/linguistic/misc.hxx +++ b/include/linguistic/misc.hxx @@ -61,13 +61,6 @@ class LocaleDataWrapper; namespace linguistic { -/// Flags to be used with the multi-path related functions -/// @see GetDictionaryPaths -#define PATH_FLAG_INTERNAL 0x01 -#define PATH_FLAG_USER 0x02 -#define PATH_FLAG_WRITABLE 0x04 -#define PATH_FLAG_ALL (PATH_FLAG_INTERNAL | PATH_FLAG_USER | PATH_FLAG_WRITABLE) - // AddEntryToDic return values #define DIC_ERR_NONE 0 @@ -127,7 +120,7 @@ bool FileExists( const OUString &rURL ); OUString GetDictionaryWriteablePath(); -::com::sun::star::uno::Sequence< OUString > GetDictionaryPaths( sal_Int16 nPathFlags = PATH_FLAG_ALL ); +::com::sun::star::uno::Sequence< OUString > GetDictionaryPaths(); /// @returns an URL for a new and writable dictionary rDicName. /// The URL will point to the path given by 'GetDictionaryWriteablePath' |