diff options
author | Gergo Mocsi <gmocsi91@gmail.com> | 2013-07-22 14:32:00 +0200 |
---|---|---|
committer | Gergo Mocsi <gmocsi91@gmail.com> | 2013-09-02 18:16:47 +0200 |
commit | 3ce1f554deba05eb33a928ca05674e4afa70aecc (patch) | |
tree | 0e2958befda4a3fa99eb109d64899448f58dedad /include | |
parent | 1b8b4864c11955a2f59310cc58f16e509eb48a32 (diff) |
GSOC work menu entry + code fix
Fixed the definition of GLOB_KEY, NOT_FOUND from const to static const.
Added a new menu entry for code completition under View->Enable Code Completition.
Change-Id: If8ac25ee43a7ba780ccdee2e5e909777115a1f27
Diffstat (limited to 'include')
-rw-r--r-- | include/basic/codecompletecache.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/sfxsids.hrc | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/basic/codecompletecache.hxx b/include/basic/codecompletecache.hxx index bba25d9b0659..a1428e351624 100644 --- a/include/basic/codecompletecache.hxx +++ b/include/basic/codecompletecache.hxx @@ -42,8 +42,8 @@ private: CodeCompleteVarScopes aVarScopes; public: - const OUString GLOB_KEY = OUString("global key"); - const OUString NOT_FOUND = OUString("not found"); + static const OUString GLOB_KEY; + static const OUString NOT_FOUND; CodeCompleteDataCache(){} virtual ~CodeCompleteDataCache(){} diff --git a/include/sfx2/sfxsids.hrc b/include/sfx2/sfxsids.hrc index f3414d9be5a9..e6f9754c6168 100644 --- a/include/sfx2/sfxsids.hrc +++ b/include/sfx2/sfxsids.hrc @@ -671,6 +671,7 @@ #define SID_BASICIDE_ARG_DOCUMENT_MODEL ( SID_BASICIDE_START + 51 ) #define SID_BASICIDE_MANAGE_LANG ( SID_BASICIDE_START + 52 ) #define SID_BASICIDE_CURRENT_LANG ( SID_BASICIDE_START + 53 ) +#define SID_BASICIDE_CODECOMPLETITION ( SID_BASICIDE_START + 54 ) // SlotIds for Apps -------------------------------------------------------- #define FN_PARAM (SID_SW_START + 1100) |