diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-21 13:43:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-24 10:19:49 +0200 |
commit | 552b1fc70fc2fca2ba3d33929f20c3172e9e8bb4 (patch) | |
tree | e43efc255428dd52d1f174d1b4c9bd0e1d17de38 /basic | |
parent | 9a453051639be4bee9339bface0bb4678eb58bf4 (diff) |
inline some use-once typedefs
Change-Id: Idddba2f3fd05265b08dbc88edb6152d34a166052
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94730
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/inc/sbunoobj.hxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx index 1d6d9de1d5eb..6827bf755d0d 100644 --- a/basic/source/inc/sbunoobj.hxx +++ b/basic/source/inc/sbunoobj.hxx @@ -359,16 +359,11 @@ public: virtual void Clear() override; }; -typedef std::unordered_map< OUString, css::uno::Any > VBAConstantsHash; - -typedef std::vector< OUString > VBAConstantsVector; - class VBAConstantHelper { private: - - VBAConstantsVector aConstCache; - VBAConstantsHash aConstHash; + std::vector< OUString > aConstCache; + std::unordered_map< OUString, css::uno::Any > aConstHash; bool isInited; VBAConstantHelper():isInited( false ) {} VBAConstantHelper(const VBAConstantHelper&) = delete; |