summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/excelvbahelper.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-05-11 00:59:04 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-05-11 14:36:55 +0200
commit5038cdc71d838af8eed245c5af0b4a40abfeaaed (patch)
tree06605825c1563c2f4d585ded0ee740e266e74e65 /sc/source/ui/vba/excelvbahelper.cxx
parentd3af3f5f7eb2d7b72ec053a353f51b012f81a1e0 (diff)
some cleanup in vba
Diffstat (limited to 'sc/source/ui/vba/excelvbahelper.cxx')
-rw-r--r--sc/source/ui/vba/excelvbahelper.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sc/source/ui/vba/excelvbahelper.cxx b/sc/source/ui/vba/excelvbahelper.cxx
index cbf30eba603d..bad9fdf53d26 100644
--- a/sc/source/ui/vba/excelvbahelper.cxx
+++ b/sc/source/ui/vba/excelvbahelper.cxx
@@ -55,17 +55,6 @@ namespace excel {
// ============================================================================
-uno::Reference< sheet::XDatabaseRanges >
-GetDataBaseRanges( ScDocShell* pShell ) throw ( uno::RuntimeException )
-{
- uno::Reference< frame::XModel > xModel;
- if ( pShell )
- xModel.set( pShell->GetModel(), uno::UNO_QUERY_THROW );
- uno::Reference< beans::XPropertySet > xModelProps( xModel, uno::UNO_QUERY_THROW );
- uno::Reference< sheet::XDatabaseRanges > xDBRanges( xModelProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("DatabaseRanges") ) ), uno::UNO_QUERY_THROW );
- return xDBRanges;
-}
-
uno::Reference< sheet::XUnnamedDatabaseRanges >
GetUnnamedDataBaseRanges( ScDocShell* pShell ) throw ( uno::RuntimeException )
{