summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/mailmodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/mailmodel.cxx')
-rwxr-xr-xsfx2/source/dialog/mailmodel.cxx19
1 files changed, 9 insertions, 10 deletions
diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx
index 3433e74e2073..4db7f7c8e078 100755
--- a/sfx2/source/dialog/mailmodel.cxx
+++ b/sfx2/source/dialog/mailmodel.cxx
@@ -979,17 +979,16 @@ SfxMailModel::SendMailResult SfxMailModel::SaveAndSend( const css::uno::Referenc
sal_Bool CreateFromAddress_Impl( String& rFrom )
-/* [Beschreibung]
+/* [Description]
- Diese Funktion versucht mit Hilfe des IniManagers eine From-Adresse
- zu erzeugen. daf"ur werden die Felder 'Vorname', 'Name' und 'EMail'
- aus der Applikations-Ini-Datei ausgelesen. Sollten diese Felder
- nicht gesetzt sein, wird FALSE zur"uckgegeben.
+ This function tries to create a From-address with the help of IniManagers.
+ For this the fields 'first name', 'Name' and 'Email' are read from the
+ application-ini-data. If these fields are not set, FALSE is returned.
- [R"uckgabewert]
+ [Return value]
- sal_True: Adresse konnte erzeugt werden.
- sal_False: Adresse konnte nicht erzeugt werden.
+ sal_True: Address could be created.
+ sal_False: Address could not be created.
*/
{
@@ -1006,14 +1005,14 @@ sal_Bool CreateFromAddress_Impl( String& rFrom )
rFrom += ' ';
}
rFrom += TRIM( aName );
- // unerlaubte Zeichen entfernen
+ // remove illegal characters
rFrom.EraseAllChars( '<' );
rFrom.EraseAllChars( '>' );
rFrom.EraseAllChars( '@' );
}
String aEmailName = aUserCFG.GetEmail();
- // unerlaubte Zeichen entfernen
+ // remove illegal characters
aEmailName.EraseAllChars( '<' );
aEmailName.EraseAllChars( '>' );