Kaydet (Commit) 79497f45 authored tarafından Takeshi Abe's avatar Takeshi Abe

Fix typo in comments: absolut -> absolute

Change-Id: I8aab9004001a9a2ddd54b4c73857b6f9c5b51515
Reviewed-on: https://gerrit.libreoffice.org/33486Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTakeshi Abe <tabe@fixedpoint.jp>
üst c2850bab
...@@ -39,7 +39,7 @@ high performance access to file system issues on any operating system.<p> ...@@ -39,7 +39,7 @@ high performance access to file system issues on any operating system.<p>
There are a few main goals:<p> There are a few main goals:<p>
1.The path specifications always has to be absolut. Any usage of relative path 1.The path specifications always has to be absolute. Any usage of relative path
specifications is forbidden. Exceptions are <code>osl_getSystemPathFromFileURL</code>, specifications is forbidden. Exceptions are <code>osl_getSystemPathFromFileURL</code>,
<code>osl_getFileURLFromSystemPath</code> and <code>osl_getAbsoluteFileURL</code>. Most operating systems <code>osl_getFileURLFromSystemPath</code> and <code>osl_getAbsoluteFileURL</code>. Most operating systems
provide a "Current Directory" per process. This is the reason why relative path provide a "Current Directory" per process. This is the reason why relative path
......
...@@ -51,7 +51,7 @@ public: ...@@ -51,7 +51,7 @@ public:
*/ */
bool SetPointsSmooth( basegfx::B2VectorContinuity eFlags, const std::set< sal_uInt16 >& rAbsPoints); bool SetPointsSmooth( basegfx::B2VectorContinuity eFlags, const std::set< sal_uInt16 >& rAbsPoints);
/** Outputs the relative position ( polygon number and point number in that polygon ) from the absolut point number. /** Outputs the relative position ( polygon number and point number in that polygon ) from the absolute point number.
False is returned if the given absolute point is greater not inside this B2DPolyPolygon False is returned if the given absolute point is greater not inside this B2DPolyPolygon
*/ */
static bool GetRelativePolyPoint( const basegfx::B2DPolyPolygon& rPoly, sal_uInt32 nAbsPnt, sal_uInt32& rPolyNum, sal_uInt32& rPointNum ); static bool GetRelativePolyPoint( const basegfx::B2DPolyPolygon& rPoly, sal_uInt32 nAbsPnt, sal_uInt32& rPolyNum, sal_uInt32& rPointNum );
......
...@@ -1196,7 +1196,7 @@ FUNC_TYPE LotusToSc::IndexToTypeWK123( sal_uInt8 nIndex ) ...@@ -1196,7 +1196,7 @@ FUNC_TYPE LotusToSc::IndexToTypeWK123( sal_uInt8 nIndex )
FT_Snum, // 5 Short number FT_Snum, // 5 Short number
FT_ConstString, // 6 ASCII string FT_ConstString, // 6 ASCII string
FT_Nrref, // 7 Named range reference FT_Nrref, // 7 Named range reference
FT_Absnref, // 8 Absolut named range FT_Absnref, // 8 Absolute named range
FT_Erref, // 9 Err range reference FT_Erref, // 9 Err range reference
FT_Ecref, // 10 Err cell reference FT_Ecref, // 10 Err cell reference
FT_Econstant, // 11 Err constant FT_Econstant, // 11 Err constant
...@@ -1460,7 +1460,7 @@ DefTokenId LotusToSc::IndexToTokenWK123( sal_uInt8 nIndex ) ...@@ -1460,7 +1460,7 @@ DefTokenId LotusToSc::IndexToTokenWK123( sal_uInt8 nIndex )
ocPush, // 5 Numbers ocPush, // 5 Numbers
ocPush, // 6 ASCII string ocPush, // 6 ASCII string
ocPush, // 7 Named range reference ocPush, // 7 Named range reference
ocPush, // 8 Absolut named range ocPush, // 8 Absolute named range
ocPush, // 9 Err range reference ocPush, // 9 Err range reference
ocPush, // 10 Err cell reference ocPush, // 10 Err cell reference
ocPush, // 11 Err constant ocPush, // 11 Err constant
...@@ -1725,7 +1725,7 @@ const sal_Char* GetAddInName( const sal_uInt8 n ) ...@@ -1725,7 +1725,7 @@ const sal_Char* GetAddInName( const sal_uInt8 n )
nullptr, // 5 2-Byte integer nullptr, // 5 2-Byte integer
nullptr, // 6 ASCII string nullptr, // 6 ASCII string
nullptr, // 7 Named range reference nullptr, // 7 Named range reference
nullptr, // 8 Absolut named range nullptr, // 8 Absolute named range
nullptr, // 9 Err range reference nullptr, // 9 Err range reference
nullptr, // 10 Err cell reference nullptr, // 10 Err cell reference
nullptr, // 11 Err constant nullptr, // 11 Err constant
......
...@@ -127,7 +127,7 @@ sub check_system_path ...@@ -127,7 +127,7 @@ sub check_system_path
else else
{ {
installer::logger::print_message( "\tFound: $$fileref\n" ); installer::logger::print_message( "\tFound: $$fileref\n" );
# Saving the absolut path for msitran.exe. This is required for the determination of the checksum. # Saving the absolute path for msitran.exe. This is required for the determination of the checksum.
if ( $onefile eq "msitran.exe" ) { $installer::globals::msitranpath = $$fileref; } if ( $onefile eq "msitran.exe" ) { $installer::globals::msitranpath = $$fileref; }
} }
} }
......
...@@ -1122,7 +1122,7 @@ awt::Point SAL_CALL SvxShape::getPosition() throw(uno::RuntimeException, std::ex ...@@ -1122,7 +1122,7 @@ awt::Point SAL_CALL SvxShape::getPosition() throw(uno::RuntimeException, std::ex
Rectangle aRect( svx_getLogicRectHack(mpObj.get()) ); Rectangle aRect( svx_getLogicRectHack(mpObj.get()) );
Point aPt( aRect.Left(), aRect.Top() ); Point aPt( aRect.Left(), aRect.Top() );
// Position is relativ to anchor, so recalc to absolut position // Position is relativ to anchor, so recalc to absolute position
if( mpModel->IsWriter() ) if( mpModel->IsWriter() )
aPt -= mpObj->GetAnchorPos(); aPt -= mpObj->GetAnchorPos();
...@@ -1150,7 +1150,7 @@ void SAL_CALL SvxShape::setPosition( const awt::Point& Position ) throw(uno::Run ...@@ -1150,7 +1150,7 @@ void SAL_CALL SvxShape::setPosition( const awt::Point& Position ) throw(uno::Run
Point aLocalPos( Position.X, Position.Y ); Point aLocalPos( Position.X, Position.Y );
ForceMetricToItemPoolMetric(aLocalPos); ForceMetricToItemPoolMetric(aLocalPos);
// Position is absolut, so recalc to position relativ to anchor // Position is absolute, so recalc to position relativ to anchor
if( mpModel->IsWriter() ) if( mpModel->IsWriter() )
aLocalPos += mpObj->GetAnchorPos(); aLocalPos += mpObj->GetAnchorPos();
......
...@@ -33,7 +33,7 @@ class SwTextGuess ...@@ -33,7 +33,7 @@ class SwTextGuess
sal_Int32 nCutPos; // this character doesn't fit sal_Int32 nCutPos; // this character doesn't fit
sal_Int32 nBreakStart; // start index of word containing line break sal_Int32 nBreakStart; // start index of word containing line break
sal_Int32 nBreakPos; // start index of break position sal_Int32 nBreakPos; // start index of break position
sal_Int32 nFieldDiff; // absolut positions can be wrong if we sal_Int32 nFieldDiff; // absolute positions can be wrong if we
// a field in the text has been expanded // a field in the text has been expanded
sal_uInt16 nBreakWidth; // width of the broken portion sal_uInt16 nBreakWidth; // width of the broken portion
public: public:
......
...@@ -107,7 +107,7 @@ bool SwTextFrameBreak::IsInside( SwTextMargin &rLine ) const ...@@ -107,7 +107,7 @@ bool SwTextFrameBreak::IsInside( SwTextMargin &rLine ) const
SwSwapIfSwapped swap(m_pFrame); SwSwapIfSwapped swap(m_pFrame);
SwRectFnSet aRectFnSet(m_pFrame); SwRectFnSet aRectFnSet(m_pFrame);
// nOrigin is an absolut value, rLine referes to the swapped situation. // nOrigin is an absolute value, rLine referes to the swapped situation.
SwTwips nTmpY; SwTwips nTmpY;
if ( m_pFrame->IsVertical() ) if ( m_pFrame->IsVertical() )
......
...@@ -788,7 +788,7 @@ Point SwPagePreviewLayout::GetPreviewStartPosForNewScale( ...@@ -788,7 +788,7 @@ Point SwPagePreviewLayout::GetPreviewStartPosForNewScale(
/** determines, if page with given page number is visible in preview /** determines, if page with given page number is visible in preview
@note _nPageNum is absolut! @note _nPageNum is absolute
*/ */
bool SwPagePreviewLayout::IsPageVisible( const sal_uInt16 _nPageNum ) const bool SwPagePreviewLayout::IsPageVisible( const sal_uInt16 _nPageNum ) const
{ {
...@@ -1275,7 +1275,7 @@ void SwPagePreviewLayout::PaintSelectMarkAtPage(vcl::RenderContext& rRenderConte ...@@ -1275,7 +1275,7 @@ void SwPagePreviewLayout::PaintSelectMarkAtPage(vcl::RenderContext& rRenderConte
Perform paint for current selected page in order to unmark it. Perform paint for current selected page in order to unmark it.
Set new selected page and perform paint to mark this page. Set new selected page and perform paint to mark this page.
@note _nSelectedPage, mnSelectedPage are absolut @note _nSelectedPage, mnSelectedPage are absolute
*/ */
void SwPagePreviewLayout::MarkNewSelectedPage( const sal_uInt16 _nSelectedPage ) void SwPagePreviewLayout::MarkNewSelectedPage( const sal_uInt16 _nSelectedPage )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment