diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-30 14:35:23 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-06 06:14:15 +0000 |
commit | 89c77994d4638c86635c70535fab6508e2f3d900 (patch) | |
tree | 6a48a4f188e8f163c803d6af90cc4eb32ffdbf67 /basctl | |
parent | 64385c7555c6bbb089f3ab8b2a5b623cadd6ee7d (diff) |
remove some unnecessary typedefs around uno::Reference
Not very useful these days, since we have the css:: prefix to reduce
verbosity.
Found with a search like:
git grep -nP 'typedef .*uno::Reference.*<.*>\s+\w+;'
| grep -v 'std::'
Change-Id: I16f41c53837ec5c613545ae45df38b0daddcbadd
Reviewed-on: https://gerrit.libreoffice.org/16730
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/documentenumeration.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/basctl/source/basicide/documentenumeration.hxx b/basctl/source/basicide/documentenumeration.hxx index 4029bf62c429..642fa2d33e83 100644 --- a/basctl/source/basicide/documentenumeration.hxx +++ b/basctl/source/basicide/documentenumeration.hxx @@ -33,13 +33,12 @@ namespace com { namespace sun { namespace star { namespace uno { namespace basctl { namespace docs { - typedef ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > Model; - typedef ::std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > > Controllers; + typedef ::std::vector< css::uno::Reference< css::frame::XController > > Controllers; struct DocumentDescriptor { - Model xModel; - Controllers aControllers; + css::uno::Reference< css::frame::XModel > xModel; + Controllers aControllers; }; typedef ::std::vector< DocumentDescriptor > Documents; @@ -72,7 +71,7 @@ namespace basctl { namespace docs { class DocumentEnumeration { public: - DocumentEnumeration( com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > const & _rContext, const IDocumentDescriptorFilter* _pFilter = NULL ); + DocumentEnumeration( css::uno::Reference< css::uno::XComponentContext > const & _rContext, const IDocumentDescriptorFilter* _pFilter = NULL ); ~DocumentEnumeration(); /** retrieves a list of all currently known documents in the application |