summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pdfwriter_impl.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-25 10:23:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-25 10:29:50 +0000
commit90b755b2838a49d80e83bd2642bc8ff5c399396b (patch)
treee25da95adf84864adf53cc6345e432c6cdad3e82 /vcl/source/gdi/pdfwriter_impl.cxx
parent5a21fcc73f4346ea78a777e91de506d8f47e485f (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl.cxx')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 80bbbd1415cb..5469a3dd5218 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -3200,7 +3200,6 @@ std::map< sal_Int32, sal_Int32 > PDFWriterImpl::emitEmbeddedFont( const ImplFont
return aRet;
}
- sal_Int32 nFontObject = 0;
sal_Int32 nStreamObject = 0;
sal_Int32 nFontDescriptor = 0;
@@ -3655,8 +3654,6 @@ std::map< sal_Int32, sal_Int32 > PDFWriterImpl::emitEmbeddedFont( const ImplFont
if( ! writeBuffer( aLine.getStr(), aLine.getLength() ) )
throw FontException();
- nFontObject = nObject;
-
aRet[ rEmbed.m_nNormalFontID ] = nObject;
// write additional encodings
@@ -4629,7 +4626,6 @@ we check in the following sequence:
bSetRelative = true;
rtl::OUString aFragment = aTargetURL.GetMark( INetURLObject::NO_DECODE /*DECODE_WITH_CHARSET*/ ); //fragment as is,
- bool bIsURI=false; //URI: 12.6.4.7, URI Actions, URI must be encoded in 7-bit-ASCII
if( nSetGoToRMode == 0 )
{
switch( m_aContext.DefaultLinkAction )
@@ -4638,7 +4634,6 @@ we check in the following sequence:
case PDFWriter::URIAction :
case PDFWriter::URIActionDestination :
aLine.append( "/URI/URI" );
- bIsURI=true;
break;
case PDFWriter::LaunchAction:
// now:
@@ -4652,7 +4647,6 @@ we check in the following sequence:
eTargetProtocol != INET_PROT_FILE )
{
aLine.append( "/URI/URI" );
- bIsURI=true;
}
else
{