unusedcode: more removing
Change-Id: Ic8be585925edd63724d28a255c9e33170a4a041e
This commit is contained in:
parent
bc234b4e11
commit
5c87937273
@ -102,23 +102,6 @@ getUnoSheetModuleObj( const uno::Reference< table::XCellRange >& xRange ) throw
|
||||
return getUnoSheetModuleObj( xSheet );
|
||||
}
|
||||
|
||||
ScDocShell* GetDocShellFromRanges( const uno::Reference< sheet::XSheetCellRangeContainer >& xRanges ) throw ( uno::RuntimeException )
|
||||
{
|
||||
// need the ScCellRangesBase to get docshell
|
||||
uno::Reference< uno::XInterface > xIf( xRanges, uno::UNO_QUERY_THROW );
|
||||
return GetDocShellFromRange( xIf );
|
||||
}
|
||||
|
||||
ScDocument* GetDocumentFromRange( const uno::Reference< uno::XInterface >& xRange ) throw ( uno::RuntimeException )
|
||||
{
|
||||
ScDocShell* pDocShell = GetDocShellFromRange( xRange );
|
||||
if ( !pDocShell )
|
||||
{
|
||||
throw uno::RuntimeException( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Failed to access underlying document from uno range object" ) ), uno::Reference< uno::XInterface >() );
|
||||
}
|
||||
return pDocShell->GetDocument();
|
||||
}
|
||||
|
||||
void implSetZoom( const uno::Reference< frame::XModel >& xModel, sal_Int16 nZoom, std::vector< SCTAB >& nTabs )
|
||||
{
|
||||
ScTabViewShell* pViewSh = excel::getBestViewShell( xModel );
|
||||
|
@ -68,8 +68,6 @@ css::uno::Reference< ooo::vba::XHelperInterface > getUnoSheetModuleObj( const cs
|
||||
css::uno::Reference< ooo::vba::XHelperInterface > getUnoSheetModuleObj( const css::uno::Reference< css::frame::XModel >& xModel, SCTAB nTab ) throw ( css::uno::RuntimeException );
|
||||
|
||||
ScDocShell* GetDocShellFromRange( const css::uno::Reference< css::uno::XInterface >& xRange ) throw ( css::uno::RuntimeException );
|
||||
ScDocShell* GetDocShellFromRanges( const css::uno::Reference< css::sheet::XSheetCellRangeContainer >& xRanges ) throw ( css::uno::RuntimeException );
|
||||
ScDocument* GetDocumentFromRange( const css::uno::Reference< css::uno::XInterface >& xRange ) throw ( css::uno::RuntimeException );
|
||||
void setUpDocumentModules( const css::uno::Reference< css::sheet::XSpreadsheetDocument >& xDoc );
|
||||
|
||||
// ============================================================================
|
||||
|
@ -84,8 +84,6 @@ dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString
|
||||
formula::FormulaTokenIterator::First()
|
||||
framework::OReadMenuDocumentHandler::getServiceFactory()
|
||||
jfw_plugin::VendorBase::createInstance()
|
||||
ooo::vba::excel::GetDocShellFromRanges(com::sun::star::uno::Reference<com::sun::star::sheet::XSheetCellRangeContainer> const&)
|
||||
ooo::vba::excel::GetDocumentFromRange(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)
|
||||
oox::drawingml::TextListStyle::dump() const
|
||||
oox::ole::AxFormPageModel::AxFormPageModel()
|
||||
oox::ole::AxMultiPageModel::AxMultiPageModel()
|
||||
|
Loading…
x
Reference in New Issue
Block a user