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 8fbda7e272 Fix spelling (#246)
8fbda7e272 is described below

commit 8fbda7e2720fd088ed1c435ac17621d3fe434733
Author: John Bampton <jbamp...@users.noreply.github.com>
AuthorDate: Fri Jan 10 07:05:10 2025 +1000

    Fix spelling (#246)
    
    * Fix spelling
    
    * Update vbacommandbar.cxx
    
    ---------
    
    Co-authored-by: Matthias Seidel <msei...@apache.org>
---
 main/cli_ure/source/ure/uno/util/WeakComponentBase.cs                 | 2 +-
 main/connectivity/source/drivers/jdbc/JConnection.cxx                 | 2 +-
 main/filter/source/flash/swfexporter.cxx                              | 2 +-
 main/fpicker/source/win32/filepicker/filepickerstate.cxx              | 2 +-
 main/framework/source/helper/persistentwindowstate.cxx                | 2 +-
 main/framework/source/loadenv/loadenv.cxx                             | 2 +-
 main/offapi/com/sun/star/accessibility/AccessibleEventId.idl          | 2 +-
 main/offapi/com/sun/star/accessibility/XAccessibleTable.idl           | 4 ++--
 main/offapi/com/sun/star/drawing/AccessibleShape.idl                  | 2 +-
 .../star/report/pentaho/parser/office/DocumentContentReadHandler.java | 2 +-
 main/sc/source/core/data/column.cxx                                   | 2 +-
 main/sc/source/ui/docshell/externalrefmgr.cxx                         | 2 +-
 main/scripting/source/provider/BrowseNodeFactoryImpl.cxx              | 2 +-
 main/sd/source/ui/view/ToolBarManager.cxx                             | 2 +-
 main/svl/source/fsstor/fsfactory.cxx                                  | 2 +-
 main/svtools/source/contnr/svimpbox.cxx                               | 2 +-
 main/svtools/source/control/valueacc.cxx                              | 2 +-
 main/svtools/source/control/valueset.cxx                              | 2 +-
 main/svx/source/dialog/fontwork.cxx                                   | 2 +-
 main/svx/source/sdr/contact/viewcontactofsdrole2obj.cxx               | 4 ++--
 main/sw/source/core/text/txthyph.cxx                                  | 2 +-
 main/sw/source/ui/vba/vbaheaderfooterhelper.cxx                       | 2 +-
 main/toolkit/inc/toolkit/helper/emptyfontdescriptor.hxx               | 2 +-
 main/unotools/source/i18n/textsearch.cxx                              | 4 ++--
 main/vbahelper/source/vbahelper/vbacommandbar.cxx                     | 2 +-
 main/vcl/aqua/source/dtrans/HtmlFmtFlt.cxx                            | 2 +-
 main/vcl/inc/os2/salframe.h                                           | 4 ++--
 main/vcl/os2/source/gdi/salgdi2.cxx                                   | 2 +-
 main/vcl/os2/source/gdi/salvd.cxx                                     | 2 +-
 main/vcl/unx/generic/app/saldisp.cxx                                  | 2 +-
 main/vcl/unx/generic/fontmanager/parseAFM.cxx                         | 2 +-
 main/vcl/unx/generic/gdi/salgdi.cxx                                   | 2 +-
 main/xmloff/inc/xmloff/xmlerror.hxx                                   | 2 +-
 main/xmloff/source/draw/shapeexport2.cxx                              | 2 +-
 main/xmloff/source/draw/ximpshap.cxx                                  | 2 +-
 35 files changed, 39 insertions(+), 39 deletions(-)

diff --git a/main/cli_ure/source/ure/uno/util/WeakComponentBase.cs 
b/main/cli_ure/source/ure/uno/util/WeakComponentBase.cs
index 62366ef303..79528429c6 100644
--- a/main/cli_ure/source/ure/uno/util/WeakComponentBase.cs
+++ b/main/cli_ure/source/ure/uno/util/WeakComponentBase.cs
@@ -42,7 +42,7 @@ public class WeakComponentBase : WeakBase, XComponent
     private bool m_inDispose = false;
     private bool m_disposed = false;
 
-    /** Indicates whether object is alrady disposed.
+    /** Indicates whether object is already disposed.
         
         @return
                 true, if object has been disposed
diff --git a/main/connectivity/source/drivers/jdbc/JConnection.cxx 
b/main/connectivity/source/drivers/jdbc/JConnection.cxx
index 4ae2cb94d2..f543659735 100644
--- a/main/connectivity/source/drivers/jdbc/JConnection.cxx
+++ b/main/connectivity/source/drivers/jdbc/JConnection.cxx
@@ -669,7 +669,7 @@ void java_sql_Connection::loadDriverFromProperties( const 
::rtl::OUString& _sDri
     // set to <TRUE/> when we should allow to query for generated values
        sal_Bool                        bAutoRetrievingEnabled = sal_False;
 
-    // first try if the jdbc driver is alraedy registered at the driver manager
+    // first try if the jdbc driver is already registered at the driver manager
     SDBThreadAttach t;
        try
        {
diff --git a/main/filter/source/flash/swfexporter.cxx 
b/main/filter/source/flash/swfexporter.cxx
index b48bd8ef73..c85aeb9870 100644
--- a/main/filter/source/flash/swfexporter.cxx
+++ b/main/filter/source/flash/swfexporter.cxx
@@ -211,7 +211,7 @@ sal_Bool FlashExporter::exportAll( Reference< XComponent > 
xDoc, Reference< XOut
                if ( xStatusIndicator.is() )
                        xStatusIndicator->setValue( nPage );
 
-        // #56084# get current xDrawPage when not exporting selection; else 
alraedy set above
+        // #56084# get current xDrawPage when not exporting selection; else 
already set above
         if(!mbExportSelection)
         {
             xDrawPages->getByIndex(nPage) >>= xDrawPage;
diff --git a/main/fpicker/source/win32/filepicker/filepickerstate.cxx 
b/main/fpicker/source/win32/filepicker/filepickerstate.cxx
index 7563d4448e..259c93a4f7 100644
--- a/main/fpicker/source/win32/filepicker/filepickerstate.cxx
+++ b/main/fpicker/source/win32/filepicker/filepickerstate.cxx
@@ -125,7 +125,7 @@ Any SAL_CALL CNonExecuteFilePickerState::getValue( 
sal_Int16 aControlId, sal_Int
                        // with locked SOLAR_MUTEX but we also need SOLAR_MUTEX 
in 
                        // WinFileOpenDialog::onInitDone ... but we cannot 
dismiss the
                        // assertion dialog because at this point the FileOpen 
Dialog 
-                       // has aleady the focus but is not yet visible :-(
+                       // has already the focus but is not yet visible :-(
                        // The real cure is to remove the VCL/SOLAR_MUTEX 
dependency
                        // cause by the use of our resource manager and not 
being able to
                        // generate native windows resources
diff --git a/main/framework/source/helper/persistentwindowstate.cxx 
b/main/framework/source/helper/persistentwindowstate.cxx
index 10340dbf6b..8e9866fead 100644
--- a/main/framework/source/helper/persistentwindowstate.cxx
+++ b/main/framework/source/helper/persistentwindowstate.cxx
@@ -173,7 +173,7 @@ void SAL_CALL PersistentWindowState::frameAction(const 
css::frame::FrameActionEv
         case css::frame::FrameAction_COMPONENT_REATTACHED :
             {
                 // nothing todo here, because its not allowed to change 
position and size
-                // of an alredy existing frame!
+                // of an already existing frame!
             }
             break;
             
diff --git a/main/framework/source/loadenv/loadenv.cxx 
b/main/framework/source/loadenv/loadenv.cxx
index 86bb6fa81d..5c0ba382a0 100644
--- a/main/framework/source/loadenv/loadenv.cxx
+++ b/main/framework/source/loadenv/loadenv.cxx
@@ -1360,7 +1360,7 @@ css::uno::Reference< css::frame::XFrame > 
LoadEnv::impl_searchAlreadyLoaded()
     if (!xTaskList.is())
         return css::uno::Reference< css::frame::XFrame >(); // task list can 
be empty!
 
-    // Note: To detect if a document was alrady loaded before
+    // Note: To detect if a document was already loaded before
     // we check URLs here only. But might the existing and the required
     // document has different versions! Then its URLs are the same ...
     sal_Int16 nNewVersion = 
m_lMediaDescriptor.getUnpackedValueOrDefault(::comphelper::MediaDescriptor::PROP_VERSION(),
 (sal_Int16)(-1));
diff --git a/main/offapi/com/sun/star/accessibility/AccessibleEventId.idl 
b/main/offapi/com/sun/star/accessibility/AccessibleEventId.idl
index 5985e1cd6c..1ea4aee4b4 100644
--- a/main/offapi/com/sun/star/accessibility/AccessibleEventId.idl
+++ b/main/offapi/com/sun/star/accessibility/AccessibleEventId.idl
@@ -283,7 +283,7 @@ published constants AccessibleEventId
         fields remain empty.  In this case the whole text may have changed
         and the listener should refetch the text completely.</li> </ol>
 
-        <p>When broadcasting an event allways prefer the first three cases
+        <p>When broadcasting an event always prefer the first three cases
         to the last one.  Use it only as a last resort.</p>
 
         <p> Text ranges should be as small as possible but, of course,
diff --git a/main/offapi/com/sun/star/accessibility/XAccessibleTable.idl 
b/main/offapi/com/sun/star/accessibility/XAccessibleTable.idl
index 3cc7c90138..d56e12337b 100644
--- a/main/offapi/com/sun/star/accessibility/XAccessibleTable.idl
+++ b/main/offapi/com/sun/star/accessibility/XAccessibleTable.idl
@@ -178,7 +178,7 @@ published interface XAccessibleTable : 
::com::sun::star::uno::XInterface
         dependent.</p>
             
         @return
-            Returns allways a valid reference to an
+            Returns always a valid reference to an
             <type>XAccessibleTable</type> object.
     */
     XAccessibleTable getAccessibleRowHeaders ();
@@ -190,7 +190,7 @@ published interface XAccessibleTable : 
::com::sun::star::uno::XInterface
         dependent.</p>
         
         @return
-            Returns allways a valid reference to an
+            Returns always a valid reference to an
             <type>XAccessibleTable</type> object.
     */
     XAccessibleTable getAccessibleColumnHeaders ();
diff --git a/main/offapi/com/sun/star/drawing/AccessibleShape.idl 
b/main/offapi/com/sun/star/drawing/AccessibleShape.idl
index 723611014a..beb82ba203 100644
--- a/main/offapi/com/sun/star/drawing/AccessibleShape.idl
+++ b/main/offapi/com/sun/star/drawing/AccessibleShape.idl
@@ -118,7 +118,7 @@ published service AccessibleShape
                 exceptions.</p>
                 <p>If this state is set then no other of the states below is
                 set.  This  is also true for the states that are otherwise
-                allways set (which  makes 'allways' more of a sort of
+                always set (which  makes 'always' more of a sort of
                 'normally').</p></li> 
             <li><const scope="com::sun::star::accessibility"
                 >AccessibleStateType::EDITABLE</const></li> is always set.
diff --git 
a/main/reportbuilder/java/com/sun/star/report/pentaho/parser/office/DocumentContentReadHandler.java
 
b/main/reportbuilder/java/com/sun/star/report/pentaho/parser/office/DocumentContentReadHandler.java
index 9db641ae4a..6fda22d150 100644
--- 
a/main/reportbuilder/java/com/sun/star/report/pentaho/parser/office/DocumentContentReadHandler.java
+++ 
b/main/reportbuilder/java/com/sun/star/report/pentaho/parser/office/DocumentContentReadHandler.java
@@ -48,7 +48,7 @@ import org.xml.sax.SAXException;
  * 'office:document-context' element is encountered, if the document is split
  * into separate files.
  * <p/>
- * Alternativly, there is the option to keep everything in one file. The root
+ * Alternatively, there is the option to keep everything in one file. The root
  * element for that format is 'office:document'.
  */
 public class DocumentContentReadHandler extends AbstractXmlReadHandler
diff --git a/main/sc/source/core/data/column.cxx 
b/main/sc/source/core/data/column.cxx
index 8a1038c1ea..4ce03a450e 100644
--- a/main/sc/source/core/data/column.cxx
+++ b/main/sc/source/core/data/column.cxx
@@ -1983,7 +1983,7 @@ void ScColumn::SetDirtyAfterLoad()
  * this method here then.
 */
 
-        // If the cell was alsready dirty because of CalcAfterLoad,
+        // If the cell was already dirty because of CalcAfterLoad,
         // FormulaTracking has to take place.
         if ( p->GetCellType() == CELLTYPE_FORMULA && p->GetDirty() )
             p->SetDirty();
diff --git a/main/sc/source/ui/docshell/externalrefmgr.cxx 
b/main/sc/source/ui/docshell/externalrefmgr.cxx
index 507f1daeef..6448d82b9e 100644
--- a/main/sc/source/ui/docshell/externalrefmgr.cxx
+++ b/main/sc/source/ui/docshell/externalrefmgr.cxx
@@ -2081,7 +2081,7 @@ bool ScExternalRefManager::isFileLoadable(const String& 
rFile) const
 void ScExternalRefManager::maybeLinkExternalFile(sal_uInt16 nFileId)
 {
     if (maLinkedDocs.count(nFileId))
-        // file alerady linked, or the link has been broken.
+        // file already linked, or the link has been broken.
         return;
 
     // Source document not linked yet.  Link it now.
diff --git a/main/scripting/source/provider/BrowseNodeFactoryImpl.cxx 
b/main/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index 89b0009cfd..8ba8f5005b 100644
--- a/main/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/main/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -293,7 +293,7 @@ private:
                 }
             }
         }
-        // sort children alpahbetically
+        // sort children alphabetically
         ::std::sort( m_vStr.begin(), m_vStr.end(), alphaSort() );
     }
 };
diff --git a/main/sd/source/ui/view/ToolBarManager.cxx 
b/main/sd/source/ui/view/ToolBarManager.cxx
index 17d7623917..3d55a54f80 100644
--- a/main/sd/source/ui/view/ToolBarManager.cxx
+++ b/main/sd/source/ui/view/ToolBarManager.cxx
@@ -143,7 +143,7 @@ public:
     */
     void ClearGroup (sd::ToolBarManager::ToolBarGroup eGroup);
 
-    /** Add a shell.  When the specified shell has alreadt been requested
+    /** Add a shell.  When the specified shell has already been requested
         for another group then it is moved to this group.
         @param eGroup
             The group to which to add the shell.
diff --git a/main/svl/source/fsstor/fsfactory.cxx 
b/main/svl/source/fsstor/fsfactory.cxx
index a9a052ff5b..561ef4c3a1 100644
--- a/main/svl/source/fsstor/fsfactory.cxx
+++ b/main/svl/source/fsstor/fsfactory.cxx
@@ -119,7 +119,7 @@ uno::Reference< uno::XInterface > SAL_CALL 
FSStorageFactory::createInstanceWithA
                        OSL_ENSURE( sal_False, "Wrong second argument!\n" );
                        throw uno::Exception(); // TODO: Illegal argument
                }
-               // it's allways possible to read written storage in this 
implementation
+               // it's always possible to read written storage in this 
implementation
                nStorageMode |= embed::ElementModes::READ;
        }
 
diff --git a/main/svtools/source/contnr/svimpbox.cxx 
b/main/svtools/source/contnr/svimpbox.cxx
index d14d33c8f4..0bc92221ee 100644
--- a/main/svtools/source/contnr/svimpbox.cxx
+++ b/main/svtools/source/contnr/svimpbox.cxx
@@ -3183,7 +3183,7 @@ void SvImpLBox::Command( const CommandEvent& rCEvt )
                        sal_Int32       nSelectionCount = 
pView->GetSelectionCount();
 
                        if( nSelectionCount )
-                       {       // now allways take first visible as base for 
positioning the menu
+                       {       // now always take first visible as base for 
positioning the menu
                                SvLBoxEntry*    pSelected = 
pView->FirstSelected();
                                while( pSelected )
                                {
diff --git a/main/svtools/source/control/valueacc.cxx 
b/main/svtools/source/control/valueacc.cxx
index f39554a1d2..44d4df1555 100644
--- a/main/svtools/source/control/valueacc.cxx
+++ b/main/svtools/source/control/valueacc.cxx
@@ -781,7 +781,7 @@ ValueSetItem* ValueSetAcc::getItem (sal_uInt16 nIndex) const
     if (HasNoneField())
     {
         if (nIndex == 0)
-            // When present the first item is the then allways visible none 
field.
+            // When present the first item is the then always visible none 
field.
             pItem = mpParent->ImplGetItem (VALUESET_ITEM_NONEITEM);
         else
             // Shift down the index to compensate for the none field.
diff --git a/main/svtools/source/control/valueset.cxx 
b/main/svtools/source/control/valueset.cxx
index c7db0e321b..8d2c6c1ab2 100644
--- a/main/svtools/source/control/valueset.cxx
+++ b/main/svtools/source/control/valueset.cxx
@@ -2816,7 +2816,7 @@ void ValueSet::SetFocusedItem(sal_Bool bFocused)
                                && nPos == VALUESET_ITEM_NOTFOUND 
                                && mnSelItemId == 0)
                        {
-                               // When present the first item is the then 
allways visible none field.
+                               // When present the first item is the then 
always visible none field.
                                pItem = ImplGetItem (VALUESET_ITEM_NONEITEM);
                        }
                        else
diff --git a/main/svx/source/dialog/fontwork.cxx 
b/main/svx/source/dialog/fontwork.cxx
index 4a2dad80ca..e286d8a7fd 100644
--- a/main/svx/source/dialog/fontwork.cxx
+++ b/main/svx/source/dialog/fontwork.cxx
@@ -387,7 +387,7 @@ void SvxFontWorkDialog::SetStyle_Impl(const 
XFormTextStyleItem* pItem)
                }
                aTbxStyle.Enable();
 
-        // Make sure that there is allways 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);
diff --git a/main/svx/source/sdr/contact/viewcontactofsdrole2obj.cxx 
b/main/svx/source/sdr/contact/viewcontactofsdrole2obj.cxx
index c97a79c00d..5ede22ac3e 100644
--- a/main/svx/source/sdr/contact/viewcontactofsdrole2obj.cxx
+++ b/main/svx/source/sdr/contact/viewcontactofsdrole2obj.cxx
@@ -106,8 +106,8 @@ namespace sdr
             if(GetOle2Obj().IsChart())
             {
                 // #123539# allow buffering and reuse of local chart data to 
not need to rebuild it
-                // on every ViewObjectContact::getPrimitive2DSequence call. 
TTTT: No tneeded for
-                // aw080, there this mechanism alraedy works differently
+                // on every ViewObjectContact::getPrimitive2DSequence call. 
TTTT: Not needed for
+                // aw080, there this mechanism already works differently
                 if(mxChartContent.is())
                 {
                     xContent = mxChartContent;
diff --git a/main/sw/source/core/text/txthyph.cxx 
b/main/sw/source/core/text/txthyph.cxx
index 777f9c8e8b..e706b7b326 100644
--- a/main/sw/source/core/text/txthyph.cxx
+++ b/main/sw/source/core/text/txthyph.cxx
@@ -335,7 +335,7 @@ sal_Bool SwTxtPortion::CreateHyphen( SwTxtFormatInfo &rInf, 
SwTxtGuess &rGuess )
     {
                SvxAlternativeSpelling aAltSpell;
                aAltSpell = SvxGetAltSpelling( xHyphWord );
-               ASSERT( aAltSpell.bIsAltSpelling, "no alternatve spelling" );
+               ASSERT( aAltSpell.bIsAltSpelling, "no alternative spelling" );
 
                XubString  aAltTxt   = aAltSpell.aReplacement;
         nPorEnd = aAltSpell.nChangedPos + rGuess.BreakStart() - 
rGuess.FieldDiff();
diff --git a/main/sw/source/ui/vba/vbaheaderfooterhelper.cxx 
b/main/sw/source/ui/vba/vbaheaderfooterhelper.cxx
index 3e5ca458bd..698490c354 100644
--- a/main/sw/source/ui/vba/vbaheaderfooterhelper.cxx
+++ b/main/sw/source/ui/vba/vbaheaderfooterhelper.cxx
@@ -71,7 +71,7 @@ sal_Bool HeaderFooterHelper::isFirstPageHeader( const 
uno::Reference< frame::XMo
     if( isHeader( xModel, xCurrentText ) )
     {
         uno::Reference< text::XPageCursor > xPageCursor( 
word::getXTextViewCursor( xModel ), uno::UNO_QUERY_THROW );
-        // FIXME: getPage allways returns 1
+        // FIXME: getPage always returns 1
         sal_Int32 nPage = xPageCursor->getPage();
         return nPage == FIRST_PAGE;
     }
diff --git a/main/toolkit/inc/toolkit/helper/emptyfontdescriptor.hxx 
b/main/toolkit/inc/toolkit/helper/emptyfontdescriptor.hxx
index ed3bed9b97..298b6681e5 100644
--- a/main/toolkit/inc/toolkit/helper/emptyfontdescriptor.hxx
+++ b/main/toolkit/inc/toolkit/helper/emptyfontdescriptor.hxx
@@ -38,7 +38,7 @@ public:
        EmptyFontDescriptor()
        {
                // Not all enums are initialized correctly in 
FontDescriptor-CTOR because 
-               // they are set to the first enum value, this is not allways 
the default value.
+               // they are set to the first enum value, this is not always the 
default value.
                Slant = ::com::sun::star::awt::FontSlant_DONTKNOW;
                Underline = ::com::sun::star::awt::FontUnderline::DONTKNOW;
                Strikeout = ::com::sun::star::awt::FontStrikeout::DONTKNOW;
diff --git a/main/unotools/source/i18n/textsearch.cxx 
b/main/unotools/source/i18n/textsearch.cxx
index 8ea589116d..8c44bc2e6c 100644
--- a/main/unotools/source/i18n/textsearch.cxx
+++ b/main/unotools/source/i18n/textsearch.cxx
@@ -243,7 +243,7 @@ int TextSearch::SearchFrwrd( const String & rStr, 
xub_StrLen* pStart,
                        {
                                nRet = 1;
                                // the XTextsearch returns in startOffset the 
higher position
-                               // and the endposition is allways exclusive.
+                               // and the endposition is always exclusive.
                                // The caller of this function will have in 
startPos the
                                // lower pos. and end
                                *pStart = (xub_StrLen)aRet.startOffset[ 0 ];
@@ -274,7 +274,7 @@ int TextSearch::SearchBkwrd( const String & rStr, 
xub_StrLen* pStart,
                        {
                                nRet = 1;
                                // the XTextsearch returns in startOffset the 
higher position
-                               // and the endposition is allways exclusive.
+                               // and the endposition is always exclusive.
                                // The caller of this function will have in 
startPos the
                                // lower pos. and end
                                *pEnde = (xub_StrLen)aRet.startOffset[ 0 ];
diff --git a/main/vbahelper/source/vbahelper/vbacommandbar.cxx 
b/main/vbahelper/source/vbahelper/vbacommandbar.cxx
index 940d8de72b..ac615e32d7 100644
--- a/main/vbahelper/source/vbahelper/vbacommandbar.cxx
+++ b/main/vbahelper/source/vbahelper/vbacommandbar.cxx
@@ -80,7 +80,7 @@ ScVbaCommandBar::setName( const ::rtl::OUString& _name ) 
throw (uno::RuntimeExce
 ::sal_Bool SAL_CALL 
 ScVbaCommandBar::getVisible() throw (uno::RuntimeException)
 {
-    // menu bar is allways visible in OOo 
+    // menu bar is always visible in AOO
     if( m_bIsMenu )
         return sal_True;
 
diff --git a/main/vcl/aqua/source/dtrans/HtmlFmtFlt.cxx 
b/main/vcl/aqua/source/dtrans/HtmlFmtFlt.cxx
index e07fa56f55..46fbd5511a 100644
--- a/main/vcl/aqua/source/dtrans/HtmlFmtFlt.cxx
+++ b/main/vcl/aqua/source/dtrans/HtmlFmtFlt.cxx
@@ -73,7 +73,7 @@ std::string GetHtmlFormatHeader(size_t startHtml, size_t 
endHtml, size_t startFr
 } // namespace private
 
 
-// the office allways writes the start and end html tag in upper cases and
+// the office always writes the start and end html tag in upper cases and
 // without spaces both tags don't allow parameters
 const std::string TAG_HTML = std::string("<HTML>");
 const std::string TAG_END_HTML = std::string("</HTML>");
diff --git a/main/vcl/inc/os2/salframe.h b/main/vcl/inc/os2/salframe.h
index 552805508c..0eef6bc2d8 100644
--- a/main/vcl/inc/os2/salframe.h
+++ b/main/vcl/inc/os2/salframe.h
@@ -64,9 +64,9 @@ public:
        ULONG                                   mnStyle;                        
        // SalFrameStyle
        long                                    mnWidth;                        
        // Window-Witdth
        long                                    mnHeight;                       
        // Window-Height
-       SWP                                     maFullScreenRect;               
// WindowRect befor FullScreenMode
+       SWP                                     maFullScreenRect;               
// WindowRect before FullScreenMode
        sal_Bool                                        mbGraphics;             
        // is Graphics used
-       sal_Bool                                        mbAllwayOnTop;          
        // Allways on top modus
+       sal_Bool                                        mbAllwayOnTop;          
        // Always on top modus
        sal_Bool                                        mbVisible;              
                // Visible Show/Hide-Status
        sal_Bool                                        mbMinHide;              
                // hide called from OS2
        sal_Bool                                        mbHandleIME;            
        // TRUE: Wir handeln die IME-Messages
diff --git a/main/vcl/os2/source/gdi/salgdi2.cxx 
b/main/vcl/os2/source/gdi/salgdi2.cxx
index 4ae4307ca1..adc991358b 100644
--- a/main/vcl/os2/source/gdi/salgdi2.cxx
+++ b/main/vcl/os2/source/gdi/salgdi2.cxx
@@ -610,7 +610,7 @@ SalBitmap* Os2SalGraphics::getBitmap( long nX, long nY, 
long nDX, long nDY )
        SIZEL            size = { nDX, nDY };
        Os2SalBitmap*     pSalBitmap = NULL;
 
-       // create device context (at this time allways display compatible)
+       // create device context (at this time always display compatible)
        DEVOPENSTRUC    aDevOpenStruc = { NULL, (PSZ)"DISPLAY", NULL, NULL, 
NULL, NULL, NULL, NULL, NULL };
        HDC                     hMemDC = DevOpenDC( hAB, OD_MEMORY, (PSZ)"*", 
5L, (PDEVOPENDATA)&aDevOpenStruc, 0 );
        HPS                     hMemPS = Ft2CreatePS( hAB, hMemDC, &size, 
GPIT_MICRO | GPIA_ASSOC | PU_PELS );
diff --git a/main/vcl/os2/source/gdi/salvd.cxx 
b/main/vcl/os2/source/gdi/salvd.cxx
index 4060f43031..e5159515b4 100644
--- a/main/vcl/os2/source/gdi/salvd.cxx
+++ b/main/vcl/os2/source/gdi/salvd.cxx
@@ -86,7 +86,7 @@ SalVirtualDevice* Os2SalInstance::CreateVirtualDevice( 
SalGraphics* pSGraphics,
        HAB     hAB = GetSalData()->mhAB;
        SIZEL   size;
 
-       // create device context (at this time allways display compatible)
+       // create device context (at this time always display compatible)
        DEVOPENSTRUC aDevOpenStruc = { NULL, "DISPLAY", NULL, NULL, NULL, NULL, 
NULL, NULL, NULL };
        HDC hDC = DevOpenDC( hAB, OD_MEMORY, (PSZ)"*", 5, 
(PDEVOPENDATA)&aDevOpenStruc, 0 );
        if ( !hDC )
diff --git a/main/vcl/unx/generic/app/saldisp.cxx 
b/main/vcl/unx/generic/app/saldisp.cxx
index 16006154f9..d5fcae88da 100644
--- a/main/vcl/unx/generic/app/saldisp.cxx
+++ b/main/vcl/unx/generic/app/saldisp.cxx
@@ -367,7 +367,7 @@ sal_GetServerVendor( Display *p_display )
                { vendor_sgi,         "Silicon Graphics",                 9 },
                { vendor_sco,         "The Santa Cruz Operation",               
 16 },
                { vendor_xinside,     "X Inside Inc.",                          
         10     },
-               // allways the last entry: vendor_none to indicate eol
+               // always the last entry: vendor_none to indicate eol
                { vendor_none,            NULL,                                 
                          0 },
        };
 
diff --git a/main/vcl/unx/generic/fontmanager/parseAFM.cxx 
b/main/vcl/unx/generic/fontmanager/parseAFM.cxx
index 06dff95042..d1bc0c2462 100644
--- a/main/vcl/unx/generic/fontmanager/parseAFM.cxx
+++ b/main/vcl/unx/generic/fontmanager/parseAFM.cxx
@@ -751,7 +751,7 @@ static int parseCharWidths( FileInputStream* fp, int* cwi)
 
 
 /*
- * number of char metrics is almost allways inaccurate, so be gentle and try to
+ * number of char metrics is almost always inaccurate, so be gentle and try to
  * adapt our internal storage by adjusting the allocated list
  */ 
 
diff --git a/main/vcl/unx/generic/gdi/salgdi.cxx 
b/main/vcl/unx/generic/gdi/salgdi.cxx
index f77c530b08..7493e6c8a9 100644
--- a/main/vcl/unx/generic/gdi/salgdi.cxx
+++ b/main/vcl/unx/generic/gdi/salgdi.cxx
@@ -336,7 +336,7 @@ GC X11SalGraphics::SelectBrush()
                }
                else
                {
-            // Bug in Sun Solaris 2.5.1, XFillPolygon doesn't allways reflect
+            // Bug in Sun Solaris 2.5.1, XFillPolygon doesn't always reflect
             // changes of the tile. PROPERTY_BUG_Tile doesn't fix this !
             if (GetDisplay()->GetProperties() & PROPERTY_BUG_FillPolygon_Tile)
                 XSetFillStyle ( pDisplay, pBrushGC_, FillSolid );
diff --git a/main/xmloff/inc/xmloff/xmlerror.hxx 
b/main/xmloff/inc/xmloff/xmlerror.hxx
index 5724998f1f..bb12e09144 100644
--- a/main/xmloff/inc/xmloff/xmlerror.hxx
+++ b/main/xmloff/inc/xmloff/xmlerror.hxx
@@ -51,7 +51,7 @@
 
 // error numbers, listed by error class
 // Within each class, errors should be numbered consecutively. Please
-// allways add to error code below the appropriate comment.
+// always add to error code below the appropriate comment.
 
 // I/O errors:
 
diff --git a/main/xmloff/source/draw/shapeexport2.cxx 
b/main/xmloff/source/draw/shapeexport2.cxx
index 450f23a130..3141dadd9d 100644
--- a/main/xmloff/source/draw/shapeexport2.cxx
+++ b/main/xmloff/source/draw/shapeexport2.cxx
@@ -136,7 +136,7 @@ void 
XMLShapeExport::ImpExportNewTrans_DecomposeAndRefPoint(const ::basegfx::B2D
 void XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite(::basegfx::B2DTuple& 
rTRScale, double fTRShear,
        double fTRRotate, ::basegfx::B2DTuple& rTRTranslate, const sal_Int32 
nFeatures)
 {
-       // allways write Size (rTRScale) since this statement carries the union
+       // always write Size (rTRScale) since this statement carries the union
        // of the object
        OUString aStr;
        OUStringBuffer sStringBuffer;
diff --git a/main/xmloff/source/draw/ximpshap.cxx 
b/main/xmloff/source/draw/ximpshap.cxx
index 06eeceadd0..b0638375bc 100644
--- a/main/xmloff/source/draw/ximpshap.cxx
+++ b/main/xmloff/source/draw/ximpshap.cxx
@@ -3836,7 +3836,7 @@ void SdXMLCustomShapeContext::StartElement( const 
uno::Reference< xml::sax::XAtt
 
 void SdXMLCustomShapeContext::EndElement()
 {
-    // for backward compatibility, the above SetTransformation() may alraedy 
have
+    // for backward compatibility, the above SetTransformation() may already 
have
     // applied a call to SetMirroredX/SetMirroredY. This is not yet added to 
the
     // beans::PropertyValues in maCustomShapeGeometry. When applying these 
now, this 
     // would be lost again.

Reply via email to