diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-04 22:41:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-05 10:02:57 +0100 |
commit | db1b7178dde8daa8660becf35acf8362b5f4bd7e (patch) | |
tree | 902efefff371fcc0d9dfd42f0bacda289070f3c5 /editeng | |
parent | 31e203f1fd9a32c70c37a73f13963992e1cc17ef (diff) |
callcatcher: unused methods
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/editeng/numitem.hxx | 1 | ||||
-rw-r--r-- | editeng/source/items/numitem.cxx | 106 |
2 files changed, 0 insertions, 107 deletions
diff --git a/editeng/inc/editeng/numitem.hxx b/editeng/inc/editeng/numitem.hxx index a8730f46b378..1084ea1fbdd8 100644 --- a/editeng/inc/editeng/numitem.hxx +++ b/editeng/inc/editeng/numitem.hxx @@ -171,7 +171,6 @@ public: SvxNumberFormat( sal_Int16 nNumberingType, SvxNumPositionAndSpaceMode ePositionAndSpaceMode = LABEL_WIDTH_AND_POSITION ); SvxNumberFormat(const SvxNumberFormat& rFormat); - SvxNumberFormat(SvStream &rStream); virtual ~SvxNumberFormat(); diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index afaebcfb4a00..eb15ca51c5de 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -198,112 +198,6 @@ SvxNumberFormat::~SvxNumberFormat() delete pBulletFont; } -SvxNumberFormat::SvxNumberFormat(SvStream &rStream) -: mePositionAndSpaceMode( LABEL_WIDTH_AND_POSITION ), - meLabelFollowedBy( LISTTAB ), - mnListtabPos( 0 ), - mnFirstLineIndent( 0 ), - mnIndentAt( 0 ) -{ - - sal_uInt16 nVersion; - rStream >> nVersion; - - sal_uInt16 nUSHORT; - rStream >> nUSHORT; - SetNumberingType((sal_Int16)nUSHORT); - rStream >> nUSHORT; - eNumAdjust = (SvxAdjust)nUSHORT; - rStream >> nUSHORT; - nInclUpperLevels = (sal_uInt8)nUSHORT; - rStream >> nUSHORT; - nStart = nUSHORT; - rStream >> nUSHORT; - cBullet = nUSHORT; - - short nShort; - rStream >> nShort; - nFirstLineOffset = nShort; - rStream >> nShort; - nAbsLSpace = nShort; - rStream >> nShort; - nLSpace = nShort; - - rStream >> nShort; - nCharTextDistance = nShort; - rtl_TextEncoding eEnc = gsl_getSystemTextEncoding(); - rStream.ReadByteString(sPrefix, eEnc); - rStream.ReadByteString(sSuffix, eEnc); - rStream.ReadByteString(sCharStyleName, eEnc); - rStream >> nUSHORT; - if(nUSHORT) - { - SvxBrushItem aHelper(0); - pGraphicBrush = (SvxBrushItem*) aHelper.Create( rStream, BRUSH_GRAPHIC_VERSION ); - } - else - pGraphicBrush = 0; - - rStream >> nUSHORT; - eVertOrient = (sal_Int16)nUSHORT; - - rStream >> nUSHORT; - if(nUSHORT) - { - pBulletFont = new Font; - rStream >> *pBulletFont; - if(!pBulletFont->GetCharSet()) - pBulletFont->SetCharSet(rStream.GetStreamCharSet()); - } - else - pBulletFont = 0; - rStream >> aGraphicSize; - - rStream >> nBulletColor; - rStream >> nUSHORT; - nBulletRelSize = nUSHORT; - rStream >> nUSHORT; - SetShowSymbol((sal_Bool)nUSHORT); - - if( nVersion < NUMITEM_VERSION_03 ) - cBullet = ByteString::ConvertToUnicode( (sal_Char)cBullet, - (pBulletFont&&pBulletFont->GetCharSet()) ? pBulletFont->GetCharSet() - : RTL_TEXTENCODING_SYMBOL ); - if(pBulletFont) - { - sal_Bool bConvertBulletFont = rStream.GetVersion() <= SOFFICE_FILEFORMAT_50; - if(bConvertBulletFont) - { - - FontToSubsFontConverter pConverter = - CreateFontToSubsFontConverter(pBulletFont->GetName(), - FONTTOSUBSFONT_IMPORT|FONTTOSUBSFONT_ONLYOLDSOSYMBOLFONTS); - if(pConverter) - { - cBullet = ConvertFontToSubsFontChar(pConverter, cBullet); - String sFontName = GetFontToSubsFontName(pConverter); - pBulletFont->SetName(sFontName); - DestroyFontToSubsFontConverter(pConverter); - } - } - } - - if( NUMITEM_VERSION_04 <= nVersion ) - { - rStream >> nUSHORT; - mePositionAndSpaceMode = (SvxNumPositionAndSpaceMode) nUSHORT; - rStream >> nUSHORT; - meLabelFollowedBy = ( SvxNumLabelFollowedBy ) nUSHORT; - long nLong; - rStream >> nLong; - mnListtabPos = nLong; - rStream >> nLong; - mnFirstLineIndent = nLong; - rStream >> nLong; - mnIndentAt = nLong; - } -} - SvStream& SvxNumberFormat::Store(SvStream &rStream, FontToSubsFontConverter pConverter) { if(pConverter && pBulletFont) |