filter/source/msfilter/viscache.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bf35f2b36fc00f9b37397422b2ee425c6a697540
Author:     Steven Casey (SMCode) <st...@caseycontact.com>
AuthorDate: Wed Mar 6 22:42:33 2024 -0800
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Fri Mar 8 07:06:05 2024 +0100

    tdf#114441 change use of sal_uLong to better integer types in filter
    
    Reason for changing nAdv:
    I chose sal_uInt32 since the value of nAdv is passed to the variable
    nAdvFlags which is of type sal_uInt32, keeping types consistent.
    
    Change-Id: I116d41af58d3d2d024ba63d4186a931a742b1003
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164518
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/filter/source/msfilter/viscache.hxx 
b/filter/source/msfilter/viscache.hxx
index 5111969b3f9e..524510583190 100644
--- a/filter/source/msfilter/viscache.hxx
+++ b/filter/source/msfilter/viscache.hxx
@@ -44,7 +44,7 @@ public:
                 pMtf.reset( new GDIMetaFile( rMtf ) );
             }
     void                 SetAspect( sal_uInt16 nAsp ) { nAspect = nAsp; }
-    void                 SetAdviseFlags( sal_uLong nAdv ) { nAdvFlags = nAdv; }
+    void                 SetAdviseFlags( sal_uInt32 nAdv ) { nAdvFlags = nAdv; 
}
     void                 SetSize( const Size & rSize ) { aSize = rSize; }
     void                 Write( SvStream & rStm );
 };

Reply via email to