[Libreoffice-commits] core.git: vcl/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Sun Aug 30 13:15:32 UTC 2020
vcl/source/gdi/pdfwriter_impl.cxx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit ac712c5c7b85893ee94f8f87e53d02fc3bfc9f9d
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 29 19:29:11 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 30 15:14:53 2020 +0200
Fix typo in code
Change-Id: I02bc7257296939de1a5cbb708c6a9634a8d63ec5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101653
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 0be50512d569..c879c9143858 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -4106,13 +4106,13 @@ bool PDFWriterImpl::emitAppearances( PDFWidget& rWidget, OStringBuffer& rAnnotDi
for (auto const& stream_item : dict_item.second)
{
- SvMemoryStream* pApppearanceStream = stream_item.second;
+ SvMemoryStream* pAppearanceStream = stream_item.second;
dict_item.second[ stream_item.first ] = nullptr;
- bool bDeflate = compressStream( pApppearanceStream );
+ bool bDeflate = compressStream( pAppearanceStream );
- sal_Int64 nStreamLen = pApppearanceStream->TellEnd();
- pApppearanceStream->Seek( STREAM_SEEK_TO_BEGIN );
+ sal_Int64 nStreamLen = pAppearanceStream->TellEnd();
+ pAppearanceStream->Seek( STREAM_SEEK_TO_BEGIN );
sal_Int32 nObject = createObject();
CHECK_RETURN( updateObject( nObject ) );
if (g_bDebugDisableCompression)
@@ -4141,7 +4141,7 @@ bool PDFWriterImpl::emitAppearances( PDFWidget& rWidget, OStringBuffer& rAnnotDi
aLine.append( ">>\nstream\n" );
CHECK_RETURN( writeBuffer( aLine.getStr(), aLine.getLength() ) );
checkAndEnableStreamEncryption( nObject );
- CHECK_RETURN( writeBuffer( pApppearanceStream->GetData(), nStreamLen ) );
+ CHECK_RETURN( writeBuffer( pAppearanceStream->GetData(), nStreamLen ) );
disableStreamEncryption();
CHECK_RETURN( writeBuffer( "\nendstream\nendobj\n\n", 19 ) );
@@ -4154,7 +4154,7 @@ bool PDFWriterImpl::emitAppearances( PDFWidget& rWidget, OStringBuffer& rAnnotDi
rAnnotDict.append( nObject );
rAnnotDict.append( " 0 R" );
- delete pApppearanceStream;
+ delete pAppearanceStream;
}
rAnnotDict.append( bUseSubDict ? ">>\n" : "\n" );
More information about the Libreoffice-commits
mailing list