diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-04-20 09:36:16 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-04-20 09:48:29 +0200 |
commit | 9e2d2822063729f450adb734f58106bb64695ce6 (patch) | |
tree | 7e8da1c18bde3ae1615778e45b08bed139d2f103 /l10ntools/source | |
parent | 75c87c417b6fbb82d956a803f065c9c49d0d62f4 (diff) |
Delete some unneeded member of ResData
nChildIndex and bRestMerges are simple unused.
nWidth is an obsolote attribute
Change-Id: I669a17cefb3dc8628ce2c8d9db8abac630fc3cde
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/export.cxx | 17 | ||||
-rw-r--r-- | l10ntools/source/merge.cxx | 6 |
2 files changed, 0 insertions, 23 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx index bf1fbce7d452..af97a4b6d8f7 100644 --- a/l10ntools/source/export.cxx +++ b/l10ntools/source/export.cxx @@ -782,23 +782,6 @@ int Export::Execute( int nToken, const char * pToken ) case APPFONTMAPPING: { bDontWriteOutput = sal_False; - // this is a AppfontMapping, so look if its a definition - // of field size - sal_Int32 n = 0; - OString sKey( - sToken.getToken(0, '=', n).replaceAll(" ", OString()). - replaceAll("\t", OString())); - OString sMapping = sToken.getToken(0, '=', n); - sMapping = sMapping.getToken(1, '('); - sMapping = sMapping.getToken(0, ')'). - replaceAll(OString(' '), OString()). - replaceAll(OString('\t'), OString()). - toAsciiUpperCase(); - if (sKey.equalsL(RTL_CONSTASCII_STRINGPARAM("SIZE"))) { - pResData->nWidth = sMapping.getToken(0, ',').toInt32(); - } else if (sKey.equalsL(RTL_CONSTASCII_STRINGPARAM("POSSIZE"))) { - pResData->nWidth = sMapping.getToken(2, ',').toInt32(); - } } break; case RSCDEFINELEND: diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index f1b283f06121..1555adb1d9eb 100644 --- a/l10ntools/source/merge.cxx +++ b/l10ntools/source/merge.cxx @@ -65,8 +65,6 @@ namespace ResData::ResData( const OString &rGId ) : - nWidth( 0 ), - nChildIndex( 0 ), nIdLevel( ID_LEVEL_NULL ), bChild( sal_False ), bChildWithText( sal_False ), @@ -75,7 +73,6 @@ ResData::ResData( const OString &rGId ) bQuickHelpText( sal_False ), bTitle( sal_False ), bList( sal_False ), - bRestMerged( sal_False ), sGId( rGId ), nTextRefId( REFID_NONE ), nHelpTextRefId( REFID_NONE ), @@ -93,8 +90,6 @@ ResData::ResData( const OString &rGId ) ResData::ResData( const OString &rGId, const OString &rFilename) : - nWidth( 0 ), - nChildIndex( 0 ), nIdLevel( ID_LEVEL_NULL ), bChild( sal_False ), bChildWithText( sal_False ), @@ -103,7 +98,6 @@ ResData::ResData( const OString &rGId, const OString &rFilename) bQuickHelpText( sal_False ), bTitle( sal_False ), bList( sal_False ), - bRestMerged( sal_False ), sGId( rGId ), sFilename( rFilename ), nTextRefId( REFID_NONE ), |