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 2022/09/03 19:25:55 UTC

[openoffice] branch AOO42X updated: Fixed typo )plattform -> platform

This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 6d67802399 Fixed typo )plattform -> platform
6d67802399 is described below

commit 6d67802399db03f9496ba3101d9ba9b0987abbd2
Author: mseidel <ms...@apache.org>
AuthorDate: Sat Sep 3 21:23:11 2022 +0200

    Fixed typo )plattform -> platform
    
    (cherry picked from commit a6c7a775a767567c8abf6c894f7dc9c1b40df701)
---
 .../plugins/sunmajor/pluginlib/vendorbase.hxx      |  2 +-
 main/l10ntools/scripts/localize.pl                 | 48 +++++++++++-----------
 main/l10ntools/scripts/localize_old.pl             | 46 ++++++++++-----------
 main/sal/osl/os2/system.h                          |  2 +-
 main/sal/osl/w32/dllentry.c                        |  2 +-
 .../inc/salhelper/simplereferenceobject.hxx        |  2 +-
 main/sd/inc/helper/simplereferencecomponent.hxx    |  2 +-
 main/solenv/inc/libs.mk                            |  2 +-
 8 files changed, 53 insertions(+), 53 deletions(-)

diff --git a/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.hxx b/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.hxx
index 09b12d6eb4..ca1af5f3be 100644
--- a/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.hxx
+++ b/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.hxx
@@ -68,7 +68,7 @@ namespace jfw_plugin
 #elif defined AXP
 #define JFW_PLUGIN_ARCH "alpha"
 #else // SPARC, INTEL, POWERPC, MIPS, ARM, IA64, M68K, HPPA, ALPHA
-#error unknown plattform
+#error unknown platform
 #endif // SPARC, INTEL, POWERPC, MIPS, ARM, IA64, M68K, HPPA, ALPHA
 
 
diff --git a/main/l10ntools/scripts/localize.pl b/main/l10ntools/scripts/localize.pl
index fd30eccac4..879b1e0b48 100755
--- a/main/l10ntools/scripts/localize.pl
+++ b/main/l10ntools/scripts/localize.pl
@@ -149,18 +149,18 @@ sub splitfile{
             my $gid            = defined $7 ? $7 : '';
             my $lid            = defined $8 ? $8 : '';
             my $lang           = defined $12 ? $12 : '';
-            my $plattform      = defined $10 ? $10 : '';
+            my $platform       = defined $10 ? $10 : '';
             my $helpid         = defined $9 ? $9 : ''; 
             next if( $prj eq "binfilter" );     # Don't merge strings into binfilter module
 	        chomp( $line );
            
             if( $force_ooo_module )
             {
-                $string_hash_ooo { $lang }{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$plattform\t$lang" } = $line; 
+                $string_hash_ooo { $lang }{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$platform\t$lang" } = $line; 
             }
             else
             {
-                $string_hash_so{ $lang }{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$plattform\t$lang" } = $line; 
+                $string_hash_so{ $lang }{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$platform\t$lang" } = $line; 
             }
         }
     }
@@ -213,15 +213,15 @@ sub write_sdf
                     my $gid            = defined $7 ? $7 : '';
                     my $lid            = defined $8 ? $8 : '';
                     my $lang           = defined $12 ? $12 : '';
-                    my $plattform      = defined $10 ? $10 : ''; 
+                    my $platform       = defined $10 ? $10 : ''; 
                     my $helpid         = defined $9 ? $9 : '';
             
                     chomp( $line );    
-                    if ( defined $string_hash->{ $lang }{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$plattform\t$lang" } )
+                    if ( defined $string_hash->{ $lang }{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$platform\t$lang" } )
                     {
                         # Changed String!
-                        push @sdf_file , $string_hash->{ $lang }{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$plattform\t$lang" } ;
-                        $string_hash->{ $lang }{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$plattform\t$lang" } = undef;
+                        push @sdf_file , $string_hash->{ $lang }{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$platform\t$lang" } ;
+                        $string_hash->{ $lang }{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$platform\t$lang" } = undef;
                     }
                     else
                     {
@@ -452,7 +452,7 @@ sub collectfiles{
                             my $gid            = defined $7 ? $7 : '';
                             my $lid            = defined $8 ? $8 : '';
                             my $lang           = defined $12 ? $12 : '';
-                            my $plattform      = defined $10 ? $10 : ''; 
+                            my $platform       = defined $10 ? $10 : ''; 
                             my $helpid         = defined $9 ? $9 : '';
                             
                             chomp( $line );
@@ -460,7 +460,7 @@ sub collectfiles{
                             if ( $lang eq $cur_lang ){
                                 # Overwrite fallback strings with collected strings
                                 #if( ( !has_two_sourcelanguages( $cur_lang) && $cur_lang eq "de" ) || $cur_lang ne "en-US" ){
-                                     $fallbackhashhash_ref->{ $cur_lang }{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } =  $line ;
+                                     $fallbackhashhash_ref->{ $cur_lang }{ $prj.$gid.$lid.$file.$type.$platform.$helpid } =  $line ;
                                      #}
 
                             }
@@ -513,7 +513,7 @@ sub collectfiles{
                     my $gid            = defined $7 ? $7 : '';
                     my $lid            = defined $8 ? $8 : '';
                     #my $lang           = defined $12 ? $12 : '';
-                    my $plattform      = defined $10 ? $10 : ''; 
+                    my $platform       = defined $10 ? $10 : ''; 
                     my $helpid         = defined $9 ? $9 : '';
  
                     
@@ -531,16 +531,16 @@ sub collectfiles{
                     else {
                         foreach my $sLang ( keys( %{ $langhash_ref } ) ){
                             if( $sLang=~ /all/i )                       {  
-                                push @{ $output{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } } ,  $leftpart."\t".$lang."\t".$rightpart.$extract_date ;
+                                push @{ $output{ $prj.$gid.$lid.$file.$type.$platform.$helpid } } ,  $leftpart."\t".$lang."\t".$rightpart.$extract_date ;
                                 #print DESTFILE $leftpart."\t".$lang."\t".$rightpart.$extract_date;  
                             }
                             #if( $sLang eq "de" && $lang eq "de" )       {  
-                            #    push @{ $output{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } } ,  $leftpart."\t".$lang."\t".$rightpart.$extract_date ;
+                            #    push @{ $output{ $prj.$gid.$lid.$file.$type.$platform.$helpid } } ,  $leftpart."\t".$lang."\t".$rightpart.$extract_date ;
                                 #print DESTFILE $leftpart."\t".$lang."\t".$rightpart.$extract_date;  
                                 #}
                             if( $sLang eq "en-US" && $lang eq "en-US" ) {  
-                                push @order , $prj.$gid.$lid.$file.$type.$plattform.$helpid;
-                                if( !$bFakeEnglish ){ push @{ $output{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } } ,  $leftpart."\t".$lang."\t".$rightpart.$extract_date ; }
+                                push @order , $prj.$gid.$lid.$file.$type.$platform.$helpid;
+                                if( !$bFakeEnglish ){ push @{ $output{ $prj.$gid.$lid.$file.$type.$platform.$helpid } } ,  $leftpart."\t".$lang."\t".$rightpart.$extract_date ; }
                                 #print DESTFILE $leftpart."\t".$lang."\t".$rightpart.$extract_date;  
                             }
 
@@ -563,7 +563,7 @@ sub collectfiles{
                     my $gid            = defined $7 ? $7 : '';
                     my $lid            = defined $8 ? $8 : '';
                     #my $lang           = defined $12 ? $12 : '';
-                    my $plattform      = defined $10 ? $10 : ''; 
+                    my $platform       = defined $10 ? $10 : ''; 
                     my $helpid         = defined $9 ? $9 : '';
  
                     
@@ -577,7 +577,7 @@ sub collectfiles{
                     }
 
                     if( ! ( $prj =~ /binfilter/i ) ) { 
-                        push @{ $output{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } } , $leftpart."\t".$lang."\t".$rightpart.$extract_date ; 
+                        push @{ $output{ $prj.$gid.$lid.$file.$type.$platform.$helpid } } , $leftpart."\t".$lang."\t".$rightpart.$extract_date ; 
                         #print DESTFILE $leftpart."\t".$lang."\t".$rightpart.$extract_date ; 
                     }
                  }
@@ -626,10 +626,10 @@ sub remove_obsolete{
                 my $type           = defined $6 ? $6 : '';
                 my $gid            = defined $7 ? $7 : '';
                 my $lid            = defined $8 ? $8 : '';
-                my $plattform      = defined $10 ? $10 : ''; 
+                my $platform       = defined $10 ? $10 : ''; 
                 my $helpid         = defined $9 ? $9 : '';
                 
-                my $leftpart = $prj.$gid.$lid.$file.$type.$plattform.$helpid;
+                my $leftpart = $prj.$gid.$lid.$file.$type.$platform.$helpid;
                 
                 if( $language eq "en-US" ){                 # source string found, 1. entry
                     $enusleftpart = $leftpart;
@@ -839,12 +839,12 @@ sub read_file{
             my $type           = defined $6 ? $6 : '';
             my $gid            = defined $7 ? $7 : '';
             my $lid            = defined $8 ? $8 : '';
-            my $plattform      = defined $10 ? $10 : '';
+            my $platform       = defined $10 ? $10 : '';
             my $lang           = defined $12 ? $12 : '';
             my $helpid         = defined $9 ? $9 : '';
             
             foreach my $isolang ( keys ( %{ $langhash_ref } ) ){
-                if( $isolang=~ /$lang/i || $isolang=~ /all/i ) { $block{$prj.$gid.$lid.$file.$type.$plattform.$helpid } =  $line ; }
+                if( $isolang=~ /$lang/i || $isolang=~ /all/i ) { $block{$prj.$gid.$lid.$file.$type.$platform.$helpid } =  $line ; }
             }
         }
     }
@@ -869,14 +869,14 @@ sub read_fallbacks_from_particles{
                     my $gid            = defined $7 ? $7 : '';
                     my $lid            = defined $8 ? $8 : '';
                     my $lang           = defined $12 ? $12 : '';
-                    my $plattform      = defined $10 ? $10 : ''; 
+                    my $platform       = defined $10 ? $10 : ''; 
                     my $helpid         = defined $9 ? $9 : '';
                           
                     chomp( $line );
              
                     foreach my $isolang ( @{$isolanglist_ref}  ){
                         if( $isolang=~ /$lang/i ) { 
-                            $fallbackhashhash_ref->{ $isolang }{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } =  $line ; 
+                            $fallbackhashhash_ref->{ $isolang }{ $prj.$gid.$lid.$file.$type.$platform.$helpid } =  $line ; 
                         }
                     }
                 }
@@ -906,10 +906,10 @@ sub read_fallbacks_from_source{
             my $lid            = defined $8 ? $8 : '';
             my $helpid         = defined $9 ? $9 : '';
             my $lang           = defined $12 ? $12 : '';
-            my $plattform      = defined $10 ? $10 : '';
+            my $platform       = defined $10 ? $10 : '';
             
             chomp( $line ); 
-            if( $isolang=~ /$lang/i ) { $fallbackhashhash_ref->{ $isolang }{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } =  $line ; 
+            if( $isolang=~ /$lang/i ) { $fallbackhashhash_ref->{ $isolang }{ $prj.$gid.$lid.$file.$type.$platform.$helpid } =  $line ; 
             }
         }
     }
diff --git a/main/l10ntools/scripts/localize_old.pl b/main/l10ntools/scripts/localize_old.pl
index 53477ad086..d7ef8af849 100755
--- a/main/l10ntools/scripts/localize_old.pl
+++ b/main/l10ntools/scripts/localize_old.pl
@@ -118,7 +118,7 @@ sub splitfile{
             my $gid            = defined $7 ? $7 : '';
             my $lid            = defined $8 ? $8 : '';
             my $lang           = defined $12 ? $12 : '';
-            my $plattform      = defined $10 ? $10 : '';
+            my $platform       = defined $10 ? $10 : '';
             my $helpid         = defined $9 ? $9 : ''; 
            
             next if( $prj eq "binfilter" );     # Don't merge strings into binfilter module
@@ -145,7 +145,7 @@ sub splitfile{
             if( $lang eq "en-US" ){}
             elsif( $cur_sdffile eq $last_sdffile )
             { 
-                $block{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$plattform\t$lang" } =  $line ;
+                $block{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$platform\t$lang" } =  $line ;
             }
             else
             {
@@ -154,7 +154,7 @@ sub splitfile{
                 $last_sdffile = $cur_sdffile;
                 %block = ();
                 #if( ! $lang eq "en-US"  ) {  
-                $block{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$plattform\t$lang" } =  $line ; 
+                $block{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$platform\t$lang" } =  $line ; 
                 #}
 
             }
@@ -195,11 +195,11 @@ sub writesdf{
             my $gid            = defined $7 ? $7 : '';
             my $lid            = defined $8 ? $8 : '';
             my $lang           = defined $12 ? $12 : '';
-            my $plattform      = defined $10 ? $10 : ''; 
+            my $platform       = defined $10 ? $10 : ''; 
             my $helpid         = defined $9 ? $9 : '';
             
             chomp( $line );    
-            $index{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$plattform\t$lang" } =  $line ;
+            $index{ "$prj\t$file\t$type\t$gid\t$lid\t$helpid\t$platform\t$lang" } =  $line ;
             
          } #else { print STDOUT "writesdf REGEX kaputt $_\n";}
 
@@ -455,7 +455,7 @@ sub collectfiles{
                             my $gid            = defined $7 ? $7 : '';
                             my $lid            = defined $8 ? $8 : '';
                             my $lang           = defined $12 ? $12 : '';
-                            my $plattform      = defined $10 ? $10 : ''; 
+                            my $platform       = defined $10 ? $10 : ''; 
                             my $helpid         = defined $9 ? $9 : '';
                             
                             chomp( $line );
@@ -463,7 +463,7 @@ sub collectfiles{
                             if ( $lang eq $cur_lang ){
                                 # Overwrite fallback strings with collected strings
                                 #if( ( !has_two_sourcelanguages( $cur_lang) && $cur_lang eq "de" ) || $cur_lang ne "en-US" ){
-                                     $fallbackhashhash_ref->{ $cur_lang }{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } =  $line ;
+                                     $fallbackhashhash_ref->{ $cur_lang }{ $prj.$gid.$lid.$file.$type.$platform.$helpid } =  $line ;
                                      #}
 
                             }
@@ -517,7 +517,7 @@ sub collectfiles{
                     my $gid            = defined $7 ? $7 : '';
                     my $lid            = defined $8 ? $8 : '';
                     #my $lang           = defined $12 ? $12 : '';
-                    my $plattform      = defined $10 ? $10 : ''; 
+                    my $platform       = defined $10 ? $10 : ''; 
                     my $helpid         = defined $9 ? $9 : '';
  
                     
@@ -535,16 +535,16 @@ sub collectfiles{
                     else {
                         foreach my $sLang ( keys( %{ $langhash_ref } ) ){
                             if( $sLang=~ /all/i )                       {  
-                                push @{ $output{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } } ,  $leftpart."\t".$lang."\t".$rightpart.$extract_date ;
+                                push @{ $output{ $prj.$gid.$lid.$file.$type.$platform.$helpid } } ,  $leftpart."\t".$lang."\t".$rightpart.$extract_date ;
                                 #print DESTFILE $leftpart."\t".$lang."\t".$rightpart.$extract_date;  
                             }
                             #if( $sLang eq "de" && $lang eq "de" )       {  
-                            #    push @{ $output{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } } ,  $leftpart."\t".$lang."\t".$rightpart.$extract_date ;
+                            #    push @{ $output{ $prj.$gid.$lid.$file.$type.$platform.$helpid } } ,  $leftpart."\t".$lang."\t".$rightpart.$extract_date ;
                                 #print DESTFILE $leftpart."\t".$lang."\t".$rightpart.$extract_date;  
                                 #}
                             if( $sLang eq "en-US" && $lang eq "en-US" ) {  
-                                push @order , $prj.$gid.$lid.$file.$type.$plattform.$helpid;
-                                if( !$bFakeEnglish ){ push @{ $output{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } } ,  $leftpart."\t".$lang."\t".$rightpart.$extract_date ; }
+                                push @order , $prj.$gid.$lid.$file.$type.$platform.$helpid;
+                                if( !$bFakeEnglish ){ push @{ $output{ $prj.$gid.$lid.$file.$type.$platform.$helpid } } ,  $leftpart."\t".$lang."\t".$rightpart.$extract_date ; }
                                 #print DESTFILE $leftpart."\t".$lang."\t".$rightpart.$extract_date;  
                             }
 
@@ -567,7 +567,7 @@ sub collectfiles{
                     my $gid            = defined $7 ? $7 : '';
                     my $lid            = defined $8 ? $8 : '';
                     #my $lang           = defined $12 ? $12 : '';
-                    my $plattform      = defined $10 ? $10 : ''; 
+                    my $platform       = defined $10 ? $10 : ''; 
                     my $helpid         = defined $9 ? $9 : '';
  
                     
@@ -581,7 +581,7 @@ sub collectfiles{
                     }
 
                     if( ! ( $prj =~ /binfilter/i ) ) { 
-                        push @{ $output{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } } , $leftpart."\t".$lang."\t".$rightpart.$extract_date ; 
+                        push @{ $output{ $prj.$gid.$lid.$file.$type.$platform.$helpid } } , $leftpart."\t".$lang."\t".$rightpart.$extract_date ; 
                         #print DESTFILE $leftpart."\t".$lang."\t".$rightpart.$extract_date ; 
                     }
                  }
@@ -629,10 +629,10 @@ sub remove_obsolete{
                 my $type           = defined $6 ? $6 : '';
                 my $gid            = defined $7 ? $7 : '';
                 my $lid            = defined $8 ? $8 : '';
-                my $plattform      = defined $10 ? $10 : ''; 
+                my $platform       = defined $10 ? $10 : ''; 
                 my $helpid         = defined $9 ? $9 : '';
                 
-                my $leftpart = $prj.$gid.$lid.$file.$type.$plattform.$helpid;
+                my $leftpart = $prj.$gid.$lid.$file.$type.$platform.$helpid;
                 
                 if( $language eq "en-US" ){                 # source string found, 1. entry
                     $enusleftpart = $leftpart;
@@ -842,12 +842,12 @@ sub read_file{
             my $type           = defined $6 ? $6 : '';
             my $gid            = defined $7 ? $7 : '';
             my $lid            = defined $8 ? $8 : '';
-            my $plattform      = defined $10 ? $10 : '';
+            my $platform       = defined $10 ? $10 : '';
             my $lang           = defined $12 ? $12 : '';
             my $helpid         = defined $9 ? $9 : '';
             
             foreach my $isolang ( keys ( %{ $langhash_ref } ) ){
-                if( $isolang=~ /$lang/i || $isolang=~ /all/i ) { $block{$prj.$gid.$lid.$file.$type.$plattform.$helpid } =  $line ; }
+                if( $isolang=~ /$lang/i || $isolang=~ /all/i ) { $block{$prj.$gid.$lid.$file.$type.$platform.$helpid } =  $line ; }
             }
         }
     }
@@ -872,14 +872,14 @@ sub read_fallbacks_from_particles{
                     my $gid            = defined $7 ? $7 : '';
                     my $lid            = defined $8 ? $8 : '';
                     my $lang           = defined $12 ? $12 : '';
-                    my $plattform      = defined $10 ? $10 : ''; 
+                    my $platform       = defined $10 ? $10 : ''; 
                     my $helpid         = defined $9 ? $9 : '';
                           
                     chomp( $line );
              
                     foreach my $isolang ( @{$isolanglist_ref}  ){
                         if( $isolang=~ /$lang/i ) { 
-                            $fallbackhashhash_ref->{ $isolang }{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } =  $line ; 
+                            $fallbackhashhash_ref->{ $isolang }{ $prj.$gid.$lid.$file.$type.$platform.$helpid } =  $line ; 
                         }
                     }
                 }
@@ -909,10 +909,10 @@ sub read_fallbacks_from_source{
             my $lid            = defined $8 ? $8 : '';
             my $helpid         = defined $9 ? $9 : '';
             my $lang           = defined $12 ? $12 : '';
-            my $plattform      = defined $10 ? $10 : '';
+            my $platform       = defined $10 ? $10 : '';
             
             chomp( $line ); 
-            if( $isolang=~ /$lang/i ) { $fallbackhashhash_ref->{ $isolang }{ $prj.$gid.$lid.$file.$type.$plattform.$helpid } =  $line ; 
+            if( $isolang=~ /$lang/i ) { $fallbackhashhash_ref->{ $isolang }{ $prj.$gid.$lid.$file.$type.$platform.$helpid } =  $line ; 
             }
         }
     }
@@ -1048,7 +1048,7 @@ sub usage{
 #            my $gid            = defined $7 ? $7 : '';
 #            my $lid            = defined $8 ? $8 : '';
 #            my $helpid         = defined $9 ? $9 : '';
-#            my $plattform      = defined $10 ? $10 : '';
+#            my $platform       = defined $10 ? $10 : '';
 #            my $width          = defined $11 ? $11 : '';
 #            my $lang           = defined $12 ? $12 : '';
 #            my $rightpart      = defined $13 ? $13 : '';
diff --git a/main/sal/osl/os2/system.h b/main/sal/osl/os2/system.h
index d750f728e0..63c109c857 100644
--- a/main/sal/osl/os2/system.h
+++ b/main/sal/osl/os2/system.h
@@ -353,7 +353,7 @@ char *macxp_tempnam( const char *tmpdir, const char *prefix );
     !defined(LINUX)   && !defined(NETBSD) && !defined(FREEBSD) && !defined(SCO)  && \
 	!defined(AIX)     && !defined(HPUX)   && \
 	!defined(SOLARIS) && !defined(MACOSX)
-#	error "Target plattform not specified !"
+#	error "Target platform not specified !"
 #endif
 
 #if defined(NETBSD)
diff --git a/main/sal/osl/w32/dllentry.c b/main/sal/osl/w32/dllentry.c
index 74638cc78b..8d9e4334fe 100644
--- a/main/sal/osl/w32/dllentry.c
+++ b/main/sal/osl/w32/dllentry.c
@@ -88,7 +88,7 @@ extern BOOL (WINAPI *_pRawDllMain)(HANDLE, DWORD, LPVOID) = _RawDllMain;
 // globales
 //------------------------------------------------------------------------------
 
-DWORD         g_dwPlatformId = VER_PLATFORM_WIN32_WINDOWS; // remember plattform
+DWORD         g_dwPlatformId = VER_PLATFORM_WIN32_WINDOWS; // remember platform
 
 //------------------------------------------------------------------------------
 // DllMain
diff --git a/main/salhelper/inc/salhelper/simplereferenceobject.hxx b/main/salhelper/inc/salhelper/simplereferenceobject.hxx
index 338ab13a10..df57324265 100644
--- a/main/salhelper/inc/salhelper/simplereferenceobject.hxx
+++ b/main/salhelper/inc/salhelper/simplereferenceobject.hxx
@@ -82,7 +82,7 @@ public:
     /** @ATTENTION
         The results are undefined if, for any individual instance of
         SimpleReferenceObject, the total number of calls to acquire() exceeds
-        the total number of calls to release() by a plattform dependent amount
+        the total number of calls to release() by a platform dependent amount
         (which, hopefully, is quite large).
      */
     inline void acquire() SAL_THROW(())
diff --git a/main/sd/inc/helper/simplereferencecomponent.hxx b/main/sd/inc/helper/simplereferencecomponent.hxx
index 7d8af672c9..ab16f7f20d 100644
--- a/main/sd/inc/helper/simplereferencecomponent.hxx
+++ b/main/sd/inc/helper/simplereferencecomponent.hxx
@@ -46,7 +46,7 @@ public:
     /** @ATTENTION
         The results are undefined if, for any individual instance of
         SimpleReferenceComponent, the total number of calls to acquire() exceeds
-        the total number of calls to release() by a plattform dependent amount
+        the total number of calls to release() by a platform dependent amount
         (which, hopefully, is quite large).
      */
     SD_DLLPUBLIC void acquire();
diff --git a/main/solenv/inc/libs.mk b/main/solenv/inc/libs.mk
index 2da44a8360..9dda10160f 100644
--- a/main/solenv/inc/libs.mk
+++ b/main/solenv/inc/libs.mk
@@ -24,7 +24,7 @@ LIBSMKREV!:="$$Revision$$"
 .IF ("$(GUI)"=="UNX" || "$(COM)"=="GCC")
 
 #
-#externe libs in plattform.mk
+#external libs in platform.mk
 #
 .IF "$(GUI)$(COM)"=="WNTGCC"
 AWTLIB*=$(JAVA_HOME)/lib/jawt.lib