summaryrefslogtreecommitdiff
path: root/rsc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-11-24 13:16:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-11-24 14:56:13 +0000
commitf599904124518ebcfe6671b0b2961eb290d96c94 (patch)
treec4a7e7b9b29181792617315187f32a58cfd83c33 /rsc/source
parentc74b62ca6e1790020b0e19cdf2f3ee3d022affbf (diff)
RscBreakRange is unused
Change-Id: I80c779f99f530b8ea0f9fd5e255241f0a565eec4
Diffstat (limited to 'rsc/source')
-rw-r--r--rsc/source/res/rscrange.cxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/rsc/source/res/rscrange.cxx b/rsc/source/res/rscrange.cxx
index 1f99bed6b786..6273eabde3f9 100644
--- a/rsc/source/res/rscrange.cxx
+++ b/rsc/source/res/rscrange.cxx
@@ -412,32 +412,4 @@ void RscBool::WriteSrc( const RSCINST & rInst, FILE * fOutput,
fprintf( fOutput, "FALSE" );
}
-RscBreakRange::RscBreakRange( Atom nId, sal_uInt32 nTypeId )
- : RscRange(nId, nTypeId), nOutRange(0xFFFFFFFF)
-{
-}
-
-ERRTYPE RscBreakRange::SetNumber( const RSCINST & rInst, sal_Int32 nValue )
-{
- if( nValue == nOutRange )
- return ERR_RSCRANGE_OUTDEFSET;
- else
- return RscRange::SetNumber( rInst, nValue );
-}
-
-RSCINST RscBreakRange::Create( RSCINST * pInst, const RSCINST & rDflt,
- bool bOwnClass )
-{
- RSCINST aInst;
- sal_Int32 l;
-
- aInst = RscRange::Create( pInst, rDflt, bOwnClass );
-
- GetNumber( aInst, &l );
- if( l == nOutRange )
- reinterpret_cast<RscRangeInst *>(aInst.pData)->nValue++;
-
- return aInst;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */