[Libreoffice-commits] core.git: cui/source include/svx

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Tue Feb 4 12:13:57 UTC 2020


 cui/source/tabpages/paragrph.cxx |    2 +-
 include/svx/paraprev.hxx         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 228025b8dfe35234a3445c232430a1bd15c86143
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue Feb 4 12:04:26 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Feb 4 13:13:06 2020 +0100

    rename SetFirstLineOfst->SetFirstLineOffset
    
    Change-Id: Ie83747b90b420c6de677d243665d7a22290236a4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87959
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index f6b26b9e0e62..749d03a03eef 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -894,7 +894,7 @@ void SvxStdParagraphTabPage::Init_Impl()
 
 void SvxStdParagraphTabPage::UpdateExample_Impl()
 {
-    m_aExampleWin.SetFirstLineOfst( static_cast<short>(m_xFLineIndent->denormalize( m_xFLineIndent->get_value( FieldUnit::TWIP ) )) );
+    m_aExampleWin.SetFirstLineOffset( static_cast<short>(m_xFLineIndent->denormalize( m_xFLineIndent->get_value( FieldUnit::TWIP ) )) );
     m_aExampleWin.SetLeftMargin( static_cast<long>(m_xLeftIndent->denormalize( m_xLeftIndent->get_value( FieldUnit::TWIP ) ) ) );
     m_aExampleWin.SetRightMargin( static_cast<long>(m_xRightIndent->denormalize( m_xRightIndent->get_value( FieldUnit::TWIP ) ) ) );
     m_aExampleWin.SetUpper( static_cast<sal_uInt16>(m_xTopDist->denormalize( m_xTopDist->get_value( FieldUnit::TWIP ) )) );
diff --git a/include/svx/paraprev.hxx b/include/svx/paraprev.hxx
index f605584ec637..885a22f1b171 100644
--- a/include/svx/paraprev.hxx
+++ b/include/svx/paraprev.hxx
@@ -59,7 +59,7 @@ class SVX_DLLPUBLIC SvxParaPrevWindow final : public weld::CustomWidgetControlle
 public:
     SvxParaPrevWindow();
 
-    void SetFirstLineOfst( short nNew )
+    void SetFirstLineOffset( short nNew )
     {
         nFirstLineOfst = nNew;
     }


More information about the Libreoffice-commits mailing list