callcatcher: Remove unused code
This commit is contained in:
@@ -2148,14 +2148,6 @@ vcl::PDFExtOutDevData::SetOutlineItemParent(int, int)
|
|||||||
vcl::PDFExtOutDevData::SetOutlineItemText(int, rtl::OUString const&)
|
vcl::PDFExtOutDevData::SetOutlineItemText(int, rtl::OUString const&)
|
||||||
vcl::PDFWriter::DrawPixel(Polygon const&, Color const*)
|
vcl::PDFWriter::DrawPixel(Polygon const&, Color const*)
|
||||||
vcl::PDFWriterImpl::drawPolyPolygon(PolyPolygon const&, int, bool)
|
vcl::PDFWriterImpl::drawPolyPolygon(PolyPolygon const&, int, bool)
|
||||||
vcl::PrintDialog::getCopyCount()
|
|
||||||
vcl::RowOrColumn::remove(Window*)
|
|
||||||
vcl::RowOrColumn::remove(boost::shared_ptr<vcl::WindowArranger> const&)
|
|
||||||
vcl::unotools::xBitmapFromBitmap(com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&, Bitmap const&)
|
|
||||||
vcl::unotools::xPolyPolygonFromPolyPolygon(com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&, PolyPolygon const&)
|
|
||||||
vcl::unotools::xPolyPolygonFromPolygon(com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&, Polygon const&)
|
|
||||||
vcl::unx::GtkPrintWrapper::print_operation_set_has_selection(_GtkPrintOperation*, int) const
|
vcl::unx::GtkPrintWrapper::print_operation_set_has_selection(_GtkPrintOperation*, int) const
|
||||||
vcl::unx::GtkPrintWrapper::print_operation_set_support_selection(_GtkPrintOperation*, int) const
|
vcl::unx::GtkPrintWrapper::print_operation_set_support_selection(_GtkPrintOperation*, int) const
|
||||||
void ScCompressedArrayIterator<int, unsigned short>::Follow<unsigned char>(ScCompressedArrayIterator<int, unsigned char> const&)
|
void ScCompressedArrayIterator<int, unsigned short>::Follow<unsigned char>(ScCompressedArrayIterator<int, unsigned char> const&)
|
||||||
writerfilter::TagLogger::attribute(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rtl::OUString const&)
|
|
||||||
writerfilter::TagLogger::chars(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
|
|
||||||
|
@@ -295,7 +295,6 @@ namespace vcl
|
|||||||
virtual ~PrintDialog();
|
virtual ~PrintDialog();
|
||||||
|
|
||||||
bool isPrintToFile();
|
bool isPrintToFile();
|
||||||
int getCopyCount();
|
|
||||||
bool isCollate();
|
bool isCollate();
|
||||||
bool isSingleJobs();
|
bool isSingleJobs();
|
||||||
|
|
||||||
|
@@ -251,13 +251,11 @@ namespace vcl
|
|||||||
// add a managed window at the given index
|
// add a managed window at the given index
|
||||||
// an index smaller than zero means add the window at the end
|
// an index smaller than zero means add the window at the end
|
||||||
size_t addWindow( Window*, sal_Int32 i_nExpandPrio = 0, const Size& i_rMinSize = Size(), size_t i_nIndex = ~0 );
|
size_t addWindow( Window*, sal_Int32 i_nExpandPrio = 0, const Size& i_rMinSize = Size(), size_t i_nIndex = ~0 );
|
||||||
void remove( Window* );
|
|
||||||
|
|
||||||
size_t addChild( boost::shared_ptr<WindowArranger> const &, sal_Int32 i_nExpandPrio = 0, size_t i_nIndex = ~0 );
|
size_t addChild( boost::shared_ptr<WindowArranger> const &, sal_Int32 i_nExpandPrio = 0, size_t i_nIndex = ~0 );
|
||||||
// convenience: use for addChild( new WindowArranger( ... ) ) constructs
|
// convenience: use for addChild( new WindowArranger( ... ) ) constructs
|
||||||
size_t addChild( WindowArranger* i_pNewChild, sal_Int32 i_nExpandPrio = 0, size_t i_nIndex = ~0 )
|
size_t addChild( WindowArranger* i_pNewChild, sal_Int32 i_nExpandPrio = 0, size_t i_nIndex = ~0 )
|
||||||
{ return addChild( boost::shared_ptr<WindowArranger>( i_pNewChild ), i_nExpandPrio, i_nIndex ); }
|
{ return addChild( boost::shared_ptr<WindowArranger>( i_pNewChild ), i_nExpandPrio, i_nIndex ); }
|
||||||
void remove( boost::shared_ptr<WindowArranger> const & );
|
|
||||||
|
|
||||||
long getBorderWidth() const { return m_nBorderWidth; }
|
long getBorderWidth() const { return m_nBorderWidth; }
|
||||||
};
|
};
|
||||||
|
@@ -81,33 +81,9 @@ namespace vcl
|
|||||||
{
|
{
|
||||||
namespace unotools
|
namespace unotools
|
||||||
{
|
{
|
||||||
// Polygon conversions
|
|
||||||
// ===================================================================
|
|
||||||
|
|
||||||
/** Create an XPolyPolygon from VCL/Tools polygon
|
|
||||||
*/
|
|
||||||
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XPolyPolygon2D >
|
|
||||||
VCL_DLLPUBLIC xPolyPolygonFromPolygon( const ::com::sun::star::uno::Reference<
|
|
||||||
::com::sun::star::rendering::XGraphicDevice >& xGraphicDevice,
|
|
||||||
const ::Polygon& inputPolygon );
|
|
||||||
|
|
||||||
/** Create an XPolyPolygon from VCL/Tools polyPolygon
|
|
||||||
*/
|
|
||||||
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XPolyPolygon2D >
|
|
||||||
VCL_DLLPUBLIC xPolyPolygonFromPolyPolygon( const ::com::sun::star::uno::Reference<
|
|
||||||
::com::sun::star::rendering::XGraphicDevice >& xGraphicDevice,
|
|
||||||
const ::PolyPolygon& inputPolyPolygon );
|
|
||||||
|
|
||||||
// Bitmap conversions
|
// Bitmap conversions
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
/** Create an XBitmap from VCL Bitmap
|
|
||||||
*/
|
|
||||||
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmap >
|
|
||||||
VCL_DLLPUBLIC xBitmapFromBitmap( const ::com::sun::star::uno::Reference<
|
|
||||||
::com::sun::star::rendering::XGraphicDevice >& xGraphicDevice,
|
|
||||||
const ::Bitmap& inputBitmap );
|
|
||||||
|
|
||||||
/** Create an XBitmap from VCL BitmapEx
|
/** Create an XBitmap from VCL BitmapEx
|
||||||
*/
|
*/
|
||||||
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmap >
|
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmap >
|
||||||
|
@@ -79,48 +79,6 @@ namespace vcl
|
|||||||
{
|
{
|
||||||
namespace unotools
|
namespace unotools
|
||||||
{
|
{
|
||||||
// #i79917# removed helpers bezierSequenceFromPolygon and
|
|
||||||
// pointSequenceFromPolygon here
|
|
||||||
// Also all helpers using tools Polygon and PolyPolygon will get mapped to the
|
|
||||||
// B2DPolygon helpers for these cases, see comments with the same TaskID below.
|
|
||||||
// TODO: Remove those wrapped methods
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
uno::Reference< rendering::XPolyPolygon2D > xPolyPolygonFromPolygon( const uno::Reference< rendering::XGraphicDevice >& xGraphicDevice,
|
|
||||||
const ::Polygon& inputPolygon )
|
|
||||||
{
|
|
||||||
RTL_LOGFILE_CONTEXT( aLog, "::vcl::unotools::xPolyPolygonFromPolygon()" );
|
|
||||||
|
|
||||||
// #i79917# map to basegfx
|
|
||||||
const basegfx::B2DPolygon aB2DPolygon(inputPolygon.getB2DPolygon());
|
|
||||||
return basegfx::unotools::xPolyPolygonFromB2DPolygon(xGraphicDevice, aB2DPolygon);
|
|
||||||
}
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
uno::Reference< rendering::XPolyPolygon2D > xPolyPolygonFromPolyPolygon( const uno::Reference< rendering::XGraphicDevice >& xGraphicDevice,
|
|
||||||
const ::PolyPolygon& inputPolyPolygon )
|
|
||||||
{
|
|
||||||
RTL_LOGFILE_CONTEXT( aLog, "::vcl::unotools::xPolyPolygonFromPolyPolygon()" );
|
|
||||||
|
|
||||||
// #i79917# map to basegfx
|
|
||||||
const basegfx::B2DPolyPolygon aB2DPolyPolygon(inputPolyPolygon.getB2DPolyPolygon());
|
|
||||||
return basegfx::unotools::xPolyPolygonFromB2DPolyPolygon(xGraphicDevice, aB2DPolyPolygon);
|
|
||||||
}
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
uno::Reference< rendering::XBitmap > xBitmapFromBitmap( const uno::Reference< rendering::XGraphicDevice >& /*xGraphicDevice*/,
|
|
||||||
const ::Bitmap& inputBitmap )
|
|
||||||
{
|
|
||||||
RTL_LOGFILE_CONTEXT( aLog, "::vcl::unotools::xBitmapFromBitmap()" );
|
|
||||||
|
|
||||||
return new vcl::unotools::VclCanvasBitmap( BitmapEx( inputBitmap ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
uno::Reference< rendering::XBitmap > xBitmapFromBitmapEx( const uno::Reference< rendering::XGraphicDevice >& /*xGraphicDevice*/,
|
uno::Reference< rendering::XBitmap > xBitmapFromBitmapEx( const uno::Reference< rendering::XGraphicDevice >& /*xGraphicDevice*/,
|
||||||
const ::BitmapEx& inputBitmap )
|
const ::BitmapEx& inputBitmap )
|
||||||
{
|
{
|
||||||
@@ -129,8 +87,6 @@ namespace vcl
|
|||||||
return new vcl::unotools::VclCanvasBitmap( inputBitmap );
|
return new vcl::unotools::VclCanvasBitmap( inputBitmap );
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
inline bool operator==( const rendering::IntegerBitmapLayout& rLHS,
|
inline bool operator==( const rendering::IntegerBitmapLayout& rLHS,
|
||||||
|
@@ -524,38 +524,6 @@ size_t RowOrColumn::addChild( boost::shared_ptr<WindowArranger> const & i_pChild
|
|||||||
return nIndex;
|
return nIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RowOrColumn::remove( Window* i_pWindow )
|
|
||||||
{
|
|
||||||
if( i_pWindow )
|
|
||||||
{
|
|
||||||
for( std::vector< WindowArranger::Element >::iterator it = m_aElements.begin();
|
|
||||||
it != m_aElements.end(); ++it )
|
|
||||||
{
|
|
||||||
if( it->m_pElement == i_pWindow )
|
|
||||||
{
|
|
||||||
m_aElements.erase( it );
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void RowOrColumn::remove( boost::shared_ptr<WindowArranger> const & i_pChild )
|
|
||||||
{
|
|
||||||
if( i_pChild )
|
|
||||||
{
|
|
||||||
for( std::vector< WindowArranger::Element >::iterator it = m_aElements.begin();
|
|
||||||
it != m_aElements.end(); ++it )
|
|
||||||
{
|
|
||||||
if( it->m_pChild == i_pChild )
|
|
||||||
{
|
|
||||||
m_aElements.erase( it );
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ----------------------------------------
|
// ----------------------------------------
|
||||||
// vcl::LabeledElement
|
// vcl::LabeledElement
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
|
@@ -1028,11 +1028,6 @@ bool PrintDialog::isPrintToFile()
|
|||||||
return maOptionsPage.maToFileBox.IsChecked();
|
return maOptionsPage.maToFileBox.IsChecked();
|
||||||
}
|
}
|
||||||
|
|
||||||
int PrintDialog::getCopyCount()
|
|
||||||
{
|
|
||||||
return static_cast<int>(maJobPage.maCopyCountField.GetValue());
|
|
||||||
}
|
|
||||||
|
|
||||||
bool PrintDialog::isCollate()
|
bool PrintDialog::isCollate()
|
||||||
{
|
{
|
||||||
return maJobPage.maCopyCountField.GetValue() > 1 ? maJobPage.maCollateBox.IsChecked() : sal_False;
|
return maJobPage.maCopyCountField.GetValue() > 1 ? maJobPage.maCollateBox.IsChecked() : sal_False;
|
||||||
|
Reference in New Issue
Block a user