diff options
-rw-r--r-- | chart2/source/inc/ChartModelHelper.hxx | 4 | ||||
-rw-r--r-- | chart2/source/tools/ChartModelHelper.cxx | 8 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 13 deletions
diff --git a/chart2/source/inc/ChartModelHelper.hxx b/chart2/source/inc/ChartModelHelper.hxx index 9b947cd45a72..426bdafa8687 100644 --- a/chart2/source/inc/ChartModelHelper.hxx +++ b/chart2/source/inc/ChartModelHelper.hxx @@ -93,10 +93,6 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel ); - static void setPageSize( const ::com::sun::star::awt::Size& rSize - , const ::com::sun::star::uno::Reference< - ::com::sun::star::frame::XModel >& xModel ); - static void triggerRangeHighlighting( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel ); diff --git a/chart2/source/tools/ChartModelHelper.cxx b/chart2/source/tools/ChartModelHelper.cxx index 05bda3059ef1..976cd4f91134 100644 --- a/chart2/source/tools/ChartModelHelper.cxx +++ b/chart2/source/tools/ChartModelHelper.cxx @@ -182,14 +182,6 @@ awt::Size ChartModelHelper::getPageSize( const uno::Reference< frame::XModel >& return aPageSize; } -void ChartModelHelper::setPageSize( const awt::Size& rSize, const uno::Reference< frame::XModel >& xModel ) -{ - uno::Reference< embed::XVisualObject > xVisualObject(xModel,uno::UNO_QUERY); - OSL_ENSURE(xVisualObject.is(),"need xVisualObject for page size"); - if( xVisualObject.is() ) - xVisualObject->setVisualAreaSize( embed::Aspects::MSOLE_CONTENT, rSize ); -} - void ChartModelHelper::triggerRangeHighlighting( const uno::Reference< frame::XModel >& xModel ) { uno::Reference< chart2::data::XDataReceiver > xDataReceiver( xModel, uno::UNO_QUERY ); diff --git a/unusedcode.easy b/unusedcode.easy index 3df7e263dac5..5763e32aa60f 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -214,7 +214,6 @@ basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon c basegfx::tools::equal(basegfx::B2DPolygon const&, basegfx::B2DPolygon const&, double const&) basegfx::tools::equal(basegfx::B3DPolyPolygon const&, basegfx::B3DPolyPolygon const&) canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&) -chart::ChartModelHelper::setPageSize(com::sun::star::awt::Size const&, com::sun::star::uno::Reference<com::sun::star::frame::XModel> const&) comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&) const |