diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-03 15:13:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-04 08:55:56 +0200 |
commit | 50097a8bb2be903d8a985f6f03f364567bf4643d (patch) | |
tree | d4d47f9832766b4a07b5b97a3a5dfcbc93d96a91 /basctl | |
parent | 3ff2e30ff671aa43891968d21aa2e17774e47baf (diff) |
basic,basctl: inline some use-once typedefs
Change-Id: I60619a5bfe9507fb5ed24123f62f6b5c2f2c8712
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basidesh.cxx | 4 | ||||
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 7 | ||||
-rw-r--r-- | basctl/source/inc/dlgedclip.hxx | 8 |
3 files changed, 5 insertions, 14 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 79e352e81cb9..834979a8cba4 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -62,9 +62,7 @@ namespace basctl using namespace ::com::sun::star::uno; using namespace ::com::sun::star; -typedef ::cppu::WeakImplHelper< container::XContainerListener > ContainerListenerBASE; - -class ContainerListenerImpl : public ContainerListenerBASE +class ContainerListenerImpl : public ::cppu::WeakImplHelper< container::XContainerListener > { Shell* mpShell; public: diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index af0e8d3a0c55..ae4d83dd9531 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -66,12 +66,10 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::ucb; using namespace ::com::sun::star::ui::dialogs; -typedef ::cppu::WeakImplHelper< task::XInteractionHandler > HandlerImpl_BASE; - namespace { -class DummyInteractionHandler : public HandlerImpl_BASE +class DummyInteractionHandler : public ::cppu::WeakImplHelper< task::XInteractionHandler > { Reference< task::XInteractionHandler2 > m_xHandler; public: @@ -1167,9 +1165,8 @@ void LibPage::implExportLib( const OUString& aLibName, const OUString& aTargetUR } // Implementation XCommandEnvironment -typedef cppu::WeakImplHelper< XCommandEnvironment > LibCommandEnvironmentHelper; -class OLibCommandEnvironment : public LibCommandEnvironmentHelper +class OLibCommandEnvironment : public cppu::WeakImplHelper< XCommandEnvironment > { Reference< task::XInteractionHandler > mxInteraction; diff --git a/basctl/source/inc/dlgedclip.hxx b/basctl/source/inc/dlgedclip.hxx index 2178423d946f..5a42822150ec 100644 --- a/basctl/source/inc/dlgedclip.hxx +++ b/basctl/source/inc/dlgedclip.hxx @@ -27,12 +27,8 @@ namespace basctl { -// DlgEdTransferableImpl - - -typedef ::cppu::WeakImplHelper< css::datatransfer::XTransferable, css::datatransfer::clipboard::XClipboardOwner > DlgEdTransferableHelper; - -class DlgEdTransferableImpl : public DlgEdTransferableHelper +class DlgEdTransferableImpl : public ::cppu::WeakImplHelper< css::datatransfer::XTransferable, + css::datatransfer::clipboard::XClipboardOwner > { private: css::uno::Sequence< css::datatransfer::DataFlavor > m_SeqFlavors; |