summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-22 10:17:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-23 08:58:43 +0200
commit0f347c04bf1305c634b761f92ff487e831bc564c (patch)
treecfa610a2418d1fbfe963c7290a778be3c33ada6c /rsc
parentf871d0e7c99d88b55c38a9878f3ef0bfec4eb089 (diff)
loplugin:unusedfields in registry..sax
Change-Id: Ie0e2ecaadb49273cb4e78bc894111523940e7c8e Reviewed-on: https://gerrit.libreoffice.org/39098 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscpar.hxx2
-rw-r--r--rsc/inc/rsctools.hxx1
-rw-r--r--rsc/source/parser/rscpar.cxx4
-rw-r--r--rsc/source/tools/rsctools.cxx1
4 files changed, 0 insertions, 8 deletions
diff --git a/rsc/inc/rscpar.hxx b/rsc/inc/rscpar.hxx
index e0c3e861e525..aea9a8740c35 100644
--- a/rsc/inc/rscpar.hxx
+++ b/rsc/inc/rscpar.hxx
@@ -31,8 +31,6 @@ class RscTypCont;
class RscFileInst
{
ERRTYPE aFirstError;
- sal_uInt32 nErrorLine;
- sal_uInt32 nErrorPos;
sal_uInt32 nLineNo; // line in input file
RscFileTab::Index lFileIndex; // index input file
RscFileTab::Index lSrcIndex; // index base file
diff --git a/rsc/inc/rsctools.hxx b/rsc/inc/rsctools.hxx
index 2af05864b401..c54b4a1dd4e7 100644
--- a/rsc/inc/rsctools.hxx
+++ b/rsc/inc/rsctools.hxx
@@ -79,7 +79,6 @@ class RscWriteRc
{
sal_uInt32 nLen;
bool bSwap;
- RSCBYTEORDER_TYPE nByteOrder;
char * pMem;
char * GetPointer( sal_uInt32 nSize );
public:
diff --git a/rsc/source/parser/rscpar.cxx b/rsc/source/parser/rscpar.cxx
index 352e3422df95..de4780aee143 100644
--- a/rsc/source/parser/rscpar.cxx
+++ b/rsc/source/parser/rscpar.cxx
@@ -34,8 +34,6 @@ void RscFileInst::Init()
RscFileInst::RscFileInst( RscTypCont * pTC, RscFileTab::Index lIndexSrc,
RscFileTab::Index lFIndex, FILE * fFile )
- : nErrorLine(0)
- , nErrorPos(0)
{
pTypCont = pTC;
Init();
@@ -156,8 +154,6 @@ void RscFileInst::SetError( ERRTYPE aError )
if( aError.IsOk() )
{
aFirstError = aError;
- nErrorLine = GetLineNo();
- nErrorPos = GetScanPos() -1;
}
};
diff --git a/rsc/source/tools/rsctools.cxx b/rsc/source/tools/rsctools.cxx
index ca011e468177..1482f28142b4 100644
--- a/rsc/source/tools/rsctools.cxx
+++ b/rsc/source/tools/rsctools.cxx
@@ -191,7 +191,6 @@ RscWriteRc::RscWriteRc( RSCBYTEORDER_TYPE nOrder )
#endif
bSwap = nOrder != nMachineOrder;
}
- nByteOrder = nOrder;
nLen = 0;
pMem = nullptr;
}