oox: remove now unused helper methods (generated code used them in the past)

Change-Id: I532dc4ec24c635b9889d77c37113a8ece2c9b88b
This commit is contained in:
Miklos Vajna 2014-04-29 10:44:15 +02:00
parent 11b81c1026
commit 8c128ceebb
3 changed files with 0 additions and 37 deletions

View file

@ -112,10 +112,7 @@ protected:
sal_uInt32 nFirstValue;
sal_uInt32 nSecondValue;
};
static com::sun::star::uno::Any createStringSequence( size_t nStrings, const char **pStrings );
static com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeSegment > createSegmentSequence( size_t nElems, const sal_uInt16 *pValues );
static com::sun::star::drawing::EnhancedCustomShapeParameterPair createParameterPair( const ParameterPairData *pData );
static com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeParameterPair > createParameterPairSequence( size_t nElems, const ParameterPairData *pData );
public:
virtual ~CustomShapeProvider() {}
virtual PropertyMap getProperties() = 0;

View file

@ -369,28 +369,6 @@ void CustomShapeProperties::pushToPropSet( const ::oox::core::FilterBase& /* rFi
}
}
Any CustomShapeProvider::createStringSequence( size_t nStrings, const char **pStrings )
{
Sequence< OUString > aStringSequence( nStrings );
for (size_t i = 0; i < nStrings; i++)
aStringSequence[i] = OUString::intern(
pStrings[i], strlen( pStrings[i] ),
RTL_TEXTENCODING_ASCII_US );
return makeAny( aStringSequence );
}
com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeSegment >
CustomShapeProvider::createSegmentSequence( size_t nElems, const sal_uInt16 *pValues )
{
Sequence< EnhancedCustomShapeSegment > aSequence( (nElems + 1) / 2 );
for (size_t i = 0, j = 0; i < nElems / 2; i++)
{
aSequence[i].Command = pValues[j++];
aSequence[i].Count = pValues[j++];
}
return aSequence;
}
com::sun::star::drawing::EnhancedCustomShapeParameterPair
CustomShapeProvider::createParameterPair( const ParameterPairData *pData )
{
@ -402,15 +380,6 @@ CustomShapeProvider::createParameterPair( const ParameterPairData *pData )
return aParameterPair;
}
com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeParameterPair >
CustomShapeProvider::createParameterPairSequence( size_t nElems, const ParameterPairData *pData )
{
Sequence< EnhancedCustomShapeParameterPair > aSequence( nElems );
for (size_t i = 0; i < nElems; i++)
aSequence[i] = createParameterPair( pData + i );
return aSequence;
}
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -220,9 +220,6 @@ connectivity::sdbcx::OGroup::OGroup(bool)
connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, bool)
oglcanvas::CanvasHelper::flush() const
oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const
oox::drawingml::CustomShapeProvider::createParameterPairSequence(unsigned long, oox::drawingml::CustomShapeProvider::ParameterPairData const*)
oox::drawingml::CustomShapeProvider::createSegmentSequence(unsigned long, unsigned short const*)
oox::drawingml::CustomShapeProvider::createStringSequence(unsigned long, char const**)
oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&)
sc::CLBuildKernelThread::CLBuildKernelThread()
sc::CLBuildKernelThread::consume()