sw/source/ui/vba/vbaformfield.cxx                    |    3 ---
 sw/source/ui/vba/vbaformfielddropdownlistentries.cxx |    6 +++---
 sw/source/ui/vba/vbaformfielddropdownlistentry.cxx   |    6 +++---
 3 files changed, 6 insertions(+), 9 deletions(-)

New commits:
commit 2e8776c181d0e38a8d25481ac0eb33389940bf95
Author:     Justin Luth <justin.l...@collabora.com>
AuthorDate: Mon Nov 21 11:13:20 2022 -0500
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Wed Dec 21 00:24:16 2022 +0000

    tdf#151548: second cleanup "Add basic word::XFormField support" etc.
    
    Change-Id: I0647f29aa23959cbf9809cd745473e7b048901eb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143079
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <jl...@mail.com>

diff --git a/sw/source/ui/vba/vbaformfield.cxx 
b/sw/source/ui/vba/vbaformfield.cxx
index 6178a3e9cdba..8755e5620a7f 100644
--- a/sw/source/ui/vba/vbaformfield.cxx
+++ b/sw/source/ui/vba/vbaformfield.cxx
@@ -26,9 +26,6 @@ using namespace ::ooo::vba;
 using namespace ::com::sun::star;
 
 /**
- * Information about the method and properties of FormFields was gathered from
- * https://www.codevba.com/Word/FormField.htm
- *
  * FormFields are inline text objects that are only found in MS Word.
  * They cannot be created in Excel or in Calc.
  *
diff --git a/sw/source/ui/vba/vbaformfielddropdownlistentries.cxx 
b/sw/source/ui/vba/vbaformfielddropdownlistentries.cxx
index f06ff3d50870..c167e16d7855 100644
--- a/sw/source/ui/vba/vbaformfielddropdownlistentries.cxx
+++ b/sw/source/ui/vba/vbaformfielddropdownlistentries.cxx
@@ -102,8 +102,8 @@ 
SwVbaFormFieldDropDownListEntries::SwVbaFormFieldDropDownListEntries(
 }
 
 // XListEntries
-uno::Reference<word::XListEntry>
-    SAL_CALL SwVbaFormFieldDropDownListEntries::Add(const OUString& rName, 
const uno::Any& rIndex)
+uno::Reference<word::XListEntry> SwVbaFormFieldDropDownListEntries::Add(const 
OUString& rName,
+                                                                        const 
uno::Any& rIndex)
 {
     sal_Int32 nZIndex = 0;
     rIndex >>= nZIndex;
@@ -124,7 +124,7 @@ uno::Reference<word::XListEntry>
         new SwVbaFormFieldDropDownListEntry(mxParent, mxContext, m_rDropDown, 
nZIndex));
 }
 
-void SAL_CALL SwVbaFormFieldDropDownListEntries::Clear() { 
m_rDropDown.DelContent(); }
+void SwVbaFormFieldDropDownListEntries::Clear() { m_rDropDown.DelContent(); }
 
 sal_Int32 SwVbaFormFieldDropDownListEntries::getCount()
 {
diff --git a/sw/source/ui/vba/vbaformfielddropdownlistentry.cxx 
b/sw/source/ui/vba/vbaformfielddropdownlistentry.cxx
index dd9c94dc727e..bc02439ed5fd 100644
--- a/sw/source/ui/vba/vbaformfielddropdownlistentry.cxx
+++ b/sw/source/ui/vba/vbaformfielddropdownlistentry.cxx
@@ -25,15 +25,15 @@ 
SwVbaFormFieldDropDownListEntry::SwVbaFormFieldDropDownListEntry(
 SwVbaFormFieldDropDownListEntry::~SwVbaFormFieldDropDownListEntry() {}
 
 // XListEntry
-sal_Int32 SAL_CALL SwVbaFormFieldDropDownListEntry::getIndex() { return 
m_nZIndex + 1; }
+sal_Int32 SwVbaFormFieldDropDownListEntry::getIndex() { return m_nZIndex + 1; }
 
-OUString SAL_CALL SwVbaFormFieldDropDownListEntry::getName()
+OUString SwVbaFormFieldDropDownListEntry::getName()
 {
     sal_Int32 nZIndex = m_nZIndex;
     return m_rDropDown.GetContent(&nZIndex);
 }
 
-void SAL_CALL SwVbaFormFieldDropDownListEntry::setName(const OUString& rSet)
+void SwVbaFormFieldDropDownListEntry::setName(const OUString& rSet)
 {
     sal_Int32 nZIndex = m_nZIndex;
     m_rDropDown.ReplaceContent(&rSet, &nZIndex);

Reply via email to