diff options
author | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2021-03-24 14:45:43 +0100 |
---|---|---|
committer | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2021-03-25 14:25:13 +0100 |
commit | 6f2fe8bbc4909f457509391522cae4b8084e69e5 (patch) | |
tree | b3f45b995ebaebfcb3381641834507d5e21f39c0 /emfio/inc | |
parent | 6c333f95fbdec8fa65701507b33ac53ccbccba2f (diff) |
WMF/EMF Convert all index type of Objects to unsigned
Based on WMF and EMF documentation, all indexes should be unsigned.
With this commit it was applied, which simplifies code.
Change-Id: I3257da7e595ace45622c6d865fd4b034dc605cb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113039
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'emfio/inc')
-rw-r--r-- | emfio/inc/mtftools.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emfio/inc/mtftools.hxx b/emfio/inc/mtftools.hxx index 286442767d3a..2d31fe4ef4ad 100644 --- a/emfio/inc/mtftools.hxx +++ b/emfio/inc/mtftools.hxx @@ -605,11 +605,11 @@ namespace emfio void SetTextAlign(sal_uInt32 nAlign); void CreateObject(std::unique_ptr<GDIObj> pObject); - void CreateObjectIndexed(sal_Int32 nIndex, std::unique_ptr<GDIObj> pObject); + void CreateObjectIndexed(sal_uInt32 nIndex, std::unique_ptr<GDIObj> pObject); void CreateObject(); - void DeleteObject(sal_Int32 nIndex); - void SelectObject(sal_Int32 nIndex); + void DeleteObject(sal_uInt32 nIndex); + void SelectObject(sal_uInt32 nIndex); rtl_TextEncoding GetCharSet() const { return maFont.GetCharSet(); }; const vcl::Font& GetFont() const { return maFont; } void SetTextLayoutMode(ComplexTextLayoutFlags nLayoutMode); |