summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-03 12:34:22 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-08-03 12:16:33 +0000
commita4fd6c4f9e5b010f00ba7cc84a4b2d5d8950813a (patch)
tree6b2aa80c50d3937cfe17053a5da48f19855dcb68 /toolkit
parent5256953397b495e9271cec92cc78514d772acaf5 (diff)
inline some use-once typedefs
Change-Id: I02cbbba56a2ad83e0ac3d806265a7e0d6a29594d Reviewed-on: https://gerrit.libreoffice.org/17495 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/dialogcontrol.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx
index a19b255311b1..018b2391f76e 100644
--- a/toolkit/source/controls/dialogcontrol.cxx
+++ b/toolkit/source/controls/dialogcontrol.cxx
@@ -73,10 +73,8 @@ using namespace ::com::sun::star::util;
// we probably will need both a hash of control models and hash of controls
// => use some template magic
-typedef ::cppu::WeakImplHelper1< container::XNameContainer > SimpleNameContainer_BASE;
-
template< typename T >
-class SimpleNamedThingContainer : public SimpleNameContainer_BASE
+class SimpleNamedThingContainer : public ::cppu::WeakImplHelper1< container::XNameContainer >
{
typedef std::unordered_map< OUString, Reference< T >, OUStringHash,
std::equal_to< OUString > > NamedThingsHash;