diff options
author | Petr Vorel <petr.vorel@gmail.com> | 2012-03-27 11:03:09 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-27 16:52:46 +0100 |
commit | 16410cdcb91b3d358ab2964deefe8d357cae613b (patch) | |
tree | 71a603da1ec9e74e1aadfc437f581ebd5b4f1c2f /oox/source/ppt/pptshape.cxx | |
parent | 16244e7f241994fd0284b4ba77933d8fb2f25c1c (diff) |
remove unused code (oox, sc)
Diffstat (limited to 'oox/source/ppt/pptshape.cxx')
-rw-r--r-- | oox/source/ppt/pptshape.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/oox/source/ppt/pptshape.cxx b/oox/source/ppt/pptshape.cxx index a72a10c54c4b..2b017f064f1d 100644 --- a/oox/source/ppt/pptshape.cxx +++ b/oox/source/ppt/pptshape.cxx @@ -423,13 +423,6 @@ oox::drawingml::ShapePtr PPTShape::findPlaceholderByIndex( const sal_Int32 nIdx, return aShapePtr; } -// if nFirstPlaceholder can't be found, it will be searched for nSecondPlaceholder -oox::drawingml::ShapePtr PPTShape::findPlaceholder( sal_Int32 nFirstPlaceholder, sal_Int32 nSecondPlaceholder, std::vector< oox::drawingml::ShapePtr >& rShapes ) -{ - oox::drawingml::ShapePtr pPlaceholder = findPlaceholder( nFirstPlaceholder, rShapes ); - return !nSecondPlaceholder || pPlaceholder.get() ? pPlaceholder : findPlaceholder( nSecondPlaceholder, rShapes ); -} - } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |