summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorUrs Fässler <urs@bitzgi.ch>2013-03-07 14:53:41 +0100
committerUrs Fässler <urs@bitzgi.ch>2013-03-07 14:55:30 +0100
commit8d8f62666af44d56339ab3a59b966c61d19075e2 (patch)
treeb66a60bfd67a22ecda18c4780957a434e37eb24a /sd
parentd897f5fb70b791197c3054593381883a91974f08 (diff)
sd/source/ui/app/sdpopup.cxx comment translation and cleanup
Change-Id: Ib01cc26d494598def62b34dba52e3c35e9668d10
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/app/sdpopup.cxx40
1 files changed, 11 insertions, 29 deletions
diff --git a/sd/source/ui/app/sdpopup.cxx b/sd/source/ui/app/sdpopup.cxx
index 6922b79e2478..110254775a52 100644
--- a/sd/source/ui/app/sdpopup.cxx
+++ b/sd/source/ui/app/sdpopup.cxx
@@ -33,12 +33,9 @@
#include "drawdoc.hxx"
#include "DrawDocShell.hxx"
-/*************************************************************************
-|*
-|* PopupMenu zum Bearbeiten von Feldbefehlen
-|*
-\************************************************************************/
-
+/*
+ * Popup menu for editing of field command
+ */
SdFieldPopup::SdFieldPopup( const SvxFieldData* pInField, LanguageType eLanguage ) :
PopupMenu (),
pField ( pInField )
@@ -46,22 +43,10 @@ SdFieldPopup::SdFieldPopup( const SvxFieldData* pInField, LanguageType eLanguage
Fill( eLanguage );
}
-/*************************************************************************
-|*
-|* Dtor
-|*
-\************************************************************************/
-
SdFieldPopup::~SdFieldPopup()
{
}
-/*************************************************************************
-|*
-|* Fill
-|*
-\************************************************************************/
-
void SdFieldPopup::Fill( LanguageType eLanguage )
{
sal_uInt16 nID = 1;
@@ -80,8 +65,8 @@ void SdFieldPopup::Fill( LanguageType eLanguage )
else
CheckItem( 2 );
- //SVXDATEFORMAT_APPDEFAULT, // Wird nicht benutzt
- //SVXDATEFORMAT_SYSTEM, // Wird nicht benutzt
+ //SVXDATEFORMAT_APPDEFAULT, // is not used
+ //SVXDATEFORMAT_SYSTEM, // is not used
InsertItem( nID++, String( SdResId( STR_STANDARD_SMALL ) ), nStyle );
InsertItem( nID++, String( SdResId( STR_STANDARD_BIG ) ), nStyle );
@@ -112,8 +97,8 @@ void SdFieldPopup::Fill( LanguageType eLanguage )
else
CheckItem( 2 );
- //SVXTIMEFORMAT_APPDEFAULT, // Wird nicht benutzt
- //SVXTIMEFORMAT_SYSTEM, // Wird nicht benutzt
+ //SVXTIMEFORMAT_APPDEFAULT, // is not used
+ //SVXTIMEFORMAT_SYSTEM, // is not used
InsertItem( nID++, String( SdResId( STR_STANDARD_NORMAL ) ), nStyle );
SvNumberFormatter* pNumberFormatter = SD_MOD()->GetNumberFormatter();
@@ -172,13 +157,10 @@ void SdFieldPopup::Fill( LanguageType eLanguage )
}
}
-/*************************************************************************
-|*
-|* Gibt das neue Feld zurueck, gehoert dem Caller.
-|* Liefert NULL, wenn sich nichts geaendert hat.
-|*
-\************************************************************************/
-
+/**
+ * Returns a new field, owned by caller.
+ * Returns NULL if nothing changed.
+ */
SvxFieldData* SdFieldPopup::GetField()
{
SvxFieldData* pNewField = NULL;