summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-04-20 09:36:16 +0200
committerZolnai Tamás <zolnaitamas2000@gmail.com>2013-04-20 09:48:29 +0200
commit9e2d2822063729f450adb734f58106bb64695ce6 (patch)
tree7e8da1c18bde3ae1615778e45b08bed139d2f103 /l10ntools
parent75c87c417b6fbb82d956a803f065c9c49d0d62f4 (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')
-rw-r--r--l10ntools/inc/export.hxx4
-rw-r--r--l10ntools/source/export.cxx17
-rw-r--r--l10ntools/source/merge.cxx6
3 files changed, 0 insertions, 27 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index 35f97724cebe..2230569700b8 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -111,8 +111,6 @@ public:
~ResData();
sal_Bool SetId(const OString &rId, sal_uInt16 nLevel);
- sal_Int32 nWidth;
- sal_uInt16 nChildIndex;
sal_uInt16 nIdLevel;
sal_Bool bChild;
sal_Bool bChildWithText;
@@ -123,8 +121,6 @@ public:
sal_Bool bTitle;
sal_Bool bList;
- sal_Bool bRestMerged;
-
OString sResTyp;
OString sId;
OString sGId;
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 ),