summaryrefslogtreecommitdiffstats
path: root/starmath
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-01-24 12:56:13 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-01-25 06:05:54 +0000
commit6d898945d57b53b862c41a3adbd0d4eddd8dfbcd (patch)
treef25cdb30411048df0b5dac05bb80dea50898c703 /starmath
parentuse tools::SvRef in ScSpellDialogChildWindow (diff)
downloadcore-6d898945d57b53b862c41a3adbd0d4eddd8dfbcd.tar.gz
core-6d898945d57b53b862c41a3adbd0d4eddd8dfbcd.zip
Fix typo in comments: relativ -> relative
Change-Id: I58833e503e93b8057f92710c5828bba6cecd4e09 Reviewed-on: https://gerrit.libreoffice.org/33488 Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp> Tested-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/accessibility.cxx6
-rw-r--r--starmath/source/view.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index 792d3043b3b3..8bce95381ab3 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -70,7 +70,7 @@ static awt::Rectangle lcl_GetBounds( vcl::Window *pWin )
{
// !! see VCLXAccessibleComponent::implGetBounds()
- //! the coordinates returned are relativ to the parent window !
+ //! the coordinates returned are relative to the parent window !
//! Thus the top-left point may be different from (0, 0) !
awt::Rectangle aBounds;
@@ -172,7 +172,7 @@ uno::Reference< XAccessibleContext > SAL_CALL SmGraphicAccessible::getAccessible
sal_Bool SAL_CALL SmGraphicAccessible::containsPoint( const awt::Point& aPoint )
throw (RuntimeException, std::exception)
{
- //! the arguments coordinates are relativ to the current window !
+ //! the arguments coordinates are relative to the current window !
//! Thus the top-left point is (0, 0)
SolarMutexGuard aGuard;
@@ -1645,7 +1645,7 @@ uno::Reference< XAccessibleContext > SAL_CALL SmEditAccessible::getAccessibleCon
sal_Bool SAL_CALL SmEditAccessible::containsPoint( const awt::Point& aPoint )
throw (RuntimeException, std::exception)
{
- //! the arguments coordinates are relativ to the current window !
+ //! the arguments coordinates are relative to the current window !
//! Thus the top left-point is (0, 0)
SolarMutexGuard aGuard;
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 36c7dfd40b09..dc099f9beef6 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -158,7 +158,7 @@ void SmGraphicWindow::MouseButtonDown(const MouseEvent& rMEvt)
SAL_WARN_IF( rMEvt.GetClicks() == 0, "starmath", "0 clicks" );
if ( rMEvt.IsLeft() )
{
- // get click position relativ to formula
+ // get click position relative to formula
Point aPos (PixelToLogic(rMEvt.GetPosPixel())
- GetFormulaDrawPos());