Kaydet (Commit) 2f2e9147 authored tarafından Oliver-Rainer Wittmann's avatar Oliver-Rainer Wittmann

125296: correction of fix for issue 125044

üst 9e29944a
...@@ -355,8 +355,7 @@ void SwTxtFld::ExpandTxtFld( const bool bForceNotify ) const ...@@ -355,8 +355,7 @@ void SwTxtFld::ExpandTxtFld( const bool bForceNotify ) const
const SwField* pFld = GetFmtFld().GetField(); const SwField* pFld = GetFmtFld().GetField();
const XubString aNewExpand( pFld->ExpandField(m_pTxtNode->GetDoc()->IsClipBoard()) ); const XubString aNewExpand( pFld->ExpandField(m_pTxtNode->GetDoc()->IsClipBoard()) );
if ( !bForceNotify && if ( aNewExpand == m_aExpand )
aNewExpand == m_aExpand )
{ {
// Bei Seitennummernfeldern // Bei Seitennummernfeldern
const sal_uInt16 nWhich = pFld->GetTyp()->Which(); const sal_uInt16 nWhich = pFld->GetTyp()->Which();
...@@ -372,7 +371,11 @@ void SwTxtFld::ExpandTxtFld( const bool bForceNotify ) const ...@@ -372,7 +371,11 @@ void SwTxtFld::ExpandTxtFld( const bool bForceNotify ) const
{ {
m_pTxtNode->ModifyNotification( 0, 0 ); m_pTxtNode->ModifyNotification( 0, 0 );
} }
return; if ( !bForceNotify )
{
// done, if no further notification forced.
return;
}
} }
} }
......
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