summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-08-14 23:51:19 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-08-14 23:52:21 +0200
commit79102024ccbc054c8b76dbc2cd3c9e253e9f3d9e (patch)
tree43599de0aa01c097e462215df3230451698fe3dd
parenta3dd85fcd159c8a4162c2942e30b15c7f57be115 (diff)
Remove bINet and related part
This variable has been always false since the initial import Change-Id: I7cf61046628aae83bed22f8ba43f999de1e82207
-rw-r--r--sw/source/core/text/txtfld.cxx17
1 files changed, 2 insertions, 15 deletions
diff --git a/sw/source/core/text/txtfld.cxx b/sw/source/core/text/txtfld.cxx
index ce50b44fc3f0..4f65c6983ca7 100644
--- a/sw/source/core/text/txtfld.cxx
+++ b/sw/source/core/text/txtfld.cxx
@@ -79,8 +79,7 @@ SwExpandPortion *SwTxtFormatter::NewFldPortion( SwTxtFormatInfo &rInf,
const sal_Bool bName = rInf.GetOpt().IsFldName();
SwCharFmt* pChFmt = 0;
- bool bNewFlyPor = false,
- bINet = false;
+ bool bNewFlyPor = false;
// set language
((SwTxtFormatter*)this)->SeekAndChg( rInf );
@@ -257,19 +256,7 @@ SwExpandPortion *SwTxtFormatter::NewFldPortion( SwTxtFormatInfo &rInf,
if( !bName )
{
pTmpFnt = new SwFont( *pFnt );
- if( bINet )
- {
- SwAttrPool* pPool = pChFmt->GetAttrSet().GetPool();
- SfxItemSet aSet( *pPool, RES_CHRATR_BEGIN, RES_CHRATR_END );
- SfxItemSet aTmpSet( aSet );
- pFrm->GetTxtNode()->GetAttr(aSet,rInf.GetIdx(),rInf.GetIdx()+1);
- aTmpSet.Set( pChFmt->GetAttrSet() );
- aTmpSet.Differentiate( aSet );
- if( aTmpSet.Count() )
- pTmpFnt->SetDiffFnt( &aTmpSet, pFrm->GetTxtNode()->getIDocumentSettingAccess() );
- }
- else
- pTmpFnt->SetDiffFnt( &pChFmt->GetAttrSet(), pFrm->GetTxtNode()->getIDocumentSettingAccess() );
+ pTmpFnt->SetDiffFnt( &pChFmt->GetAttrSet(), pFrm->GetTxtNode()->getIDocumentSettingAccess() );
}
{
String const str( (bName)