summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/customshapeproperties.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-04-29 10:44:15 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-04-29 11:08:38 +0200
commit8c128ceebbf2d5320bd495101401712a3290c3d1 (patch)
tree28d5a71c59ddeff15e662ec1155cb886955f51c0 /oox/source/drawingml/customshapeproperties.cxx
parent11b81c1026c17548bfdbb861ac696f9c6acc628e (diff)
oox: remove now unused helper methods (generated code used them in the past)
Change-Id: I532dc4ec24c635b9889d77c37113a8ece2c9b88b
Diffstat (limited to 'oox/source/drawingml/customshapeproperties.cxx')
-rw-r--r--oox/source/drawingml/customshapeproperties.cxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/oox/source/drawingml/customshapeproperties.cxx b/oox/source/drawingml/customshapeproperties.cxx
index 0496dc38f518..1feec30eb862 100644
--- a/oox/source/drawingml/customshapeproperties.cxx
+++ b/oox/source/drawingml/customshapeproperties.cxx
@@ -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: */