summaryrefslogtreecommitdiff
path: root/filter/source
diff options
context:
space:
mode:
authorYomnasalama <yomnasalama2000@gmail.com>2023-02-09 17:53:35 +0200
committerHossein <hossein@libreoffice.org>2023-03-02 09:48:56 +0000
commitbadb7b6934182149c878d0917a81c0e414a9d922 (patch)
tree81d7f322051856dd964234c7e58aa5d028a4ecc6 /filter/source
parentb9bf9bf9d1d1e0fb9eb765cd5060d611af7176df (diff)
tdf#114441: replace sal_uLong with sal_uInt8 as all of them are small constants
The constants are now of type sal_uInt8 as all of them are small and will not exceed the limit. Also, they are not going to change after that in the code. Change-Id: I81d144bffe5c381f9280a4c364462e33b3a9a8b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146721 Tested-by: Hossein <hossein@libreoffice.org> Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'filter/source')
-rw-r--r--filter/source/msfilter/msdffimp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index afbc0a43869e..df90eb859c8f 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -3889,9 +3889,9 @@ rtl::Reference<SdrObject> SvxMSDffManager::ImportGraphic( SvStream& rSt, SfxItem
}
if (bOk && DFF_msofbtBSE == aHd.nRecType)
{
- const sal_uLong nSkipBLIPLen = 20;
- const sal_uLong nSkipShapePos = 4;
- const sal_uLong nSkipBLIP = 4;
+ const sal_uInt8 nSkipBLIPLen = 20;
+ const sal_uInt8 nSkipShapePos = 4;
+ const sal_uInt8 nSkipBLIP = 4;
const sal_uLong nSkip =
nSkipBLIPLen + 4 + nSkipShapePos + 4 + nSkipBLIP;