summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dbui/mmconfigitem.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-04-26 14:07:40 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-04-27 08:44:12 +0200
commit24418700059d2b6826f800d265f52061c48c34e5 (patch)
tree9f47814e54029a9cddd84b313505c290a67218cc /sw/source/uibase/dbui/mmconfigitem.cxx
parent4d60fd1d480521df43120618736465628b540070 (diff)
CommandType is "long" type not "short" type
See https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1sdb_1_1CommandType.html + discussion here: http://document-foundation-mail-archive.969070.n3.nabble.com/Type-of-CommandType-short-or-long-tt4299416.html Important remark from Stephan: "...the data type corresponding to UNOIDL LONG (i.e., 32 bit) is xs:int, not xs:long" Change-Id: Ic8f027e8a5be96bdb2e5629b0ff1ef4830ef6c88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114659 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/uibase/dbui/mmconfigitem.cxx')
-rw-r--r--sw/source/uibase/dbui/mmconfigitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/dbui/mmconfigitem.cxx b/sw/source/uibase/dbui/mmconfigitem.cxx
index 969ca4976d36..26462bccf41a 100644
--- a/sw/source/uibase/dbui/mmconfigitem.cxx
+++ b/sw/source/uibase/dbui/mmconfigitem.cxx
@@ -517,7 +517,7 @@ void SwMailMergeConfigItem_Impl::ImplCommit()
case 23: pValues[nProp] <<= m_sMailPassword; break;
case 24 :pValues[nProp] <<= m_aDBData.sDataSource; break;
case 25 :pValues[nProp] <<= m_aDBData.sCommand; break;
- case 26 :pValues[nProp] <<= static_cast<short>(m_aDBData.nCommandType); break;
+ case 26 :pValues[nProp] <<= m_aDBData.nCommandType; break;
case 27 :pValues[nProp] <<= m_sFilter; break;
case 28 :pValues[nProp] <<= m_aSavedDocuments; break;
case 29: pValues[nProp] <<= m_bIsEMailSupported; break;