Typo in variable name: ContentCnotrol -> ContentControl

Plus some bonus cleanup.
I want these files to be clean of junk.
How I missed these SAL_CALLs in my previous clean attempts,
I don't even dare to speculate.

Change-Id: I6056b61bbbdb088fe83752496df00d0fa319e637
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144137
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
This commit is contained in:
Justin Luth
2022-12-13 08:29:47 -05:00
committed by Justin Luth
parent de235fe13a
commit 8b39cdfa8d
3 changed files with 8 additions and 8 deletions

View File

@@ -215,7 +215,7 @@ public:
return m_wXContentControl;
}
void SetXContentControl(const rtl::Reference<SwXContentControl>& xContentCnotrol);
void SetXContentControl(const rtl::Reference<SwXContentControl>& xContentControl);
virtual void SwClientNotify(const SwModify&, const SfxHint&) override;

View File

@@ -187,9 +187,9 @@ SwContentControl::SwContentControl(SwFormatContentControl* pFormat)
SwContentControl::~SwContentControl() {}
void SwContentControl::SetXContentControl(const rtl::Reference<SwXContentControl>& xContentCnotrol)
void SwContentControl::SetXContentControl(const rtl::Reference<SwXContentControl>& xContentControl)
{
m_wXContentControl = xContentCnotrol.get();
m_wXContentControl = xContentControl.get();
}
SwTextContentControl* SwContentControl::GetTextAttr() const

View File

@@ -46,25 +46,25 @@ SwVbaFormField::SwVbaFormField(const uno::Reference<ooo::vba::XHelperInterface>&
SwVbaFormField::~SwVbaFormField() {}
uno::Any SAL_CALL SwVbaFormField::CheckBox()
uno::Any SwVbaFormField::CheckBox()
{
return uno::Any(uno::Reference<word::XCheckBox>(
new SwVbaFormFieldCheckBox(mxParent, mxContext, m_rFormField)));
}
uno::Any SAL_CALL SwVbaFormField::DropDown()
uno::Any SwVbaFormField::DropDown()
{
return uno::Any(uno::Reference<word::XDropDown>(
new SwVbaFormFieldDropDown(mxParent, mxContext, m_rFormField)));
}
uno::Any SAL_CALL SwVbaFormField::TextInput()
uno::Any SwVbaFormField::TextInput()
{
return uno::Any(uno::Reference<word::XTextInput>(
new SwVbaFormFieldTextInput(mxParent, mxContext, m_rFormField)));
}
uno::Any SAL_CALL SwVbaFormField::Previous()
uno::Any SwVbaFormField::Previous()
{
SwDoc* pDoc = word::getDocShell(m_xTextDocument)->GetDoc();
if (!pDoc)
@@ -91,7 +91,7 @@ uno::Any SAL_CALL SwVbaFormField::Previous()
new SwVbaFormField(mxParent, mxContext, m_xTextDocument, *pFieldMark)));
}
uno::Any SAL_CALL SwVbaFormField::Next()
uno::Any SwVbaFormField::Next()
{
SwDoc* pDoc = word::getDocShell(m_xTextDocument)->GetDoc();
if (!pDoc)