diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-24 10:49:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-24 10:51:22 +0200 |
commit | 858e455634ebfff8ef7b65a9c97d3bc8240cd094 (patch) | |
tree | 688dd5dbe73ee53ef4b84124632e045045b404d1 /vbahelper | |
parent | a6df3c0babf409d8fc0bf52efd9c2fa74a95998e (diff) |
loplugin:constantfunction: various
Change-Id: I6eddda9f4b31c7ce413c328b6a857a81bd222eed
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbadocumentsbase.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vbahelper/source/vbahelper/vbadocumentsbase.cxx b/vbahelper/source/vbahelper/vbadocumentsbase.cxx index 8c66d5bc029a..849bbd97e092 100644 --- a/vbahelper/source/vbahelper/vbadocumentsbase.cxx +++ b/vbahelper/source/vbahelper/vbadocumentsbase.cxx @@ -266,19 +266,6 @@ uno::Any VbaDocumentsBase::createDocument() throw (uno::RuntimeException, std::e return uno::makeAny( xComponent ); } -void VbaDocumentsBase::closeDocuments() throw (uno::RuntimeException) -{ -// #FIXME this *MUST* be wrong documents::close surely closes ALL documents -// in the collection, use of getCurrentDocument here is totally wrong -/* - uno::Reference< lang::XMultiComponentFactory > xSMgr( - mxContext->getServiceManager(), uno::UNO_QUERY_THROW ); - uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW ); - OUString url = ".uno:CloseDoc"; - dispatchRequests(xModel,url); -*/ -} - // #TODO# #FIXME# can any of the unused params below be used? uno::Any VbaDocumentsBase::openDocument( const OUString& rFileName, const uno::Any& ReadOnly, const uno::Sequence< beans::PropertyValue >& rProps ) throw (uno::RuntimeException) { |