summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-11-07 09:02:11 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-11-07 10:42:03 +0100
commit5f4a3e7bd77c3294ef85eebec17ed2d624dc3a2d (patch)
tree7f0ae3e18850cd5451d366ebf9efeec4e46ab428 /vcl/inc
parentded02dafbce173f2f1a23e10deee8002f73317b2 (diff)
tdf#113550 RTF import: fix incorrect text indent
Left indent was set to non-zero in the style, but direct formatting set it back to zero. Teach deduplication to remove the NS_ooxml::LN_CT_PPrBase_ind SPRM itself in case the last attribute was removed. Change-Id: I01b202f0241b02816b2b392326737b1150caffc2 Reviewed-on: https://gerrit.libreoffice.org/44385 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/pdfread.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/pdfread.hxx b/vcl/inc/pdfread.hxx
index e873c49a1cdd..d3bcac84a29a 100644
--- a/vcl/inc/pdfread.hxx
+++ b/vcl/inc/pdfread.hxx
@@ -17,8 +17,8 @@ namespace vcl
{
/// Imports a PDF stream into rGraphic as a GDIMetaFile.
-VCL_DLLPUBLIC bool ImportPDF(SvStream& rStream, Bitmap &rBitmap,
- css::uno::Sequence<sal_Int8> &rPdfFata,
+VCL_DLLPUBLIC bool ImportPDF(SvStream& rStream, Bitmap& rBitmap,
+ css::uno::Sequence<sal_Int8>& rPdfFata,
sal_uInt64 nPos = STREAM_SEEK_TO_BEGIN,
sal_uInt64 nSize = STREAM_SEEK_TO_END);
VCL_DLLPUBLIC bool ImportPDF(SvStream& rStream, Graphic& rGraphic);