summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chart2/source/view/axes/VCartesianAxis.cxx2
-rw-r--r--sw/source/filter/xml/xmltbli.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx
index 70269b40ae0f..5e8c829992b2 100644
--- a/chart2/source/view/axes/VCartesianAxis.cxx
+++ b/chart2/source/view/axes/VCartesianAxis.cxx
@@ -1173,7 +1173,7 @@ void VCartesianAxis::get2DAxisMainLine( B2DVector& rStart, B2DVector& rEnd, doub
ScreenPosAndLogicPos aNotSoGoodPos( aPosList[1] );
//choose most bottom positions
- if( !::rtl::math::approxEqual( fDeltaX, 0.0 ) ) // prefere left-right alignments
+ if( !::rtl::math::approxEqual( fDeltaX, 0.0 ) ) // prefer left-right alignments
{
if( aBestPos.aScreenPos.getX() > aNotSoGoodPos.aScreenPos.getX() )
m_aAxisProperties.m_aLabelAlignment = LABEL_ALIGN_RIGHT;
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 6ebfa5c36e4b..4d06449a3ec4 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -2757,7 +2757,7 @@ void SwXMLTableContext::MakeTable()
{
case text::HoriOrientation::FULL:
case text::HoriOrientation::NONE:
- // For text::HoriOrientation::NONE we would prefere to use the sum
+ // For text::HoriOrientation::NONE we would prefer to use the sum
// of the relative column widths as reference width.
// Unfortunately this works only if this sum interpreted as
// twip value is larger than the space that is available.