sw/inc/swtypes.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7748d38241c543b468e9d4d1bfaa5cae01a6159d
Author:     Michael Stahl <[email protected]>
AuthorDate: Wed Jul 23 11:22:00 2025 +0200
Commit:     Michael Stahl <[email protected]>
CommitDate: Wed Jul 23 17:31:41 2025 +0200

    sw: better type for UNO_TABLE_COLUMN_SUM
    
    As Mike Kaganski points out it's not really a size but a unitless value.
    
    Change-Id: I0e24a18c3553a3f560a849bc3f8b781c2e94d857
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188211
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Mike Kaganski <[email protected]>

diff --git a/sw/inc/swtypes.hxx b/sw/inc/swtypes.hxx
index 86f827160e9d..89c4adec5f7d 100644
--- a/sw/inc/swtypes.hxx
+++ b/sw/inc/swtypes.hxx
@@ -62,7 +62,7 @@ constexpr SwTwips cMinHdFtHeight = 56; // ~1mm
 #define MINLAY 23   // Minimal size for other Frames.
 
 /// hard-coded value of read-only TableColumnRelativeSum property
-constexpr SwTwips UNO_TABLE_COLUMN_SUM{10000};
+constexpr int UNO_TABLE_COLUMN_SUM{10000};
 
 // Default column distance of two text columns corresponds to 0.3 cm.
 constexpr SwTwips DEF_GUTTER_WIDTH = o3tl::toTwips(3, o3tl::Length::mm);

Reply via email to