remove unused code chart::ChartModelHelper::setPageSize

Change-Id: I9c6d6f8d9389070a41af2a289e97b6eeb2fc750c
This commit is contained in:
Noel Grandin
2014-03-03 14:40:49 +02:00
parent d61b787c84
commit adbf974f82
3 changed files with 0 additions and 13 deletions

View File

@@ -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 );

View File

@@ -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 );

View File

@@ -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