include/vcl/filter/pdfdocument.hxx | 6 +++--- vcl/source/filter/ipdf/pdfdocument.cxx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
New commits: commit c6d2e7d7796a5aae71fb7d8d10a538b727ad2465 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Tue Jul 18 11:50:43 2017 +0200 vcl pdf tokenizer: indentation fixes These files had a consistent style before, let's keep them that way. Change-Id: I32cf4ae61d0fac37df5e5412ae9cf3e2b3c92d17 diff --git a/include/vcl/filter/pdfdocument.hxx b/include/vcl/filter/pdfdocument.hxx index 16c4edc81f30..6a8a85958c88 100644 --- a/include/vcl/filter/pdfdocument.hxx +++ b/include/vcl/filter/pdfdocument.hxx @@ -322,13 +322,13 @@ class VCL_DLLPUBLIC PDFDocument /// Write the appearance object as part of signing. sal_Int32 WriteAppearanceObject(); /// Write the annot object as part of signing. - sal_Int32 WriteAnnotObject(PDFObjectElement const & rFirstPage, sal_Int32 nSignatureId, sal_Int32 nAppearanceId); + sal_Int32 WriteAnnotObject(PDFObjectElement const& rFirstPage, sal_Int32 nSignatureId, sal_Int32 nAppearanceId); /// Write the updated Page object as part of signing. bool WritePageObject(PDFObjectElement& rFirstPage, sal_Int32 nAnnotId); /// Write the updated Catalog object as part of signing. bool WriteCatalogObject(sal_Int32 nAnnotId, PDFReferenceElement*& pRoot); /// Write the updated cross-references as part of signing. - void WriteXRef(sal_uInt64 nXRefOffset, PDFReferenceElement const * pRoot); + void WriteXRef(sal_uInt64 nXRefOffset, PDFReferenceElement const* pRoot); public: PDFDocument(); @@ -337,7 +337,7 @@ public: /// @name Low-level functions, to be used by PDFElement subclasses. //@{ /// Decode a hex dump. - static std::vector<unsigned char> DecodeHexString(PDFHexStringElement const * pElement); + static std::vector<unsigned char> DecodeHexString(PDFHexStringElement const* pElement); static OString ReadKeyword(SvStream& rStream); static size_t FindStartXRef(SvStream& rStream); void ReadXRef(SvStream& rStream); diff --git a/vcl/source/filter/ipdf/pdfdocument.cxx b/vcl/source/filter/ipdf/pdfdocument.cxx index 135eece7846a..f6a8de05363c 100644 --- a/vcl/source/filter/ipdf/pdfdocument.cxx +++ b/vcl/source/filter/ipdf/pdfdocument.cxx @@ -255,7 +255,7 @@ sal_Int32 PDFDocument::WriteAppearanceObject() return nAppearanceId; } -sal_Int32 PDFDocument::WriteAnnotObject(PDFObjectElement const & rFirstPage, sal_Int32 nSignatureId, sal_Int32 nAppearanceId) +sal_Int32 PDFDocument::WriteAnnotObject(PDFObjectElement const& rFirstPage, sal_Int32 nSignatureId, sal_Int32 nAppearanceId) { // Decide what identifier to use for the new signature. sal_uInt32 nNextSignature = GetNextSignature(); @@ -535,7 +535,7 @@ bool PDFDocument::WriteCatalogObject(sal_Int32 nAnnotId, PDFReferenceElement*& p return true; } -void PDFDocument::WriteXRef(sal_uInt64 nXRefOffset, PDFReferenceElement const * pRoot) +void PDFDocument::WriteXRef(sal_uInt64 nXRefOffset, PDFReferenceElement const* pRoot) { if (m_pXRefStream) { @@ -1910,7 +1910,7 @@ int PDFDocument::AsHex(char ch) return nRet; } -std::vector<unsigned char> PDFDocument::DecodeHexString(PDFHexStringElement const * pElement) +std::vector<unsigned char> PDFDocument::DecodeHexString(PDFHexStringElement const* pElement) { std::vector<unsigned char> aRet; const OString& rHex = pElement->GetValue(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits