summaryrefslogtreecommitdiff
path: root/rsc/source/res
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-03 14:00:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-04 07:13:58 +0000
commit7abd369964a0c7f9f80cdbc9e47c7dc120fe8257 (patch)
tree70786d0850de5212e30e5611c09cba06a2d26ac9 /rsc/source/res
parentfb823544468150a2ef660095a511636be1bf6f9e (diff)
loplugin:unusedmethods
Change-Id: Ie1f840c3ec9a2d5888f95cf05e531a8a9464bf2e Reviewed-on: https://gerrit.libreoffice.org/30524 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'rsc/source/res')
-rw-r--r--rsc/source/res/rscclass.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/rsc/source/res/rscclass.cxx b/rsc/source/res/rscclass.cxx
index 3b3d36bd6960..3e6e802b7ae6 100644
--- a/rsc/source/res/rscclass.cxx
+++ b/rsc/source/res/rscclass.cxx
@@ -592,30 +592,6 @@ void RscClass::WriteSrc( const RSCINST & rInst,
return;
}
-sal_Int32 RscClass::GetCorrectValues( const RSCINST & rInst,
- sal_uInt32 nVarPos,
- sal_uInt32 nTupelIdx,
- RscTypCont * pTC)
-{
- sal_Int32 nLang = 0;
- sal_Int32 nBaseValue;
-
- // retrieve base value
- RSCINST aTmpI = GetInstData( rInst.pData, nVarPos, true );
- aTmpI.pClass->GetNumber( aTmpI, &nBaseValue );
-
- // retrieve language delta
- aTmpI = rInst.pClass->GetVariable( rInst, nRsc_DELTALANG, RSCINST() );
- if( aTmpI.IsInst() )
- {
- RscWriteRc aMem;
- aTmpI.pClass->WriteRc( aTmpI, aMem, pTC, 0, false );
- nLang = (sal_Int32)aMem.GetShort( nTupelIdx * sizeof(sal_uInt16) );
- }
-
- return nLang + nBaseValue;
-}
-
ERRTYPE RscClass::WriteInstRc( const RSCINST & rInst,
RscWriteRc & rMem,
RscTypCont * pTC,