summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorUrs Fässler <urs@bitzgi.ch>2013-03-07 14:54:46 +0100
committerUrs Fässler <urs@bitzgi.ch>2013-03-07 14:55:30 +0100
commit3acd12a1bbffc9dee9cfdcae92df359a2a8753f0 (patch)
tree601d2faef65d17353add1c6d9919c5a7e366a6da /sd
parent8d8f62666af44d56339ab3a59b966c61d19075e2 (diff)
sd/source/ui/app/tbxww.cxx comment translation and cleanup
Change-Id: Ie7bc4ce47c088feeeaf55fb7b2590c5e44a3480e
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/app/tbxww.cxx27
1 files changed, 11 insertions, 16 deletions
diff --git a/sd/source/ui/app/tbxww.cxx b/sd/source/ui/app/tbxww.cxx
index 9a12aa346577..c668976d7ceb 100644
--- a/sd/source/ui/app/tbxww.cxx
+++ b/sd/source/ui/app/tbxww.cxx
@@ -39,12 +39,9 @@
SFX_IMPL_TOOLBOX_CONTROL( SdTbxControl, TbxImageItem )
-/*************************************************************************
-|*
-|* Klasse fuer Toolbox
-|*
-\************************************************************************/
-
+/**
+ * Class for toolbox
+ */
SdTbxControl::SdTbxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) :
SfxToolBoxControl( nSlotId, nId, rTbx )
{
@@ -59,13 +56,11 @@ SfxPopupWindowType SdTbxControl::GetPopupWindowType() const
return( SFX_POPUPWINDOW_ONTIMEOUT );
}
-/*************************************************************************
-|*
-|* Hier wird das Fenster erzeugt
-|* Lage der Toolbox mit GetToolBox() abfragbar
-|* rItemRect sind die Screen-Koordinaten
-|*
-\************************************************************************/
+/**
+ * We create the window here
+ * You can get the position of the toolbox with GetToolBox()
+ * rItemRect are screen coordinates
+ */
SfxPopupWindow* SdTbxControl::CreatePopupWindow()
{
@@ -140,8 +135,8 @@ void SdTbxControl::StateChanged( sal_uInt16 nSId,
if( eState == SFX_ITEM_AVAILABLE )
{
TbxImageItem* pItem = PTR_CAST( TbxImageItem, pState );
- // Im StarDesktop kann jetzt auch ein anderes Item ankommen,
- // das nicht ausgewertet werden darf
+ // StarDesktop can also receive another item,
+ // but it is not allowed to evaluate it
if( pItem )
{
ToolBox& rTbx = GetToolBox();
@@ -160,7 +155,7 @@ void SdTbxControl::StateChanged( sal_uInt16 nSId,
hasBigImages()
);
- // !-Operator prueft, ob Image nicht vorhanden ist
+ // !-operator checks if image is not present
if( !!aImage )
{
rTbx.SetItemImage( GetId(), aImage );