Kaydet (Commit) 64d45e76 authored tarafından Caolán McNamara's avatar Caolán McNamara

these members aren't used at all

Change-Id: I5acfea9512f66cd57ba9a91b008bd0e96a80cb9d
üst 16c56546
...@@ -1314,9 +1314,6 @@ sal_Bool SwTxtFormatInfo::InitHyph( const sal_Bool bAutoHyphen ) ...@@ -1314,9 +1314,6 @@ sal_Bool SwTxtFormatInfo::InitHyph( const sal_Bool bAutoHyphen )
sal_Bool bAuto = bAutoHyphen || rAttr.IsHyphen(); sal_Bool bAuto = bAutoHyphen || rAttr.IsHyphen();
if( bAuto || bInterHyph ) if( bAuto || bInterHyph )
{ {
nHyphStart = nHyphWrdStart = COMPLETE_STRING;
nHyphWrdLen = 0;
const sal_Int16 nMinimalLeading = std::max(rAttr.GetMinLead(), sal_uInt8(2)); const sal_Int16 nMinimalLeading = std::max(rAttr.GetMinLead(), sal_uInt8(2));
const sal_Int16 nMinimalTrailing = rAttr.GetMinTrail(); const sal_Int16 nMinimalTrailing = rAttr.GetMinTrail();
lcl_InitHyphValues( aHyphVals, nMinimalLeading, nMinimalTrailing); lcl_InitHyphValues( aHyphVals, nMinimalLeading, nMinimalTrailing);
...@@ -1455,9 +1452,6 @@ SwTxtFormatInfo::SwTxtFormatInfo( const SwTxtFormatInfo& rInf, ...@@ -1455,9 +1452,6 @@ SwTxtFormatInfo::SwTxtFormatInfo( const SwTxtFormatInfo& rInf,
nSoftHyphPos = 0; nSoftHyphPos = 0;
nUnderScorePos = COMPLETE_STRING; nUnderScorePos = COMPLETE_STRING;
nHyphStart = 0;
nHyphWrdStart = 0;
nHyphWrdLen = 0;
nLineStart = rInf.GetIdx(); nLineStart = rInf.GetIdx();
nLeft = rInf.nLeft; nLeft = rInf.nLeft;
nRight = rInf.nRight; nRight = rInf.nRight;
......
...@@ -522,9 +522,6 @@ class SwTxtFormatInfo : public SwTxtPaintInfo ...@@ -522,9 +522,6 @@ class SwTxtFormatInfo : public SwTxtPaintInfo
SwTabPortion *pLastTab; // The _last_ TabPortion SwTabPortion *pLastTab; // The _last_ TabPortion
sal_Int32 nSoftHyphPos; // SoftHyphPos forr Hyphenation sal_Int32 nSoftHyphPos; // SoftHyphPos forr Hyphenation
sal_Int32 nHyphStart; // TxtPos at which the interactive hyphen is at the moment
sal_Int32 nHyphWrdStart; // Position of the found word
sal_Int32 nHyphWrdLen; // Length of the found word
sal_Int32 nLineStart; // Current line start in rTxt sal_Int32 nLineStart; // Current line start in rTxt
sal_Int32 nUnderScorePos; // enlarge repaint if underscore has been found sal_Int32 nUnderScorePos; // enlarge repaint if underscore has been found
// #i34348# Changed type from sal_uInt16 to SwTwips // #i34348# Changed type from sal_uInt16 to SwTwips
...@@ -696,12 +693,6 @@ public: ...@@ -696,12 +693,6 @@ public:
// Should the hyphenate helper be discarded? // Should the hyphenate helper be discarded?
sal_Bool IsHyphenate() const; sal_Bool IsHyphenate() const;
inline void SetHyphStart( const sal_Int32 nNew ) { nHyphStart = nNew; }
inline sal_Int32 GetHyphStart() const { return nHyphStart; }
inline void SetHyphWrdStart( const sal_Int32 nNew ) { nHyphWrdStart = nNew; }
inline sal_Int32 GetHyphWrdStart() const { return nHyphWrdStart; }
inline void SetHyphWrdLen( const sal_Int32 nNew ) { nHyphWrdLen = nNew; }
inline sal_Int32 GetHyphWrdLen() const { return nHyphWrdLen; }
inline sal_Int32 GetUnderScorePos() const { return nUnderScorePos; } inline sal_Int32 GetUnderScorePos() const { return nUnderScorePos; }
inline void SetUnderScorePos( sal_Int32 nNew ) { nUnderScorePos = nNew; } inline void SetUnderScorePos( sal_Int32 nNew ) { nUnderScorePos = nNew; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment