[Libreoffice-commits] core.git: editeng/source vcl/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 8 17:00:04 UTC 2020


 editeng/source/uno/unotext.cxx |    4 ++--
 vcl/source/window/printdlg.cxx |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 18939aadf534f97b3650544345957a0bea46825c
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue Sep 8 13:55:37 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Sep 8 18:59:18 2020 +0200

    Fix typo in code+comment (vaules->values)
    
    Change-Id: I0d225f3defe3996b89640ddd4f61db1412f85dc9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102249
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 392c0cd37255..86a2c8062077 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1965,12 +1965,12 @@ void SAL_CALL SvxUnoTextBase::moveTextRange( const uno::Reference< text::XTextRa
 /// @throws uno::RuntimeException
 static void SvxPropertyValuesToItemSet(
         SfxItemSet &rItemSet,
-        const uno::Sequence< beans::PropertyValue >& rPropertyVaules,
+        const uno::Sequence< beans::PropertyValue >& rPropertyValues,
         const SfxItemPropertySet *pPropSet,
         SvxTextForwarder *pForwarder /*needed for WID_NUMLEVEL*/,
         sal_Int32 nPara /*needed for WID_NUMLEVEL*/)
 {
-    for (const beans::PropertyValue& rProp : rPropertyVaules)
+    for (const beans::PropertyValue& rProp : rPropertyValues)
     {
         const SfxItemPropertySimpleEntry *pEntry = pPropSet->getPropertyMap().getByName( rProp.Name );
         if (!pEntry)
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index c210525b17f3..042e58c3a06a 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -2199,7 +2199,7 @@ PrintProgressDialog::PrintProgressDialog(weld::Window* i_pParent, int i_nMax)
     mxButton->connect_clicked( LINK( this, PrintProgressDialog, ClickHdl ) );
 
     // after this patch f7157f04fab298423e2c4f6a7e5f8e361164b15f, we have seen the calc Max string (sometimes) look above
-    // now init to the right start vaules
+    // now init to the right start values
     mxText->set_label(getNewLabel(maStr, mnCur, mnMax));
 }
 


More information about the Libreoffice-commits mailing list