Kaydet (Commit) e85130f7 authored tarafından Michael Stahl's avatar Michael Stahl

unofield.cxx: fix indentation a little

üst e3dfae07
......@@ -1878,7 +1878,7 @@ void SwXTextField::setPropertyValue(const OUString& rPropertyName, const uno::An
if(pField)
{
// Sonderbehandlung Serienbrieffeld
// special treatment for mail merge fields
sal_uInt16 nWhich = pField->Which();
if( RES_DBFLD == nWhich &&
(rPropertyName.equalsAsciiL( SW_PROP_NAME(UNO_NAME_DATA_BASE_NAME)) ||
......@@ -1886,8 +1886,8 @@ void SwXTextField::setPropertyValue(const OUString& rPropertyName, const uno::An
rPropertyName.equalsAsciiL( SW_PROP_NAME(UNO_NAME_DATA_TABLE_NAME))||
rPropertyName.equalsAsciiL( SW_PROP_NAME(UNO_NAME_DATA_COLUMN_NAME))))
{
// hier muss ein neuer Feldtyp angelegt werden und
// das Feld an den neuen Typ umgehaengt werden
// here a new field type must be created and the field must
// be registered at the new type
OSL_FAIL("not implemented");
}
else
......@@ -1909,7 +1909,8 @@ void SwXTextField::setPropertyValue(const OUString& rPropertyName, const uno::An
//#i100374# notify SwPostIt about new field content
if (RES_POSTITFLD== nWhich && pFmtFld)
{
const_cast<SwFmtFld*>(pFmtFld)->Broadcast(SwFmtFldHint( 0, SWFMTFLD_CHANGED ));
const_cast<SwFmtFld*>(pFmtFld)->Broadcast(
SwFmtFldHint( 0, SWFMTFLD_CHANGED ));
}
// fdo#42073 notify SwTxtFld about changes of the expanded string
......
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