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 17ad1ce Remove unused token
17ad1ce is described below
commit 17ad1cecf1bc87ab3e3e5ce28d96a98a25e7ba5d
Author: mseidel <[email protected]>
AuthorDate: Sun Aug 22 14:11:55 2021 +0200
Remove unused token
(cherry picked from commit 98f76e59f55bea0683f36dc8f901fe6ade742684)
---
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