You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2025/03/07 13:46:33 UTC

(openoffice) branch trunk updated: Fix typo (methos), cleanup

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 db0736c4a3 Fix typo (methos), cleanup
db0736c4a3 is described below

commit db0736c4a34c0bd2edac2045e23a88f8195c6c5b
Author: mseidel <ms...@apache.org>
AuthorDate: Fri Mar 7 14:46:15 2025 +0100

    Fix typo (methos), cleanup
---
 .../src/main/java/ifc/lang/_XServiceInfo.java      |  12 +-
 main/sal/inc/osl/security_decl.hxx                 |  48 +++---
 main/svx/source/dialog/fontwork.cxx                | 172 +++++++++------------
 main/ucb/qa/complex/tdoc/_XServiceInfo.java        |  12 +-
 main/vos/inc/vos/security.hxx                      |  18 +--
 main/xmloff/inc/xmloff/prstylei.hxx                |  21 ++-
 6 files changed, 120 insertions(+), 163 deletions(-)

diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/lang/_XServiceInfo.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/lang/_XServiceInfo.java
index 183a695f93..fa40beee3e 100644
--- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/lang/_XServiceInfo.java
+++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/lang/_XServiceInfo.java
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,20 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 package ifc.lang;
 
 import lib.MultiMethodTest;
@@ -79,7 +77,7 @@ public class _XServiceInfo extends MultiMethodTest {
     /**
     * Gets one of the service names returned by
     * <code>getSupportedServiceNames</code> method and
-    * calls the <code>supportsService</code> methos with this
+    * calls the <code>supportsService</code> method with this
     * name. <p>
     * Has <b>OK</b> status if <code>true</code> value is
     * returned.
diff --git a/main/sal/inc/osl/security_decl.hxx b/main/sal/inc/osl/security_decl.hxx
index 20b06fe23c..48a56dced1 100644
--- a/main/sal/inc/osl/security_decl.hxx
+++ b/main/sal/inc/osl/security_decl.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,20 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 #ifndef _OSL_SECURITY_DECL_HXX_
 #define _OSL_SECURITY_DECL_HXX_
 
@@ -28,24 +26,24 @@
 #	include <osl/security.h>
 
 namespace osl
-{     
+{
 
 /** capsulate security informations for one user.
-	A object of this class is used to execute a process with the rights an 
-	security options of a scecified user. 
+	A object of this class is used to execute a process with the rights an
+	security options of a scecified user.
 	@see Process::executeProcess
 */
-class Security 
+class Security
 {
 protected:
 	oslSecurity m_handle;
 
 public:
-	/// constructor
-    inline Security();
-	/// destructor
-    inline ~Security();
-	/** get the security information for one user. 
+	// constructor
+	inline Security();
+	// destructor
+	inline ~Security();
+	/** get the security information for one user.
 		The underlying operating system is asked for this information.
 		@param strName [in] denotes the name of the user
 		@param strPasswd [in] denotes the password of this user
@@ -54,14 +52,14 @@ public:
 	*/
 	inline sal_Bool SAL_CALL logonUser(const ::rtl::OUString& strName,
 									   const ::rtl::OUString& strPasswd);
-	/** get the security information for one user. 
+	/** get the security information for one user.
 		This method will try to login the user at the denoted file server.
 		If a network resource named \\server\username exists and this resource
-		could be connected by this user, the methos will return true and getHomeDir
+		could be connected by this user, the method will return true and getHomeDir
 		will return \\server\username.
 		@param strName [in] denotes the name of the user
 		@param strPasswd [in] denotes the password of this user
-		@return True, if the specified user is known by file server and the 
+		@return True, if the specified user is known by file server and the
 		could be connected,	otherwise False
 	*/
 	inline sal_Bool SAL_CALL logonUser(const ::rtl::OUString & strName,
@@ -73,37 +71,37 @@ public:
 		@param max [in] is the size of this buffer
 		@return True, if any user is successfully logged in, otherwise False
 	*/
-    inline sal_Bool  SAL_CALL getUserIdent( ::rtl::OUString& strIdent) const;
+	inline sal_Bool  SAL_CALL getUserIdent( ::rtl::OUString& strIdent) const;
 
 	/** get the name of the logged in user.
 		@param strName [out] is the buffer which returns the name
 		@param max [in] is the size of this buffer
 		@return True, if any user is successfully logged in, otherwise False
 	*/
-    inline sal_Bool SAL_CALL getUserName( ::rtl::OUString& strName) const;
+	inline sal_Bool SAL_CALL getUserName( ::rtl::OUString& strName) const;
 
 	/** get the home directory of the logged in user.
 		@param strDirectory [out] is the buffer which returns the directory name
 		@param max [in] is the size of this buffer
 		@return True, if any user is successfully logged in, otherwise False
 	*/
-    inline sal_Bool SAL_CALL getHomeDir( ::rtl::OUString& strDirectory) const;
+	inline sal_Bool SAL_CALL getHomeDir( ::rtl::OUString& strDirectory) const;
 
 	/** get the directory for configuration data of the logged in user.
 		@param strDirectory [out] is the buffer which returns the directory name
 		@param max [in] is the size of this buffer
 		@return True, if any user is successfully logged in, otherwise False
 	*/
-    inline sal_Bool SAL_CALL getConfigDir( ::rtl::OUString & strDirectory) const;
+	inline sal_Bool SAL_CALL getConfigDir( ::rtl::OUString & strDirectory) const;
 
-	/** Query if the user who is logged inhas administrator rigths.
+	/** Query if the user who is logged in has administrator rights.
 		@return True, if the user has administrator rights, otherwise false.
 	*/
 	inline sal_Bool SAL_CALL isAdministrator() const;
- 
+
 	/** Returns the underlying oslSecurity handle
 	 */
-    inline oslSecurity getHandle() const;
+	inline oslSecurity getHandle() const;
 
 };
 
diff --git a/main/svx/source/dialog/fontwork.cxx b/main/svx/source/dialog/fontwork.cxx
index e286d8a7fd..1e8772a4c8 100644
--- a/main/svx/source/dialog/fontwork.cxx
+++ b/main/svx/source/dialog/fontwork.cxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,20 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_svx.hxx"
 
@@ -49,28 +47,24 @@
 SFX_IMPL_DOCKINGWINDOW( SvxFontWorkChildWindow, SID_FONTWORK );
 
 /*************************************************************************
-|*
-|* ControllerItem fuer Fontwork
-|*
+|* ControllerItem for Fontwork
 \************************************************************************/
 
 SvxFontWorkControllerItem::SvxFontWorkControllerItem
 (
-    sal_uInt16 _nId,
+	sal_uInt16 _nId,
 	SvxFontWorkDialog& rDlg,
 	SfxBindings& rBindings
 ) :
 
-    SfxControllerItem( _nId, rBindings ),
+	SfxControllerItem( _nId, rBindings ),
 
 	rFontWorkDlg( rDlg )
 {
 }
 
 /*************************************************************************
-|*
 |* StateChanged-Methode fuer FontWork-Items
-|*
 \************************************************************************/
 
 void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState /*eState*/,
@@ -82,7 +76,7 @@ void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState
 		{
 			const XFormTextStyleItem* pStateItem =
 								PTR_CAST(XFormTextStyleItem, pItem);
-			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextStyleItem erwartet");
+			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextStyleItem expected");
 			rFontWorkDlg.SetStyle_Impl(pStateItem);
 			break;
 		}
@@ -90,7 +84,7 @@ void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState
 		{
 			const XFormTextAdjustItem* pStateItem =
 								PTR_CAST(XFormTextAdjustItem, pItem);
-			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextAdjustItem erwartet");
+			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextAdjustItem expected");
 			rFontWorkDlg.SetAdjust_Impl(pStateItem);
 			break;
 		}
@@ -98,7 +92,7 @@ void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState
 		{
 			const XFormTextDistanceItem* pStateItem =
 								PTR_CAST(XFormTextDistanceItem, pItem);
-			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextDistanceItem erwartet");
+			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextDistanceItem expected");
 			rFontWorkDlg.SetDistance_Impl(pStateItem);
 			break;
 		}
@@ -106,7 +100,7 @@ void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState
 		{
 			const XFormTextStartItem* pStateItem =
 								PTR_CAST(XFormTextStartItem, pItem);
-			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextStartItem erwartet");
+			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextStartItem expected");
 			rFontWorkDlg.SetStart_Impl(pStateItem);
 			break;
 		}
@@ -114,7 +108,7 @@ void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState
 		{
 			const XFormTextMirrorItem* pStateItem =
 								PTR_CAST(XFormTextMirrorItem, pItem);
-			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextMirrorItem erwartet");
+			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextMirrorItem expected");
 			rFontWorkDlg.SetMirror_Impl(pStateItem);
 			break;
 		}
@@ -122,7 +116,7 @@ void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState
 		{
 			const XFormTextHideFormItem* pStateItem =
 								PTR_CAST(XFormTextHideFormItem, pItem);
-			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextHideFormItem erwartet");
+			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextHideFormItem expected");
 			rFontWorkDlg.SetShowForm_Impl(pStateItem);
 			break;
 		}
@@ -130,7 +124,7 @@ void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState
 		{
 			const XFormTextOutlineItem* pStateItem =
 								PTR_CAST(XFormTextOutlineItem, pItem);
-			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextOutlineItem erwartet");
+			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextOutlineItem expected");
 			rFontWorkDlg.SetOutline_Impl(pStateItem);
 			break;
 		}
@@ -138,7 +132,7 @@ void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState
 		{
 			const XFormTextShadowItem* pStateItem =
 								PTR_CAST(XFormTextShadowItem, pItem);
-			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextShadowItem erwartet");
+			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextShadowItem expected");
 			rFontWorkDlg.SetShadow_Impl(pStateItem);
 			break;
 		}
@@ -146,7 +140,7 @@ void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState
 		{
 			const XFormTextShadowColorItem* pStateItem =
 								PTR_CAST(XFormTextShadowColorItem, pItem);
-			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextShadowColorItem erwartet");
+			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextShadowColorItem expected");
 			rFontWorkDlg.SetShadowColor_Impl(pStateItem);
 			break;
 		}
@@ -154,7 +148,7 @@ void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState
 		{
 			const XFormTextShadowXValItem* pStateItem =
 								PTR_CAST(XFormTextShadowXValItem, pItem);
-			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextShadowXValItem erwartet");
+			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextShadowXValItem expected");
 			rFontWorkDlg.SetShadowXVal_Impl(pStateItem);
 			break;
 		}
@@ -162,7 +156,7 @@ void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState
 		{
 			const XFormTextShadowYValItem* pStateItem =
 								PTR_CAST(XFormTextShadowYValItem, pItem);
-			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextShadowYValItem erwartet");
+			DBG_ASSERT(pStateItem || pItem == 0, "XFormTextShadowYValItem expected");
 			rFontWorkDlg.SetShadowYVal_Impl(pStateItem);
 			break;
 		}
@@ -170,23 +164,21 @@ void SvxFontWorkControllerItem::StateChanged( sal_uInt16 /*nSID*/, SfxItemState
 }
 
 /*************************************************************************
-|*
-|* Ableitung vom SfxChildWindow als "Behaelter" fuer Fontwork-Dialog
-|*
+|* Ableitung vom SfxChildWindow als "Behälter" für Fontwork-Dialog
 \************************************************************************/
 
 SvxFontWorkChildWindow::SvxFontWorkChildWindow
 (
-    Window* _pParent,
+	Window* _pParent,
 	sal_uInt16 nId,
 	SfxBindings* pBindings,
 	SfxChildWinInfo* pInfo
 ) :
 
-    SfxChildWindow( _pParent, nId )
+	SfxChildWindow( _pParent, nId )
 
 {
-    pWindow = new SvxFontWorkDialog( pBindings, this, _pParent,
+	pWindow = new SvxFontWorkDialog( pBindings, this, _pParent,
 									 SVX_RES( RID_SVXDLG_FONTWORK ) );
 	SvxFontWorkDialog* pDlg = (SvxFontWorkDialog*) pWindow;
 
@@ -196,16 +188,14 @@ SvxFontWorkChildWindow::SvxFontWorkChildWindow
 }
 
 /*************************************************************************
-|*
 |* Floating Window zur Attributierung von Texteffekten
-|*
 \************************************************************************/
 
 SvxFontWorkDialog::SvxFontWorkDialog( SfxBindings *pBindinx,
 									  SfxChildWindow *pCW,
-                                      Window* _pParent,
+									  Window* _pParent,
 									  const ResId& rResId ) :
-    SfxDockingWindow( pBindinx, pCW, _pParent, rResId ),
+	SfxDockingWindow( pBindinx, pCW, _pParent, rResId ),
 
 	aTbxStyle		(this, ResId(TBX_STYLE,*rResId.GetResMgr())),
 	aTbxAdjust		(this, ResId(TBX_ADJUST,*rResId.GetResMgr())),
@@ -223,7 +213,7 @@ SvxFontWorkDialog::SvxFontWorkDialog( SfxBindings *pBindinx,
 	aMtrFldShadowY	(this, ResId(MTR_FLD_SHADOW_Y,*rResId.GetResMgr())),
 
 	aShadowColorLB	(this, ResId(CLB_SHADOW_COLOR,*rResId.GetResMgr())),
-    rBindings       (*pBindinx),
+	rBindings		(*pBindinx),
 
 	nLastStyleTbxId(0),
 	nLastAdjustTbxId(0),
@@ -233,10 +223,10 @@ SvxFontWorkDialog::SvxFontWorkDialog( SfxBindings *pBindinx,
 	nSaveShadowAngle(450),
 	nSaveShadowSize (100),
 
-    maImageList     (ResId(IL_FONTWORK,*rResId.GetResMgr())),
-    maImageListH    (ResId(ILH_FONTWORK,*rResId.GetResMgr())),
+	maImageList		(ResId(IL_FONTWORK,*rResId.GetResMgr())),
+	maImageListH	(ResId(ILH_FONTWORK,*rResId.GetResMgr())),
 
-    maColorTable()
+	maColorTable()
 {
 	FreeResource();
 
@@ -298,9 +288,7 @@ SvxFontWorkDialog::SvxFontWorkDialog( SfxBindings *pBindinx,
 }
 
 /*************************************************************************
-|*
 |* Destruktor
-|*
 \************************************************************************/
 
 SvxFontWorkDialog::~SvxFontWorkDialog()
@@ -321,8 +309,6 @@ void SvxFontWorkDialog::Zoom()
 
 /*************************************************************************
 |*
-|*
-|*
 \************************************************************************/
 
 SfxChildAlignment SvxFontWorkDialog::CheckAlignment( SfxChildAlignment eActAlign,
@@ -366,14 +352,12 @@ SfxChildAlignment SvxFontWorkDialog::CheckAlignment( SfxChildAlignment eActAlign
 
 
 /*************************************************************************
-|*
 |* Style-Buttons setzen
-|*
 \************************************************************************/
 
 void SvxFontWorkDialog::SetStyle_Impl(const XFormTextStyleItem* pItem)
 {
-    if ( pItem )
+	if ( pItem )
 	{
 		sal_uInt16 nId = TBI_STYLE_OFF;
 
@@ -383,11 +367,11 @@ void SvxFontWorkDialog::SetStyle_Impl(const XFormTextStyleItem* pItem)
 			case XFT_UPRIGHT: nId = TBI_STYLE_UPRIGHT;	break;
 			case XFT_SLANTX : nId = TBI_STYLE_SLANTX;	break;
 			case XFT_SLANTY : nId = TBI_STYLE_SLANTY;	break;
-            default: ;//prevent warning
+			default: ;//prevent warning
 		}
 		aTbxStyle.Enable();
 
-        // Make sure that there is always exactly one checked toolbox item.
+		// Make sure that there is always exactly one checked toolbox item.
 		if ( pItem->GetValue() == XFT_NONE )
 		{
 			aTbxStyle.CheckItem(TBI_STYLE_ROTATE, sal_False);
@@ -398,10 +382,10 @@ void SvxFontWorkDialog::SetStyle_Impl(const XFormTextStyleItem* pItem)
 			aTbxStyle.CheckItem(TBI_STYLE_OFF, sal_True);
 		}
 		else
-        {
+		{
 			aTbxStyle.CheckItem(TBI_STYLE_OFF, sal_False);
-            aTbxStyle.CheckItem(nId);
-        }
+			aTbxStyle.CheckItem(nId);
+		}
 
 		nLastStyleTbxId = nId;
 	}
@@ -410,9 +394,7 @@ void SvxFontWorkDialog::SetStyle_Impl(const XFormTextStyleItem* pItem)
 }
 
 /*************************************************************************
-|*
 |* Adjust-Buttons setzen
-|*
 \************************************************************************/
 
 void SvxFontWorkDialog::SetAdjust_Impl(const XFormTextAdjustItem* pItem)
@@ -452,9 +434,7 @@ void SvxFontWorkDialog::SetAdjust_Impl(const XFormTextAdjustItem* pItem)
 }
 
 /*************************************************************************
-|*
 |* Abstand-Wert in Editfeld eintragen
-|*
 \************************************************************************/
 
 void SvxFontWorkDialog::SetDistance_Impl(const XFormTextDistanceItem* pItem)
@@ -467,9 +447,7 @@ void SvxFontWorkDialog::SetDistance_Impl(const XFormTextDistanceItem* pItem)
 }
 
 /*************************************************************************
-|*
 |* Einzug-Wert in Editfeld eintragen
-|*
 \************************************************************************/
 
 void SvxFontWorkDialog::SetStart_Impl(const XFormTextStartItem* pItem)
@@ -482,9 +460,7 @@ void SvxFontWorkDialog::SetStart_Impl(const XFormTextStartItem* pItem)
 }
 
 /*************************************************************************
-|*
-|* Button fuer Umkehrung der Textrichtung setzen
-|*
+|* Button für Umkehrung der Textrichtung setzen
 \************************************************************************/
 
 void SvxFontWorkDialog::SetMirror_Impl(const XFormTextMirrorItem* pItem)
@@ -494,9 +470,7 @@ void SvxFontWorkDialog::SetMirror_Impl(const XFormTextMirrorItem* pItem)
 }
 
 /*************************************************************************
-|*
-|* Button fuer Konturanzeige setzen
-|*
+|* Button für Konturanzeige setzen
 \************************************************************************/
 
 void SvxFontWorkDialog::SetShowForm_Impl(const XFormTextHideFormItem* pItem)
@@ -506,9 +480,7 @@ void SvxFontWorkDialog::SetShowForm_Impl(const XFormTextHideFormItem* pItem)
 }
 
 /*************************************************************************
-|*
-|* Button fuer Zeichenumrandung setzen
-|*
+|* Button für Zeichenumrandung setzen
 \************************************************************************/
 
 void SvxFontWorkDialog::SetOutline_Impl(const XFormTextOutlineItem* pItem)
@@ -518,9 +490,7 @@ void SvxFontWorkDialog::SetOutline_Impl(const XFormTextOutlineItem* pItem)
 }
 
 /*************************************************************************
-|*
 |* Shadow-Buttons setzen
-|*
 \************************************************************************/
 
 void SvxFontWorkDialog::SetShadow_Impl(const XFormTextShadowItem* pItem,
@@ -554,23 +524,23 @@ void SvxFontWorkDialog::SetShadow_Impl(const XFormTextShadowItem* pItem,
 				nId = TBI_SHADOW_NORMAL;
 				const FieldUnit eDlgUnit = rBindings.GetDispatcher()->GetModule()->GetFieldUnit();
 
-//              aFbShadowX.SetBitmap( Bitmap( ResId(RID_SVXBMP_SHADOW_XDIST, _pMgr ) ) );
+//				aFbShadowX.SetBitmap( Bitmap( ResId(RID_SVXBMP_SHADOW_XDIST, _pMgr ) ) );
 				//aMtrFldShadowX.SetUnit(FUNIT_MM);
 				aMtrFldShadowX.SetUnit( eDlgUnit );
 				aMtrFldShadowX.SetDecimalDigits(2);
-                aMtrFldShadowX.SetMin(LONG_MIN);
-                aMtrFldShadowX.SetMax(LONG_MAX);
+				aMtrFldShadowX.SetMin(LONG_MIN);
+				aMtrFldShadowX.SetMax(LONG_MAX);
 				if( eDlgUnit == FUNIT_MM )
 					aMtrFldShadowX.SetSpinSize( 50 );
 				else
 					aMtrFldShadowX.SetSpinSize( 10 );
 
-//              aFbShadowY.SetBitmap( Bitmap( ResId( RID_SVXBMP_SHADOW_YDIST, _pMgr ) ) );
+//				aFbShadowY.SetBitmap( Bitmap( ResId( RID_SVXBMP_SHADOW_YDIST, _pMgr ) ) );
 				//aMtrFldShadowY.SetUnit(FUNIT_MM);
 				aMtrFldShadowY.SetUnit( eDlgUnit );
 				aMtrFldShadowY.SetDecimalDigits(2);
-                aMtrFldShadowY.SetMin(LONG_MIN);
-                aMtrFldShadowY.SetMax(LONG_MAX);
+				aMtrFldShadowY.SetMin(LONG_MIN);
+				aMtrFldShadowY.SetMax(LONG_MAX);
 				if( eDlgUnit == FUNIT_MM )
 					aMtrFldShadowY.SetSpinSize( 50 );
 				else
@@ -592,18 +562,18 @@ void SvxFontWorkDialog::SetShadow_Impl(const XFormTextShadowItem* pItem,
 			{
 				nId = TBI_SHADOW_SLANT;
 
-//              aFbShadowX.SetBitmap( Bitmap( ResId( RID_SVXBMP_SHADOW_ANGLE, _pMgr ) ) );
+//				aFbShadowX.SetBitmap( Bitmap( ResId( RID_SVXBMP_SHADOW_ANGLE, _pMgr ) ) );
 				aMtrFldShadowX.SetUnit(FUNIT_CUSTOM);
 				aMtrFldShadowX.SetDecimalDigits(1);
-                aMtrFldShadowX.SetMin(-1800);
-                aMtrFldShadowX.SetMax( 1800);
+				aMtrFldShadowX.SetMin(-1800);
+				aMtrFldShadowX.SetMax( 1800);
 				aMtrFldShadowX.SetSpinSize(10);
 
-//              aFbShadowY.SetBitmap( Bitmap( ResId( RID_SVXBMP_SHADOW_SIZE, _pMgr ) ) );
+//				aFbShadowY.SetBitmap( Bitmap( ResId( RID_SVXBMP_SHADOW_SIZE, _pMgr ) ) );
 				aMtrFldShadowY.SetUnit(FUNIT_PERCENT);
 				aMtrFldShadowY.SetDecimalDigits(0);
-                aMtrFldShadowY.SetMin(-999);
-                aMtrFldShadowY.SetMax( 999);
+				aMtrFldShadowY.SetMin(-999);
+				aMtrFldShadowY.SetMax( 999);
 				aMtrFldShadowY.SetSpinSize(10);
 
 				if ( bRestoreValues )
@@ -636,21 +606,17 @@ void SvxFontWorkDialog::SetShadow_Impl(const XFormTextShadowItem* pItem,
 }
 
 /*************************************************************************
-|*
 |* Schattenfarbe in Listbox eintragen
-|*
 \************************************************************************/
 
 void SvxFontWorkDialog::SetShadowColor_Impl(const XFormTextShadowColorItem* pItem)
 {
 	if ( pItem )
-        aShadowColorLB.SelectEntry(pItem->GetColorValue());
+		aShadowColorLB.SelectEntry(pItem->GetColorValue());
 }
 
 /*************************************************************************
-|*
-|* X-Wert fuer Schatten in Editfeld eintragen
-|*
+|* X-Wert für Schatten in Editfeld eintragen
 \************************************************************************/
 
 void SvxFontWorkDialog::SetShadowXVal_Impl(const XFormTextShadowXValItem* pItem)
@@ -660,11 +626,11 @@ void SvxFontWorkDialog::SetShadowXVal_Impl(const XFormTextShadowXValItem* pItem)
 	{
 		// #i19251#
 		// sal_Int32 nValue = pItem->GetValue();
-		
+
 		// #i19251#
 		// The two involved fields/items are used double and contain/give different
 		// values regarding to the access method. Thus, here we need to separate the access
-		// methos regarding to the kind of value accessed.
+		// method regarding to the kind of value accessed.
 		if(aTbxShadow.IsItemChecked(TBI_SHADOW_SLANT))
 		{
 			// #i19251#
@@ -683,9 +649,7 @@ void SvxFontWorkDialog::SetShadowXVal_Impl(const XFormTextShadowXValItem* pItem)
 }
 
 /*************************************************************************
-|*
-|* Y-Wert fuer Schatten in Editfeld eintragen
-|*
+|* Y-Wert für Schatten in Editfeld eintragen
 \************************************************************************/
 
 void SvxFontWorkDialog::SetShadowYVal_Impl(const XFormTextShadowYValItem* pItem)
@@ -696,7 +660,7 @@ void SvxFontWorkDialog::SetShadowYVal_Impl(const XFormTextShadowYValItem* pItem)
 		// #i19251#
 		// The two involved fields/items are used double and contain/give different
 		// values regarding to the access method. Thus, here we need to separate the access
-		// methos regarding to the kind of value accessed.
+		// method regarding to the kind of value accessed.
 		if(aTbxShadow.IsItemChecked(TBI_SHADOW_SLANT))
 		{
 			aMtrFldShadowY.SetValue(pItem->GetValue());
@@ -716,11 +680,11 @@ IMPL_LINK( SvxFontWorkDialog, SelectStyleHdl_Impl, void *, EMPTYARG )
 {
 	sal_uInt16 nId = aTbxStyle.GetCurItemId();
 
-    // Execute this block when a different toolbox item has been clicked or
-    // when the off item has been clicked.  The later is necessary to
-    // override the toolbox behaviour of unchecking the item after second
-    // click on it: One of the items has to be checked at all times (when
-    // enabled that is.)
+	// Execute this block when a different toolbox item has been clicked or
+	// when the off item has been clicked. The later is necessary to
+	// override the toolbox behavior of unchecking the item after second
+	// click on it: One of the items has to be checked at all times (when
+	// enabled that is.)
 	if (nId == TBI_STYLE_OFF || nId != nLastStyleTbxId )
 	{
 		XFormTextStyle eStyle = XFT_NONE;
@@ -834,7 +798,7 @@ IMPL_LINK( SvxFontWorkDialog, InputTimoutHdl_Impl, void *, EMPTYARG )
 {
 	// System-Metrik evtl. neu setzen
 	// Dieses sollte mal als Listener passieren, ist aber aus
-	// inkompatibilitaetsgruenden z.Z. nicht moeglich
+	// inkompatibilitätsgründen z.Z. nicht möglich
 	const FieldUnit eDlgUnit = rBindings.GetDispatcher()->GetModule()->GetFieldUnit();
 	if( eDlgUnit != aMtrFldDistance.GetUnit() )
 	{
@@ -863,7 +827,7 @@ IMPL_LINK( SvxFontWorkDialog, InputTimoutHdl_Impl, void *, EMPTYARG )
 	// #i19251#
 	// The two involved fields/items are used double and contain/give different
 	// values regarding to the access method. Thus, here we need to separate the access
-	// methos regarding to the kind of value accessed.
+	// method regarding to the kind of value accessed.
 	if(nLastShadowTbxId == TBI_SHADOW_NORMAL)
 	{
 		nValueX = GetCoreValue( aMtrFldShadowX, SFX_MAPUNIT_100TH_MM );
@@ -892,9 +856,9 @@ IMPL_LINK( SvxFontWorkDialog, ColorSelectHdl_Impl, void *, EMPTYARG )
 {
 // Changed by obo. Linux-Compiler can't parse commented lines
 	XFormTextShadowColorItem aItem( (const String &) String(),
-								    (const Color &) aShadowColorLB.GetSelectEntryColor() );
+									(const Color &) aShadowColorLB.GetSelectEntryColor() );
 //	XFormTextShadowColorItem aItem( String(),
-//								    aShadowColorLB.GetSelectEntryColor() );
+//									aShadowColorLB.GetSelectEntryColor() );
 	GetBindings().GetDispatcher()->Execute( SID_FORMTEXT_SHDWCOLOR, SFX_CALLMODE_RECORD, &aItem, 0L );
 	return 0;
 }
@@ -924,9 +888,9 @@ void SvxFontWorkDialog::SetActive(sal_Bool /*bActivate*/)
 void SvxFontWorkDialog::DataChanged( const DataChangedEvent& rDCEvt )
 {
 	if ( (rDCEvt.GetType() == DATACHANGED_SETTINGS) && (rDCEvt.GetFlags() & SETTINGS_STYLE) )
-            ApplyImageList();
+			ApplyImageList();
 
-    SfxDockingWindow::DataChanged( rDCEvt );
+	SfxDockingWindow::DataChanged( rDCEvt );
 }
 /* -----------------------------08.05.2002 14:28------------------------------
 
@@ -935,7 +899,7 @@ void SvxFontWorkDialog::ApplyImageList()
 {
 	bool bHighContrast = GetSettings().GetStyleSettings().GetHighContrastMode();
 
-    ImageList& rImgLst = bHighContrast ? maImageListH : maImageList;
+	ImageList& rImgLst = bHighContrast ? maImageListH : maImageList;
 
 	aTbxStyle.SetImageList( rImgLst );
 	aTbxAdjust.SetImageList( rImgLst );
@@ -958,3 +922,5 @@ void SvxFontWorkDialog::ApplyImageList()
 	aFbTextStart.SetImage( rImgLst.GetImage( TBI_TEXTSTART ) );
 
 }
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/ucb/qa/complex/tdoc/_XServiceInfo.java b/main/ucb/qa/complex/tdoc/_XServiceInfo.java
index 57b7068ff9..19be140115 100644
--- a/main/ucb/qa/complex/tdoc/_XServiceInfo.java
+++ b/main/ucb/qa/complex/tdoc/_XServiceInfo.java
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,20 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 package complex.tdoc;
 
 import lib.MultiMethodTest;
@@ -81,7 +79,7 @@ public class _XServiceInfo {
     /**
     * Gets one of the service names returned by
     * <code>getSupportedServiceNames</code> method and
-    * calls the <code>supportsService</code> methos with this
+    * calls the <code>supportsService</code> method with this
     * name. <p>
     * Has <b>OK</b> status if <code>true</code> value is
     * returned.
diff --git a/main/vos/inc/vos/security.hxx b/main/vos/inc/vos/security.hxx
index 2e9c3d668f..12b96ad833 100644
--- a/main/vos/inc/vos/security.hxx
+++ b/main/vos/inc/vos/security.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,20 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 #ifndef _VOS_SECURITY_HXX_
 #define _VOS_SECURITY_HXX_
 
@@ -32,9 +30,9 @@
 namespace vos
 {
 
-/** capsulate security informations for one user.
+/** capsulate security information for one user.
     A object of this class is used to execute a process with the rights an
-    security options of a scecified user.
+    security options of a specified user.
     @see OProcess::executeProcess
     @author  Bernd Hofner
     @version 1.0
@@ -61,7 +59,7 @@ public:
     /** get the security information for one user.
         This method will try to login the user at the denoted file server.
         If a network resource named \\server\username exists and this resource
-        could be connected by this user, the methos will return true and getHomeDir
+        could be connected by this user, the method will return true and getHomeDir
         will return \\server\username.
         @param strName [in] denotes the name of the user
         @param strPasswd [in] denotes the password of this user
@@ -100,7 +98,7 @@ public:
     */
     sal_Bool SAL_CALL getConfigDir(::rtl::OUString& strDirectory) const;
 
-    /** Query if the user who is logged inhas administrator rigths.
+    /** Query if the user who is logged in has administrator rights.
         @return True, if the user has administrator rights, otherwise false.
     */
     sal_Bool SAL_CALL isAdministrator() const;
diff --git a/main/xmloff/inc/xmloff/prstylei.hxx b/main/xmloff/inc/xmloff/prstylei.hxx
index 7424e1050b..a8fa72a5bc 100644
--- a/main/xmloff/inc/xmloff/prstylei.hxx
+++ b/main/xmloff/inc/xmloff/prstylei.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,19 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
 #ifndef _XMLOFF_PRSTYLEI_HXX_
 #define _XMLOFF_PRSTYLEI_HXX_
 
@@ -41,7 +40,7 @@ namespace com { namespace sun { namespace star {
 } } }
 
 //UUUU
-typedef std::hash_set< rtl::OUString, rtl::OUStringHash > OldFillStyleDefinitionSet; 
+typedef std::hash_set< rtl::OUString, rtl::OUStringHash > OldFillStyleDefinitionSet;
 
 class XMLOFF_DLLPUBLIC XMLPropStyleContext : public SvXMLStyleContext
 {
@@ -63,14 +62,14 @@ private:
 
 protected:
 
-    //UUUU Helper to check if the local maProperties contzains the given
+    //UUUU Helper to check if the local maProperties contains the given
     // FillStyle tag and if the FillStyle there is different from FillStyle_NONE
     bool doNewDrawingLayerFillStyleDefinitionsExist(
         const ::rtl::OUString& rFillStyleTag) const;
 
     //UUUU Helper which will deactivate all old fill definitions (identified by
     // the given OldFillStyleDefinitionSet) in the local maProperties. Deactivation
-    // is done setting theindex to -1. It returns true when actually old fill
+    // is done setting the index to -1. It returns true when actually old fill
     // definitions existed and were deactivated
     bool deactivateOldFillStyleDefinitions(
         const OldFillStyleDefinitionSet& rHashSetOfTags);
@@ -93,7 +92,7 @@ protected:
 	SvXMLStylesContext *GetStyles() { return (SvXMLStylesContext *)&mxStyles; }
 	::std::vector< XMLPropertyState > & GetProperties() { return maProperties; }
 
-	// This methos my be overloaded to create a new style. Its called by
+	// This method may be overloaded to create a new style. It's called by
 	// CreateInsert to create a style if a style with the requested family and
 	// name couldn't be found. The st
 	virtual ::com::sun::star::uno::Reference <
@@ -107,7 +106,7 @@ public:
 			const ::rtl::OUString& rLName,
 			const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList,
 			SvXMLStylesContext& rStyles, sal_uInt16 nFamily = 0,
-		    sal_Bool bDefaultStyle=sal_False );
+			sal_Bool bDefaultStyle=sal_False );
 	virtual ~XMLPropStyleContext();
 
 	virtual SvXMLImportContext *CreateChildContext(
@@ -124,7 +123,7 @@ public:
 
 	const ::com::sun::star::uno::Reference <
 				::com::sun::star::style::XStyle >&
-	   		GetStyle() const { return mxStyle; }
+			GetStyle() const { return mxStyle; }
 	void SetStyle(
 			const ::com::sun::star::uno::Reference<
 				::com::sun::star::style::XStyle >& xStl) { mxStyle = xStl; }