diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-04-04 14:45:11 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-04-14 12:31:45 +0200 |
commit | 1c2f9e4189fd3532912c6bb940ed1c80d525fe83 (patch) | |
tree | 36349e2c37a6c269c81a646215fb1adce37d2be5 /filter/source/flash | |
parent | 792437f1f4703752f04c2891bb8957e28f07c666 (diff) |
THEFUTURE is unused ;)
Diffstat (limited to 'filter/source/flash')
-rw-r--r-- | filter/source/flash/swfexporter.cxx | 8 | ||||
-rw-r--r-- | filter/source/flash/swfexporter.hxx | 4 | ||||
-rw-r--r-- | filter/source/flash/swfwriter.cxx | 30 | ||||
-rw-r--r-- | filter/source/flash/swfwriter.hxx | 5 |
4 files changed, 0 insertions, 47 deletions
diff --git a/filter/source/flash/swfexporter.cxx b/filter/source/flash/swfexporter.cxx index 9f24474ee246..9c719df4916f 100644 --- a/filter/source/flash/swfexporter.cxx +++ b/filter/source/flash/swfexporter.cxx @@ -86,14 +86,6 @@ PageInfo::~PageInfo() } } -#ifdef THEFUTURE - - -void PageInfo::addShape( ShapeInfo* pShapeInfo ) -{ - maShapesVector.push_back( pShapeInfo ); -} -#endif FlashExporter::FlashExporter( const Reference< XComponentContext > &rxContext, diff --git a/filter/source/flash/swfexporter.hxx b/filter/source/flash/swfexporter.hxx index ac8159adf09b..cb2a2802ebbf 100644 --- a/filter/source/flash/swfexporter.hxx +++ b/filter/source/flash/swfexporter.hxx @@ -135,10 +135,6 @@ struct PageInfo PageInfo(); ~PageInfo(); -#ifdef THEFUTURE - void addShape( ShapeInfo* pShapeInfo ); -#endif - }; diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx index a2fda1aa471e..507de6fc7b18 100644 --- a/filter/source/flash/swfwriter.cxx +++ b/filter/source/flash/swfwriter.cxx @@ -249,36 +249,6 @@ void Writer::placeShape( sal_uInt16 nID, sal_uInt16 nDepth, sal_Int32 x, sal_Int endTag(); } -#ifdef THEFUTURE - - -void Writer::moveShape( sal_uInt16 nDepth, sal_Int32 x, sal_Int32 y ) -{ - startTag( TAG_PLACEOBJECT2 ); - - BitStream aBits; - aBits.writeUB( 0, 1 ); // Has no Clip Actions - aBits.writeUB( 0, 1 ); // reserved - aBits.writeUB( 0, 1 ); // has no name - aBits.writeUB( 0, 1 ); // no ratio - aBits.writeUB( 0, 1 ); // no color transform - aBits.writeUB( 1, 1 ); // has a matrix - aBits.writeUB( 0, 1 ); // places a character - aBits.writeUB( 1, 1 ); // defines a character to be moved - - mpTag->addBits( aBits ); - mpTag->addUI16( nDepth ); // depth - - // #i73264# - const basegfx::B2DHomMatrix aMatrix(basegfx::tools::createTranslateB2DHomMatrix( - _Int16(static_cast<long>(map100thmm(x)*mnDocXScale)), - _Int16(static_cast<long>(map100thmm(y)*mnDocYScale)))); - mpTag->addMatrix( aMatrix ); // transformation matrix - - endTag(); -} -#endif - void Writer::removeShape( sal_uInt16 nDepth ) diff --git a/filter/source/flash/swfwriter.hxx b/filter/source/flash/swfwriter.hxx index a8c42b6d41bf..9cac13176456 100644 --- a/filter/source/flash/swfwriter.hxx +++ b/filter/source/flash/swfwriter.hxx @@ -303,11 +303,6 @@ public: /** inserts a place shape tag into the movie stream or the current sprite */ void placeShape( sal_uInt16 nID, sal_uInt16 nDepth, sal_Int32 x, sal_Int32 y, sal_uInt16 nClipDepth = 0, const char* pName = NULL ); -#ifdef THEFUTURE - /** inserts a move shape tag into the movie stream or the current sprite */ - void moveShape( sal_uInt16 nDepth, sal_Int32 x, sal_Int32 y ); -#endif - /** inserts a remove shape tag into the movie stream or the current sprite */ void removeShape( sal_uInt16 nDepth ); |