diff options
author | Urs Fässler <urs@bitzgi.ch> | 2013-03-07 15:18:31 +0100 |
---|---|---|
committer | Urs Fässler <urs@bitzgi.ch> | 2013-03-07 15:19:58 +0100 |
commit | c0c907000d006ea9711116533c3b688de546472a (patch) | |
tree | 671fde7ba211d22c6f05b112d7e63597686f8f4a | |
parent | 3785e0637d03404d32d3ef08ac21df99ff49c22c (diff) |
sd/source/ui/dlg/dlgfield.cxx comment translation and cleanup
Change-Id: I6aae5fd2d663d568afd4b2aebca237cdddba23de
-rw-r--r-- | sd/source/ui/dlg/dlgfield.cxx | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/sd/source/ui/dlg/dlgfield.cxx b/sd/source/ui/dlg/dlgfield.cxx index 19f42f0fec71..9126873d2685 100644 --- a/sd/source/ui/dlg/dlgfield.cxx +++ b/sd/source/ui/dlg/dlgfield.cxx @@ -43,12 +43,9 @@ #include "drawdoc.hxx" #include "DrawDocShell.hxx" -/************************************************************************* -|* -|* Dialog zum Bearbeiten von Feldbefehlen -|* -\************************************************************************/ - +/** + * dialog to edit field commands + */ SdModifyFieldDlg::SdModifyFieldDlg( Window* pWindow, const SvxFieldData* pInField, const SfxItemSet& rSet ) : ModalDialog ( pWindow, SdResId( DLG_FIELD_MODIFY ) ), aGrpType ( this, SdResId( GRP_TYPE ) ), @@ -71,13 +68,10 @@ SdModifyFieldDlg::SdModifyFieldDlg( Window* pWindow, const SvxFieldData* pInFiel FillControls(); } -/************************************************************************* -|* -|* Gibt das neue Feld zurueck, gehoert dem Caller. -|* Liefert NULL, wenn sich nichts geaendert hat. -|* -\************************************************************************/ - +/** + * Returns the new field, owned by caller. + * Returns NULL if nothing has changed. + */ SvxFieldData* SdModifyFieldDlg::GetField() { SvxFieldData* pNewField = NULL; @@ -184,8 +178,8 @@ void SdModifyFieldDlg::FillFormatList() const SvxDateField* pDateField = (const SvxDateField*) pField; SvxDateField aDateField( *pDateField ); - //SVXDATEFORMAT_APPDEFAULT, // Wird nicht benutzt - //SVXDATEFORMAT_SYSTEM, // Wird nicht benutzt + //SVXDATEFORMAT_APPDEFAULT, // not used + //SVXDATEFORMAT_SYSTEM, // not used aLbFormat.InsertEntry( String( SdResId( STR_STANDARD_SMALL ) ) ); aLbFormat.InsertEntry( String( SdResId( STR_STANDARD_BIG ) ) ); @@ -210,8 +204,8 @@ void SdModifyFieldDlg::FillFormatList() const SvxExtTimeField* pTimeField = (const SvxExtTimeField*) pField; SvxExtTimeField aTimeField( *pTimeField ); - //SVXTIMEFORMAT_APPDEFAULT, // Wird nicht benutzt - //SVXTIMEFORMAT_SYSTEM, // Wird nicht benutzt + //SVXTIMEFORMAT_APPDEFAULT, // not used + //SVXTIMEFORMAT_SYSTEM, // not used aLbFormat.InsertEntry( String( SdResId( STR_STANDARD_NORMAL ) ) ); SvNumberFormatter* pNumberFormatter = SD_MOD()->GetNumberFormatter(); |