diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-24 16:25:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-25 13:50:25 +0200 |
commit | 4dd65f861d3179538b58512a10c6c9482d85d0ee (patch) | |
tree | e7513f5661b041c5b3b4b773de6fd5eca4781756 /dbaccess | |
parent | 6a9046d02e17a7dd0997aa3a041d468be9d8f80b (diff) |
convert InternationalKeyCode to scoped enum
Change-Id: I2eba99ebb86003f1f5ddefafb4cd191b29853819
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index 2fca4849d602..2f321a9cda5e 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -173,18 +173,18 @@ void OSelectionBrowseBox::initialize() if(xConnection.is()) { const IParseContext& rContext = static_cast<OQueryController&>(getDesignView()->getController()).getParser().getContext(); - IParseContext::InternationalKeyCode eFunctions[] = { IParseContext::KEY_AVG,IParseContext::KEY_COUNT,IParseContext::KEY_MAX - ,IParseContext::KEY_MIN,IParseContext::KEY_SUM - ,IParseContext::KEY_EVERY - ,IParseContext::KEY_ANY - ,IParseContext::KEY_SOME - ,IParseContext::KEY_STDDEV_POP - ,IParseContext::KEY_STDDEV_SAMP - ,IParseContext::KEY_VAR_SAMP - ,IParseContext::KEY_VAR_POP - ,IParseContext::KEY_COLLECT - ,IParseContext::KEY_FUSION - ,IParseContext::KEY_INTERSECTION + IParseContext::InternationalKeyCode eFunctions[] = { IParseContext::InternationalKeyCode::Avg,IParseContext::InternationalKeyCode::Count,IParseContext::InternationalKeyCode::Max + ,IParseContext::InternationalKeyCode::Min,IParseContext::InternationalKeyCode::Sum + ,IParseContext::InternationalKeyCode::Every + ,IParseContext::InternationalKeyCode::Any + ,IParseContext::InternationalKeyCode::Some + ,IParseContext::InternationalKeyCode::StdDevPop + ,IParseContext::InternationalKeyCode::StdDevSamp + ,IParseContext::InternationalKeyCode::VarSamp + ,IParseContext::InternationalKeyCode::VarPop + ,IParseContext::InternationalKeyCode::Collect + ,IParseContext::InternationalKeyCode::Fusion + ,IParseContext::InternationalKeyCode::Intersection }; OUString sGroup = m_aFunctionStrings.getToken(comphelper::string::getTokenCount(m_aFunctionStrings, ';') - 1, ';'); |