summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCor Nouws <oolst@nouenoff.nl>2011-11-21 14:23:29 +0100
committerMichael Meeks <michael.meeks@suse.com>2011-11-21 14:36:32 +0000
commit4d399eea4283173d0b8c766376ad538f1e088d92 (patch)
treeae78562e00c8d9fd914067e4c19c737292379d7e /svx
parentbce71931ab08ef741b324664d9a69b3be1ff7a3b (diff)
Updated transl. German comments - removd obsolete time/date comm
Diffstat (limited to 'svx')
-rw-r--r--svx/source/stbctrls/pszctrl.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/svx/source/stbctrls/pszctrl.cxx b/svx/source/stbctrls/pszctrl.cxx
index 3b83715cc743..ebaf1c03708f 100644
--- a/svx/source/stbctrls/pszctrl.cxx
+++ b/svx/source/stbctrls/pszctrl.cxx
@@ -171,7 +171,7 @@ struct SvxPosSizeStatusBarControl_Impl
/* [Description]
Ctor():
- Create an intance of the implementation class, enable the page numbering by default
+ Create an instance of the implementation class,
load the images for the position and size
*/
@@ -223,18 +223,16 @@ SvxPosSizeStatusBarControl::~SvxPosSizeStatusBarControl()
NULL/Void SfxPointItem SvxSizeItem SfxStringItem
------------------------------------------------------------------------
- Time sal_True sal_False sal_False FALSE
Position sal_False FALSE
Size FALSE TRUE FALSE
Text sal_False sal_False TRUE
- Another item resulst in an assert, that enables showing of the time.
*/
void SvxPosSizeStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState )
{
- // the combi-controller, always set the curent Id as HelpId
+ // Because the combi-controller, always sets the curent Id as HelpId
// first clean the cached HelpText
GetStatusBar().SetHelpText( GetId(), String() );
@@ -298,7 +296,6 @@ void SvxPosSizeStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
else
{
DBG_ERRORFILE( "invalid item type" );
- // nevertheless show date and time
pImp->bPos = sal_False;
pImp->bSize = sal_False;
pImp->bTable = sal_False;
@@ -307,8 +304,8 @@ void SvxPosSizeStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
if ( GetStatusBar().AreItemsVisible() )
GetStatusBar().SetItemData( GetId(), 0 );
- // set only strings as text at the statusBar, because the Help-Tips
- // functions, when the text is too long
+ // set only strings as text at the statusBar, so that the Help-Tips
+ // can work with the text, when it is too long for the statusBar
String aText;
if ( pImp->bTable )
aText = pImp->aStr;