summaryrefslogtreecommitdiffstats
path: root/filter/source/flash/swfwriter.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 18:16:42 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 08:18:05 +0000
commita238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch)
tree083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /filter/source/flash/swfwriter.cxx
parentFormatting changes across all modules (diff)
downloadcore-a238b1f8d304bf1e2ffb357937f3ec888ee8ac89.tar.gz
core-a238b1f8d304bf1e2ffb357937f3ec888ee8ac89.zip
Remove excess newlines
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'filter/source/flash/swfwriter.cxx')
-rw-r--r--filter/source/flash/swfwriter.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx
index fe1e67f29256..9a627dcf6782 100644
--- a/filter/source/flash/swfwriter.cxx
+++ b/filter/source/flash/swfwriter.cxx
@@ -28,7 +28,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::io;
-
static MapMode aTWIPSMode( MAP_TWIP );
static MapMode a100thmmMode( MAP_100TH_MM );
@@ -40,7 +39,6 @@ static sal_Int32 map100thmm( sal_Int32 n100thMM )
}
-
Writer::Writer( sal_Int32 nTWIPWidthOutput, sal_Int32 nTWIPHeightOutput, sal_Int32 nDocWidthInput, sal_Int32 nDocHeightInput, sal_Int32 nJPEGcompressMode )
: mpClipPolyPolygon( nullptr ),
mpTag( nullptr ),
@@ -96,7 +94,6 @@ Writer::Writer( sal_Int32 nTWIPWidthOutput, sal_Int32 nTWIPHeightOutput, sal_Int
}
-
Writer::~Writer()
{
mpVDev.disposeAndClear();
@@ -105,7 +102,6 @@ Writer::~Writer()
}
-
void ImplCopySvStreamToXOutputStream( SvStream& rIn, Reference< XOutputStream > &xOut )
{
sal_uInt32 nBufferSize = 64*1024;
@@ -136,7 +132,6 @@ void ImplCopySvStreamToXOutputStream( SvStream& rIn, Reference< XOutputStream >
}
-
void Writer::storeTo( Reference< XOutputStream > &xOutStream )
{
for(FontMap::iterator i = maFonts.begin(); i != maFonts.end(); ++i)
@@ -181,7 +176,6 @@ void Writer::storeTo( Reference< XOutputStream > &xOutStream )
}
-
sal_uInt16 Writer::startSprite()
{
sal_uInt16 nShapeId = createID();
@@ -191,7 +185,6 @@ sal_uInt16 Writer::startSprite()
}
-
void Writer::endSprite()
{
if( mpSprite )
@@ -213,7 +206,6 @@ void Writer::endSprite()
}
-
void Writer::placeShape( sal_uInt16 nID, sal_uInt16 nDepth, sal_Int32 x, sal_Int32 y, sal_uInt16 nClip, const char* pName )
{
startTag( TAG_PLACEOBJECT2 );
@@ -249,7 +241,6 @@ void Writer::placeShape( sal_uInt16 nID, sal_uInt16 nDepth, sal_Int32 x, sal_Int
}
-
void Writer::removeShape( sal_uInt16 nDepth )
{
startTag( TAG_REMOVEOBJECT2 );
@@ -258,7 +249,6 @@ void Writer::removeShape( sal_uInt16 nDepth )
}
-
void Writer::startTag( sal_uInt8 nTagId )
{
DBG_ASSERT( mpTag == nullptr, "Last tag was not ended");
@@ -267,7 +257,6 @@ void Writer::startTag( sal_uInt8 nTagId )
}
-
void Writer::endTag()
{
sal_uInt8 nTag = mpTag->getTagId();
@@ -286,7 +275,6 @@ void Writer::endTag()
}
-
void Writer::showFrame()
{
startTag( TAG_SHOWFRAME );
@@ -297,7 +285,6 @@ void Writer::showFrame()
}
-
sal_uInt16 Writer::defineShape( const GDIMetaFile& rMtf, sal_Int16 x, sal_Int16 y )
{
mpVDev->SetMapMode( rMtf.GetPrefMapMode() );
@@ -330,7 +317,6 @@ sal_uInt16 Writer::defineShape( const GDIMetaFile& rMtf, sal_Int16 x, sal_Int16
}
-
sal_uInt16 Writer::defineShape( const tools::Polygon& rPoly, const FillStyle& rFillStyle )
{
const tools::PolyPolygon aPolyPoly( rPoly );
@@ -338,7 +324,6 @@ sal_uInt16 Writer::defineShape( const tools::Polygon& rPoly, const FillStyle& rF
}
-
sal_uInt16 Writer::defineShape( const tools::PolyPolygon& rPolyPoly, const FillStyle& rFillStyle )
{
sal_uInt16 nShapeId = createID();
@@ -382,7 +367,6 @@ sal_uInt16 Writer::defineShape( const tools::PolyPolygon& rPolyPoly, const FillS
}
-
sal_uInt16 Writer::defineShape( const tools::PolyPolygon& rPolyPoly, sal_uInt16 nLineWidth, const Color& rLineColor )
{
sal_uInt16 nShapeId = createID();
@@ -427,8 +411,6 @@ sal_uInt16 Writer::defineShape( const tools::PolyPolygon& rPolyPoly, sal_uInt16
}
-
-
void Writer::stop()
{
startTag( TAG_DOACTION );
@@ -438,7 +420,6 @@ void Writer::stop()
}
-
void Writer::waitOnClick( sal_uInt16 nDepth )
{
placeShape( _uInt16( mnPageButtonId ), nDepth, 0, 0 );
@@ -448,7 +429,6 @@ void Writer::waitOnClick( sal_uInt16 nDepth )
}
-
/** inserts a doaction tag with an ActionGotoFrame */
void Writer::gotoFrame( sal_uInt16 nFrame )
{