summaryrefslogtreecommitdiff
path: root/vcl/source/gdi
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 17:50:25 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 22:41:10 +0200
commitbf42b6f9f51b4bc66e267ae24c87ac79122825cc (patch)
tree449f642fc53e3d654ae36a39877efc41a8b74fcc /vcl/source/gdi
parent3f84d81412f123bda0dde57c4e52abe9f49f58af (diff)
fdo#62475 - remove visual noise
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 482929d883ba..05a9240c25bc 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -85,7 +85,6 @@
using namespace vcl;
-
#if (OSL_DEBUG_LEVEL < 3)
#define COMPRESS_PAGES
#else
@@ -836,7 +835,6 @@ static void appendFixedInt( sal_Int32 nValue, OStringBuffer& rBuffer, sal_Int32
}
}
-
// appends a double. PDF does not accept exponential format, only fixed point
static void appendDouble( double fValue, OStringBuffer& rBuffer, sal_Int32 nPrecision = 5 )
{
@@ -879,7 +877,6 @@ static void appendDouble( double fValue, OStringBuffer& rBuffer, sal_Int32 nPrec
}
}
-
static void appendColor( const Color& rColor, OStringBuffer& rBuffer, bool bConvertToGrey = false )
{
@@ -1401,11 +1398,8 @@ void PDFWriterImpl::PDFPage::appendPixelPoint( const basegfx::B2DPoint& rPoint,
double fValue = pixelToPoint(rPoint.getX());
appendDouble( fValue, rBuffer, nLog10Divisor );
-
rBuffer.append( ' ' );
-
fValue = double(getHeight()) - pixelToPoint(rPoint.getY());
-
appendDouble( fValue, rBuffer, nLog10Divisor );
}
@@ -1710,10 +1704,6 @@ void PDFWriterImpl::PDFPage::appendWaveLine( sal_Int32 nWidth, sal_Int32 nY, sal
rBuffer.append( "S\n" );
}
-/*
- * class PDFWriterImpl
- */
-
PDFWriterImpl::PDFWriterImpl( const PDFWriter::PDFWriterContext& rContext,
const com::sun::star::uno::Reference< com::sun::star::beans::XMaterialHolder >& xEnc,
PDFWriter& i_rOuterFace)
@@ -5532,9 +5522,7 @@ bool PDFWriterImpl::emitAnnotations()
return false;
CHECK_RETURN( emitLinkAnnotations() );
-
CHECK_RETURN( emitNoteAnnotations() );
-
CHECK_RETURN( emitWidgetAnnotations() );
return true;
@@ -6213,7 +6201,6 @@ sal_Int32 PDFWriterImpl::emitInfoDict( )
//--->i56629
// Part of this function may be shared with method appendDest.
-//
sal_Int32 PDFWriterImpl::emitNamedDestinations()
{
sal_Int32 nCount = m_aNamedDests.size();
@@ -6314,7 +6301,6 @@ sal_Int32 PDFWriterImpl::emitNamedDestinations()
//--->i59651
// emits the output intent dictionary
-
sal_Int32 PDFWriterImpl::emitOutputIntent()
{
if( !m_bIsPDF_A1 )
@@ -8834,7 +8820,6 @@ void PDFWriterImpl::drawRectangle( const Rectangle& rRect, sal_uInt32 nHorzRound
aPoints[14] = Point( rRect.TopLeft().X(), rRect.TopLeft().Y()+nVertRound );
aPoints[15] = Point( aPoints[14].X(), aPoints[14].Y()-ky );
-
OStringBuffer aLine( 80 );
m_aPages.back().appendPoint( aPoints[1], aLine );
aLine.append( " m " );
@@ -11935,6 +11920,4 @@ void PDFWriterImpl::addStream( const OUString& rMimeType, PDFOutputStream* pStre
}
}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */