diff options
Diffstat (limited to 'chart2/source/model/main/ChartModel.cxx')
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index aa5f78fd5312..ee1c0e23ff36 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -81,9 +81,7 @@ const OUString lcl_aGDIMetaFileMIMETypeHighContrast( } // anonymous namespace -//----------------------------------------------------------------- // ChartModel Constructor and Destructor -//----------------------------------------------------------------- namespace chart { @@ -198,9 +196,7 @@ void SAL_CALL ChartModel::initialize( const Sequence< Any >& /*rArguments*/ ) //support argument "DocumentRecoverySupport"? } -//----------------------------------------------------------------- // private methods -//----------------------------------------------------------------- OUString ChartModel::impl_g_getLocation() { @@ -303,9 +299,7 @@ void ChartModel::impl_adjustAdditionalShapesPositionAndSize( const awt::Size& aV } } -//----------------------------------------------------------------- // lang::XServiceInfo -//----------------------------------------------------------------- APPHELPER_XSERVICEINFO_IMPL(ChartModel,CHART_MODEL_SERVICE_IMPLEMENTATION_NAME) @@ -319,9 +313,7 @@ uno::Sequence< OUString > ChartModel::getSupportedServiceNames_Static() return aSNS; } -//----------------------------------------------------------------- // frame::XModel (required interface) -//----------------------------------------------------------------- sal_Bool SAL_CALL ChartModel::attachResource( const OUString& rURL , const uno::Sequence< beans::PropertyValue >& rMediaDescriptor ) @@ -496,7 +488,6 @@ uno::Reference< uno::XInterface > SAL_CALL ChartModel::getCurrentSelection() thr "getCurrentSelection was called on an already disposed or closed model", static_cast< ::cppu::OWeakObject* >(this) ); - uno::Reference< uno::XInterface > xReturn; uno::Reference< frame::XController > xController = impl_getCurrentController(); @@ -515,10 +506,7 @@ uno::Reference< uno::XInterface > SAL_CALL ChartModel::getCurrentSelection() thr return xReturn; } - -//----------------------------------------------------------------- // lang::XComponent (base of XModel) -//----------------------------------------------------------------- void SAL_CALL ChartModel::dispose() throw(uno::RuntimeException) { Reference< XInterface > xKeepAlive( *this ); @@ -589,9 +577,7 @@ void SAL_CALL ChartModel::removeEventListener( const uno::Reference< lang::XEven return; } -//----------------------------------------------------------------- // util::XCloseBroadcaster (base of XCloseable) -//----------------------------------------------------------------- void SAL_CALL ChartModel::addCloseListener( const uno::Reference< util::XCloseListener > & xListener ) throw(uno::RuntimeException) { @@ -608,9 +594,7 @@ void SAL_CALL ChartModel::removeCloseListener( const uno::Reference< util::XClos return; } -//----------------------------------------------------------------- // util::XCloseable -//----------------------------------------------------------------- void SAL_CALL ChartModel::close( sal_Bool bDeliverOwnership ) throw( util::CloseVetoException, uno::RuntimeException ) @@ -664,9 +648,7 @@ void SAL_CALL ChartModel::close( sal_Bool bDeliverOwnership ) impl_notifyCloseListeners(); } -//----------------------------------------------------------------- // lang::XTypeProvider -//----------------------------------------------------------------- uno::Sequence< uno::Type > SAL_CALL ChartModel::getTypes() throw (uno::RuntimeException) { @@ -688,9 +670,7 @@ uno::Sequence< uno::Type > SAL_CALL ChartModel::getTypes() return impl::ChartModel_Base::getTypes(); } -//----------------------------------------------------------------- // document::XDocumentPropertiesSupplier -//----------------------------------------------------------------- uno::Reference< document::XDocumentProperties > SAL_CALL ChartModel::getDocumentProperties() throw (uno::RuntimeException) { @@ -702,9 +682,7 @@ uno::Reference< document::XDocumentProperties > SAL_CALL return m_xDocumentProperties; } -//----------------------------------------------------------------- // document::XDocumentPropertiesSupplier -//----------------------------------------------------------------- Reference< document::XUndoManager > SAL_CALL ChartModel::getUndoManager( ) throw (RuntimeException) { ::osl::MutexGuard aGuard( m_aModelMutex ); @@ -713,9 +691,7 @@ Reference< document::XUndoManager > SAL_CALL ChartModel::getUndoManager( ) thro return m_pUndoManager.get(); } -//----------------------------------------------------------------- // chart2::XChartDocument -//----------------------------------------------------------------- uno::Reference< chart2::XDiagram > SAL_CALL ChartModel::getFirstDiagram() throw (uno::RuntimeException) @@ -1168,8 +1144,6 @@ Sequence< datatransfer::DataFlavor > SAL_CALL ChartModel::getTransferDataFlavors return aFlavor.MimeType.equals(lcl_aGDIMetaFileMIMETypeHighContrast); } - - namespace { enum eServiceType |