summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@libreoffice.org>2023-06-15 14:50:00 +0300
committerخالد حسني <khaled@libreoffice.org>2023-06-15 16:42:28 +0200
commit47e5264233adbf4c06076dae7474d7e175e684fa (patch)
treef4edd6d2ba5b51b6dd85e62bf3f49603fd539cfa /vcl
parent8e307b8affbeb26555b25cf07a8a270a0447f6db (diff)
Use sal_Int32 instead of overzealous use of auto
Change-Id: Ia307f398260343fe388965673da42d9404195224 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153117 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 0c5fc8401a43..e9e7e32620cc 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -2756,7 +2756,7 @@ bool PDFWriterImpl::emitType3Font(const vcl::font::PhysicalFontFace* pFace,
}
// write font dict
- auto nFontDict = -1;
+ sal_Int32 nFontDict = -1;
if (!aUsedFonts.empty())
{
nFontDict = createObject();