dbaccess/source/ui/dlg/dlgsize.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 34c10c7d68405ae4513e28ce0fc92eda7d3a70ea
Author:     codemaestro <[email protected]>
AuthorDate: Sat Oct 18 02:45:10 2025 +0530
Commit:     Hossein <[email protected]>
CommitDate: Wed Oct 22 17:31:29 2025 +0200

    tdf#145614: Convert #define to constexpr
    
    Change-Id: I1e90ade50f51c40813d2cea3413515f6ef343723
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192594
    Tested-by: Jenkins
    Reviewed-by: Hossein <[email protected]>

diff --git a/dbaccess/source/ui/dlg/dlgsize.cxx 
b/dbaccess/source/ui/dlg/dlgsize.cxx
index 8741f01f26cc..ea9fda723b4e 100644
--- a/dbaccess/source/ui/dlg/dlgsize.cxx
+++ b/dbaccess/source/ui/dlg/dlgsize.cxx
@@ -23,8 +23,8 @@
 namespace dbaui
 {
 
-#define DEF_ROW_HEIGHT  45
-#define DEF_COL_WIDTH   227
+constexpr sal_Int32 DEF_ROW_HEIGHT = 45;
+constexpr sal_Int32 DEF_COL_WIDTH  = 227;
 
 DlgSize::DlgSize(weld::Window* pParent, sal_Int32 nVal, bool bRow, sal_Int32 
_nAlternativeStandard )
     : GenericDialogController(pParent, bRow ? 
u"dbaccess/ui/rowheightdialog.ui"_ustr : u"dbaccess/ui/colwidthdialog.ui"_ustr,

Reply via email to