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 98f76e5  Remove unused token
98f76e5 is described below

commit 98f76e59f55bea0683f36dc8f901fe6ade742684
Author: mseidel <msei...@apache.org>
AuthorDate: Sun Aug 22 14:11:55 2021 +0200

    Remove unused token
---
 main/l10ntools/inc/tokens.h      |  1 -
 main/l10ntools/source/export.cxx | 10 ----------
 2 files changed, 11 deletions(-)

diff --git a/main/l10ntools/inc/tokens.h b/main/l10ntools/inc/tokens.h
index 7f72fb5..89dcc3d 100644
--- a/main/l10ntools/inc/tokens.h
+++ b/main/l10ntools/inc/tokens.h
@@ -57,7 +57,6 @@
 #define LISTTEXT                       514                     /* < "Text" ... 
>                   */
 #define RSCDEFINE                      515                     /* #define 
MY_TEXT                  */
 #define RSCDEFINELEND          516                     /*                      
            */
-#define NEWTEXTINRES           517                     /* ### Achtung : Ne...  
                        */
 #define UIENTRIES                      518                     /* UIEntries = 
{                                        */
 #define PRAGMA                         519                     /* #pragma ...  
                                        */
 #define _LISTTEXT                      521                     /* { "Text" ... 
}                   */
diff --git a/main/l10ntools/source/export.cxx b/main/l10ntools/source/export.cxx
index 53bd654..4fa31bb 100644
--- a/main/l10ntools/source/export.cxx
+++ b/main/l10ntools/source/export.cxx
@@ -1080,16 +1080,6 @@ int Export::Execute( int nToken, const char * pToken )
                                }
                        }
                break;
-               case NEWTEXTINRES: {
-                       bDontWriteOutput = sal_True;
-                       // this means something like // ### Achtung : Neuer 
Text ...
-                       /*ByteString sLang( "GERMAN" );
-                       ByteString sText = sToken.GetToken( 2, ':' ).GetToken( 
0, '*' );
-                       CleanValue( sText );
-                       if ( sText.Len())
-               pResData->sText[ sLang ] = sText;*/
-               }
-               break;
                case APPFONTMAPPING: {
                        bDontWriteOutput = sal_False;
                        // this is a AppfontMapping, so look if it's a 
definition

Reply via email to