diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 13:17:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 16:40:42 +0100 |
commit | 28dfd3a2e2c6a39626c55fce2303c83eea210e55 (patch) | |
tree | 58940b2c031ae68b8116fa1921af221ad3f6c73a | |
parent | 0a01387f059357600cf3dbccdab65cdae517c709 (diff) |
callcatcher: remove unused Application::GetReservedKeyCodeDescription
-rw-r--r-- | vcl/inc/vcl/svapp.hxx | 1 | ||||
-rw-r--r-- | vcl/source/app/svapp.cxx | 12 |
2 files changed, 0 insertions, 13 deletions
diff --git a/vcl/inc/vcl/svapp.hxx b/vcl/inc/vcl/svapp.hxx index d78d42cf1d52..20eec8a9811e 100644 --- a/vcl/inc/vcl/svapp.hxx +++ b/vcl/inc/vcl/svapp.hxx @@ -379,7 +379,6 @@ public: static sal_uLong GetReservedKeyCodeCount(); static const KeyCode* GetReservedKeyCode( sal_uLong i ); - static String GetReservedKeyCodeDescription( sal_uLong i ); static void SetDefDialogParent( Window* pWindow ); static Window* GetDefDialogParent(); diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index fad5ad84ac7d..e6619cbfd20b 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -417,18 +417,6 @@ const KeyCode* Application::GetReservedKeyCode( sal_uLong i ) return &ImplReservedKeys::get()->first[i].mKeyCode; } -String Application::GetReservedKeyCodeDescription( sal_uLong i ) -{ - ResMgr* pResMgr = ImplGetResMgr(); - if( ! pResMgr ) - return String(); - ImplReservedKey *pImplReservedKeys = ImplReservedKeys::get()->first; - if( i >= GetReservedKeyCodeCount() || ! pImplReservedKeys[i].mnResId ) - return String(); - else - return String( ResId( pImplReservedKeys[i].mnResId, *pResMgr ) ); -} - // ----------------------------------------------------------------------- void Application::Execute() |