sd/source/filter/ppt/pptin.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 60a9652abd3f4d079da7eed91459e5f56b8e08a3
Author:     Simon Chenery <simon_chen...@yahoo.com>
AuthorDate: Wed Aug 6 22:53:08 2025 +0200
Commit:     Hossein <hoss...@libreoffice.org>
CommitDate: Fri Aug 22 11:43:49 2025 +0200

    tdf#145614 Convert #define MAX_USER_MOVE to constexpr
    
    Change-Id: I1f3efb16fb58d5f8137ede9fadc113886f80286f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189026
    Tested-by: Jenkins
    Reviewed-by: Hossein   <hoss...@libreoffice.org>

diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 0753c30a77a7..fdbfa4becb0a 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -74,8 +74,6 @@
 #include <editeng/editstat.hxx>
 #include <unotools/pathoptions.hxx>
 
-#define MAX_USER_MOVE       2
-
 #include "pptanimations.hxx"
 #include "pptinanimations.hxx"
 #include "ppt97animations.hxx"
@@ -2471,6 +2469,7 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* 
pTextObj, SdrTextObj* pObj
                             }
                             ::tools::Rectangle aLogicRect( 
pPresObj->GetLogicRect() );
                             Size      aLogicSize( aLogicRect.GetSize() );
+                            constexpr auto MAX_USER_MOVE = 2;
 
                             switch ( nPlacementId )
                             {

Reply via email to