diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-28 13:24:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-31 08:36:08 +0200 |
commit | 912dee5178f2aec1662af284d222c591b5901add (patch) | |
tree | 50cca79d7e90dc817570a0d5fdfa45159de575a3 /winaccessibility | |
parent | c0463f8a9fc4db7b62040010b3fefc9af3b17396 (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: Ic7796a79ebe7d600598f9c2964976cbc9408d299
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101618
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/source/UAccCOM/AccValue.cxx | 8 | ||||
-rw-r--r-- | winaccessibility/source/UAccCOM/AccValue.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/winaccessibility/source/UAccCOM/AccValue.cxx b/winaccessibility/source/UAccCOM/AccValue.cxx index b0b24650aa06..7c8f069b4d6c 100644 --- a/winaccessibility/source/UAccCOM/AccValue.cxx +++ b/winaccessibility/source/UAccCOM/AccValue.cxx @@ -173,16 +173,16 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP CAccValue::get_maximumValue(VARIANT *maximumVa /** * Get minimum value. - * @param mininumValue Variant that accepts minimum value. + * @param minimumValue Variant that accepts minimum value. * @return Result. */ -COM_DECLSPEC_NOTHROW STDMETHODIMP CAccValue::get_minimumValue(VARIANT *mininumValue) +COM_DECLSPEC_NOTHROW STDMETHODIMP CAccValue::get_minimumValue(VARIANT *minimumValue) { SolarMutexGuard g; ENTER_PROTECTED_BLOCK - if (mininumValue == nullptr) + if (minimumValue == nullptr) return E_FAIL; if ( !pRXVal.is() ) return E_FAIL; @@ -190,7 +190,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP CAccValue::get_minimumValue(VARIANT *mininumVa // Get Any type value from UNO. css::uno::Any anyVal = GetXInterface()->getMinimumValue(); // Convert Any to VARIANT. - CMAccessible::ConvertAnyToVariant(anyVal, mininumValue); + CMAccessible::ConvertAnyToVariant(anyVal, minimumValue); return S_OK; diff --git a/winaccessibility/source/UAccCOM/AccValue.h b/winaccessibility/source/UAccCOM/AccValue.h index b5a2ef6bba71..e16fed598b01 100644 --- a/winaccessibility/source/UAccCOM/AccValue.h +++ b/winaccessibility/source/UAccCOM/AccValue.h @@ -84,7 +84,7 @@ public: STDMETHOD(get_maximumValue)(VARIANT *maximumValue) override; // Returns the minimal value that can be represented by this object. - STDMETHOD(get_minimumValue)(VARIANT *mininumValue) override; + STDMETHOD(get_minimumValue)(VARIANT *minimumValue) override; // Override of IUNOXWrapper. STDMETHOD(put_XInterface)(hyper pXInterface) override; |