summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/tabpages/chardlg.cxx4
-rw-r--r--include/editeng/charrotateitem.hxx4
2 files changed, 4 insertions, 4 deletions
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; }