[Libreoffice-commits] core.git: cui/source include/editeng
Tamás Zolnai
tamas.zolnai at collabora.com
Sun Apr 2 08:09:55 UTC 2017
cui/source/tabpages/chardlg.cxx | 4 ++--
include/editeng/charrotateitem.hxx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 334e6e2f1ad3da319be0849ec426aa64b18cb599
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date: Tue Mar 28 19:24:49 2017 +0200
Typo: TopToBotton -> TopToBottom
Change-Id: I1b4d3ab9ec1d1383d76a56c9662ffeeb9fe69655
Reviewed-on: https://gerrit.libreoffice.org/36014
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index b8448130ed87..f0ee84891b5b 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -2971,7 +2971,7 @@ void SvxCharPositionPage::Reset( const SfxItemSet* rSet )
static_cast<const SvxCharRotateItem&>( rSet->Get( nWhich ));
if (rItem.IsBottomToTop())
m_p90degRB->Check();
- else if (rItem.IsTopToBotton())
+ else if (rItem.IsTopToBottom())
m_p270degRB->Check();
else
{
@@ -3128,7 +3128,7 @@ bool SvxCharPositionPage::FillItemSet( SfxItemSet* rSet )
if (m_p90degRB->IsChecked())
aItem.SetBottomToTop();
else if (m_p270degRB->IsChecked())
- aItem.SetTopToBotton();
+ aItem.SetTopToBottom();
rSet->Put( aItem );
bModified = true;
}
diff --git a/include/editeng/charrotateitem.hxx b/include/editeng/charrotateitem.hxx
index 95e86c3a01aa..fd08402b0e41 100644
--- a/include/editeng/charrotateitem.hxx
+++ b/include/editeng/charrotateitem.hxx
@@ -67,9 +67,9 @@ public:
virtual bool operator==( const SfxPoolItem& ) const override;
// our currently only degree values
- void SetTopToBotton() { SetValue( 2700 ); }
+ void SetTopToBottom() { SetValue( 2700 ); }
void SetBottomToTop() { SetValue( 900 ); }
- bool IsTopToBotton() const { return 2700 == GetValue(); }
+ bool IsTopToBottom() const { return 2700 == GetValue(); }
bool IsBottomToTop() const { return 900 == GetValue(); }
bool IsFitToLine() const { return bFitToLine; }
More information about the Libreoffice-commits
mailing list