[Libreoffice-commits] core.git: include/osl include/svx sc/source solenv/bin svx/source sw/source

Takeshi Abe tabe at fixedpoint.jp
Tue Jan 24 03:10:49 UTC 2017


 include/osl/file.h                        |    2 +-
 include/svx/polypolygoneditor.hxx         |    2 +-
 sc/source/filter/lotus/lotform.cxx        |    6 +++---
 solenv/bin/modules/installer/control.pm   |    2 +-
 svx/source/unodraw/unoshape.cxx           |    4 ++--
 sw/source/core/text/guess.hxx             |    2 +-
 sw/source/core/text/widorp.cxx            |    2 +-
 sw/source/core/view/pagepreviewlayout.cxx |    4 ++--
 8 files changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 79497f458727a0dea983847fe9d3873bf9c2e972
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Tue Jan 24 10:26:55 2017 +0900

    Fix typo in comments: absolut -> absolute
    
    Change-Id: I8aab9004001a9a2ddd54b4c73857b6f9c5b51515
    Reviewed-on: https://gerrit.libreoffice.org/33486
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Takeshi Abe <tabe at fixedpoint.jp>

diff --git a/include/osl/file.h b/include/osl/file.h
index a9c9462..12a0de8 100644
--- a/include/osl/file.h
+++ b/include/osl/file.h
@@ -39,7 +39,7 @@ high performance access to file system issues on any operating system.<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>,
 <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
diff --git a/include/svx/polypolygoneditor.hxx b/include/svx/polypolygoneditor.hxx
index 7c43ca6..a65200f 100644
--- a/include/svx/polypolygoneditor.hxx
+++ b/include/svx/polypolygoneditor.hxx
@@ -51,7 +51,7 @@ public:
     */
     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
     */
     static bool GetRelativePolyPoint( const basegfx::B2DPolyPolygon& rPoly, sal_uInt32 nAbsPnt, sal_uInt32& rPolyNum, sal_uInt32& rPointNum );
diff --git a/sc/source/filter/lotus/lotform.cxx b/sc/source/filter/lotus/lotform.cxx
index 480fb32..cec80e4 100644
--- a/sc/source/filter/lotus/lotform.cxx
+++ b/sc/source/filter/lotus/lotform.cxx
@@ -1196,7 +1196,7 @@ FUNC_TYPE LotusToSc::IndexToTypeWK123( sal_uInt8 nIndex )
         FT_Snum,            //    5 Short number
         FT_ConstString,     //    6 ASCII string
         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_Ecref,           //   10 Err cell reference
         FT_Econstant,       //   11 Err constant
@@ -1460,7 +1460,7 @@ DefTokenId LotusToSc::IndexToTokenWK123( sal_uInt8 nIndex )
         ocPush,             //    5 Numbers
         ocPush,             //    6 ASCII string
         ocPush,             //    7 Named range reference
-        ocPush,             //    8 Absolut named range
+        ocPush,             //    8 Absolute named range
         ocPush,             //    9 Err range reference
         ocPush,             //   10 Err cell reference
         ocPush,             //   11 Err constant
@@ -1725,7 +1725,7 @@ const sal_Char* GetAddInName( const sal_uInt8 n )
         nullptr,                       //    5 2-Byte integer
         nullptr,                       //    6 ASCII string
         nullptr,                       //    7 Named range reference
-        nullptr,                       //    8 Absolut named range
+        nullptr,                       //    8 Absolute named range
         nullptr,                       //    9 Err range reference
         nullptr,                       //   10 Err cell reference
         nullptr,                       //   11 Err constant
diff --git a/solenv/bin/modules/installer/control.pm b/solenv/bin/modules/installer/control.pm
index 6d95e06..7670535 100644
--- a/solenv/bin/modules/installer/control.pm
+++ b/solenv/bin/modules/installer/control.pm
@@ -127,7 +127,7 @@ sub check_system_path
         else
         {
             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; }
         }
     }
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 29cd95c..d736718 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -1122,7 +1122,7 @@ awt::Point SAL_CALL SvxShape::getPosition() throw(uno::RuntimeException, std::ex
         Rectangle aRect( svx_getLogicRectHack(mpObj.get()) );
         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() )
             aPt -= mpObj->GetAnchorPos();
 
@@ -1150,7 +1150,7 @@ void SAL_CALL SvxShape::setPosition( const awt::Point& Position ) throw(uno::Run
             Point aLocalPos( Position.X, Position.Y );
             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() )
                 aLocalPos += mpObj->GetAnchorPos();
 
diff --git a/sw/source/core/text/guess.hxx b/sw/source/core/text/guess.hxx
index feea8af..8301550 100644
--- a/sw/source/core/text/guess.hxx
+++ b/sw/source/core/text/guess.hxx
@@ -33,7 +33,7 @@ class SwTextGuess
     sal_Int32 nCutPos;         // this character doesn't fit
     sal_Int32 nBreakStart;     // start index of word containing line break
     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
     sal_uInt16 nBreakWidth;    // width of the broken portion
 public:
diff --git a/sw/source/core/text/widorp.cxx b/sw/source/core/text/widorp.cxx
index 7514baa..763f116 100644
--- a/sw/source/core/text/widorp.cxx
+++ b/sw/source/core/text/widorp.cxx
@@ -107,7 +107,7 @@ bool SwTextFrameBreak::IsInside( SwTextMargin &rLine ) const
 
     SwSwapIfSwapped swap(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;
     if ( m_pFrame->IsVertical() )
diff --git a/sw/source/core/view/pagepreviewlayout.cxx b/sw/source/core/view/pagepreviewlayout.cxx
index ddeebc4..47c19d9 100644
--- a/sw/source/core/view/pagepreviewlayout.cxx
+++ b/sw/source/core/view/pagepreviewlayout.cxx
@@ -788,7 +788,7 @@ Point SwPagePreviewLayout::GetPreviewStartPosForNewScale(
 
 /** 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
 {
@@ -1275,7 +1275,7 @@ void SwPagePreviewLayout::PaintSelectMarkAtPage(vcl::RenderContext& rRenderConte
     Perform paint for current selected page in order to unmark it.
     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 )
 {


More information about the Libreoffice-commits mailing list