diff options
Diffstat (limited to 'UnoControls')
-rw-r--r-- | UnoControls/source/controls/statusindicator.cxx | 2 | ||||
-rw-r--r-- | UnoControls/source/inc/statusindicator.hxx | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx index fa9ef0ba82a6..240d148743a9 100644 --- a/UnoControls/source/controls/statusindicator.cxx +++ b/UnoControls/source/controls/statusindicator.cxx @@ -60,7 +60,7 @@ StatusIndicator::StatusIndicator( const css::uno::Reference< XComponentContext > m_xProgressBar->setVisible( true ); // Reset to defaults !!! // (progressbar take automatically its own defaults) - m_xText->setText( STATUSINDICATOR_DEFAULT_TEXT ); + m_xText->setText( "" ); --m_refCount; } diff --git a/UnoControls/source/inc/statusindicator.hxx b/UnoControls/source/inc/statusindicator.hxx index 50fcbddeefba..4760d3ea1ceb 100644 --- a/UnoControls/source/inc/statusindicator.hxx +++ b/UnoControls/source/inc/statusindicator.hxx @@ -42,7 +42,6 @@ class ProgressBar; #define FIXEDTEXT_MODELNAME "com.sun.star.awt.UnoControlFixedTextModel" #define CONTROLNAME_TEXT "Text" // identifier the control in container #define CONTROLNAME_PROGRESSBAR "ProgressBar" // -||- -#define STATUSINDICATOR_DEFAULT_TEXT "\0" #define STATUSINDICATOR_BACKGROUNDCOLOR TRGB_COLORDATA( 0x00, 0xC0, 0xC0, 0xC0 ) // lighgray #define STATUSINDICATOR_LINECOLOR_BRIGHT TRGB_COLORDATA( 0x00, 0xFF, 0xFF, 0xFF ) // white #define STATUSINDICATOR_LINECOLOR_SHADOW TRGB_COLORDATA( 0x00, 0x00, 0x00, 0x00 ) // black |