filter/source/msfilter/msdffimp.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit badb7b6934182149c878d0917a81c0e414a9d922
Author:     Yomnasalama <yomnasalama2...@gmail.com>
AuthorDate: Thu Feb 9 17:53:35 2023 +0200
Commit:     Hossein <hoss...@libreoffice.org>
CommitDate: Thu Mar 2 09:48:56 2023 +0000

    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 <hoss...@libreoffice.org>
    Reviewed-by: Hossein <hoss...@libreoffice.org>

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;
 

Reply via email to