summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-16 11:45:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-16 20:18:26 +0000
commit061db098302b0934e25a9b5edfabda01617eca08 (patch)
tree9ca1de248d1912ac1ab33d54d09d7e962e7114ed
parent86dc22ad3025c6548d62a9932622c4f998c992eb (diff)
cppcheck: unused variable
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 536a188573c9..2f671880eb9a 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -3051,7 +3051,6 @@ std::map< sal_Int32, sal_Int32 > PDFWriterImpl::emitSystemFont( const ImplFontDa
return aRet;
}
- sal_Int32 nFontObject = 0;
sal_Int32 nFontDescriptor = 0;
rtl::OString aSubType( "/Type1" );
FontSubsetInfo aInfo;
@@ -3149,7 +3148,6 @@ std::map< sal_Int32, sal_Int32 > PDFWriterImpl::emitSystemFont( const ImplFontDa
"endobj\n\n" );
writeBuffer( aLine.getStr(), aLine.getLength() );
- nFontObject = nObject;
aRet[ rEmbed.m_nNormalFontID ] = nObject;
}
}