This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new e976e1d0d6 Fix botton -> bottom
e976e1d0d6 is described below
commit e976e1d0d613500df355185a22eddb6b7128fee5
Author: mseidel <[email protected]>
AuthorDate: Sat Feb 28 11:41:23 2026 +0100
Fix botton -> bottom
---
main/cui/source/tabpages/chardlg.cxx | 4 ++--
main/editeng/inc/editeng/charrotateitem.hxx | 4 ++--
main/oox/source/drawingml/textbodypropertiescontext.cxx | 4 ++--
main/sc/source/ui/formdlg/dwfunctr.cxx | 6 +++---
main/sc/source/ui/inc/dwfunctr.hxx | 2 +-
main/sc/source/ui/view/output2.cxx | 2 +-
6 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/main/cui/source/tabpages/chardlg.cxx
b/main/cui/source/tabpages/chardlg.cxx
index 28a9561735..b9bcfe94bf 100644
--- a/main/cui/source/tabpages/chardlg.cxx
+++ b/main/cui/source/tabpages/chardlg.cxx
@@ -3535,7 +3535,7 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet )
(SvxCharRotateItem&) rSet.Get( nWhich );
if (rItem.IsBottomToTop())
m_a90degRB.Check( sal_True );
- else if (rItem.IsTopToBotton())
+ else if (rItem.IsTopToBottom())
m_a270degRB.Check( sal_True );
else
{
@@ -3702,7 +3702,7 @@ sal_Bool SvxCharPositionPage::FillItemSet( SfxItemSet&
rSet )
if (m_a90degRB.IsChecked())
aItem.SetBottomToTop();
else if (m_a270degRB.IsChecked())
- aItem.SetTopToBotton();
+ aItem.SetTopToBottom();
rSet.Put( aItem );
bModified |= sal_True;
}
diff --git a/main/editeng/inc/editeng/charrotateitem.hxx
b/main/editeng/inc/editeng/charrotateitem.hxx
index 43099f5870..88928d3b4b 100644
--- a/main/editeng/inc/editeng/charrotateitem.hxx
+++ b/main/editeng/inc/editeng/charrotateitem.hxx
@@ -75,9 +75,9 @@ public:
virtual int operator==( const SfxPoolItem& ) const;
// our currently only degree values
- void SetTopToBotton() { SetValue(
2700 ); }
+ void SetTopToBottom() { SetValue(
2700 ); }
void SetBottomToTop() { SetValue(
900 ); }
- sal_Bool IsTopToBotton() const { return 2700 ==
GetValue(); }
+ sal_Bool IsTopToBottom() const { return 2700 ==
GetValue(); }
sal_Bool IsBottomToTop() const { return 900 ==
GetValue(); }
sal_Bool IsFitToLine() const { return bFitToLine; }
diff --git a/main/oox/source/drawingml/textbodypropertiescontext.cxx
b/main/oox/source/drawingml/textbodypropertiescontext.cxx
index 09f8b9befe..e548d5d5a5 100644
--- a/main/oox/source/drawingml/textbodypropertiescontext.cxx
+++ b/main/oox/source/drawingml/textbodypropertiescontext.cxx
@@ -76,8 +76,8 @@ TextBodyPropertiesContext::TextBodyPropertiesContext(
ContextHandler& rParent,
}
sValue = xAttributes->getOptionalValue( XML_bIns );
if( sValue.getLength() ) {
- sal_Int32 nBottonInset = ( sValue.getLength() != 0 ? GetCoordinate(
sValue ) : 45720 / 360 );
- mrTextBodyProp.maPropertyMap[ PROP_TextLowerDistance ] <<= static_cast<
sal_Int32 >( nBottonInset );
+ sal_Int32 nBottomInset = ( sValue.getLength() != 0 ? GetCoordinate(
sValue ) : 45720 / 360 );
+ mrTextBodyProp.maPropertyMap[ PROP_TextLowerDistance ] <<= static_cast<
sal_Int32 >( nBottomInset );
}
// ST_TextAnchoringType
diff --git a/main/sc/source/ui/formdlg/dwfunctr.cxx
b/main/sc/source/ui/formdlg/dwfunctr.cxx
index 6705ca4b6a..228a9e7ba1 100644
--- a/main/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/main/sc/source/ui/formdlg/dwfunctr.cxx
@@ -322,7 +322,7 @@ void ScFunctionDockWin::SetSize()
}
else
{
- SetTopBottonSize();
+ SetTopBottomSize();
}
}
/*************************************************************************
@@ -378,7 +378,7 @@ void ScFunctionDockWin::SetLeftRightSize()
}
/*************************************************************************
-#* Member: SetTopBottonSize
Datum:15.10.97
+#* Member: SetTopBottomSize
Datum:15.10.97
#*------------------------------------------------------------------------
#*
#* Klasse: ScFunctionDockWin
@@ -392,7 +392,7 @@ void ScFunctionDockWin::SetLeftRightSize()
#*
#************************************************************************/
-void ScFunctionDockWin::SetTopBottonSize()
+void ScFunctionDockWin::SetTopBottomSize()
{
if(bSizeFlag==sal_False)
{
diff --git a/main/sc/source/ui/inc/dwfunctr.hxx
b/main/sc/source/ui/inc/dwfunctr.hxx
index 5cacbef9a8..8015c5f874 100644
--- a/main/sc/source/ui/inc/dwfunctr.hxx
+++ b/main/sc/source/ui/inc/dwfunctr.hxx
@@ -104,7 +104,7 @@ private:
void DoEnter(sal_Bool bOk); //@@ ???
void SetDescription();
void SetLeftRightSize();
- void SetTopBottonSize();
+ void SetTopBottomSize();
void SetMyWidthLeRi(Size &aNewSize);
void SetMyHeightLeRi(Size &aNewSize);
void SetMyWidthToBo(Size &aNewSize);
diff --git a/main/sc/source/ui/view/output2.cxx
b/main/sc/source/ui/view/output2.cxx
index 3ef7f26007..16899a2d22 100644
--- a/main/sc/source/ui/view/output2.cxx
+++ b/main/sc/source/ui/view/output2.cxx
@@ -3583,7 +3583,7 @@ void ScOutputData::DrawRotated(sal_Bool bPixelToLogic)
}
}
- // TOPBOTTON
and BOTTOMTOP are handled in DrawStrings/DrawEdit
+ // TOPBOTTOM
and BOTTOMTOP are handled in DrawStrings/DrawEdit
DBG_ASSERT(
eOrient == SVX_ORIENTATION_STANDARD && nAttrRotate,
"DrawRotated: no rotation" );