diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-19 17:22:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-19 18:00:35 +0100 |
commit | f8db395a8a2ad89802a52c68c428a6d0d6bd5476 (patch) | |
tree | c0da19049a5841815407440155c94899e3fac3cf /UnoControls/source/inc/progressmonitor.hxx | |
parent | better use OUString::endsWithIgnoreAsciiCase() (diff) | |
download | core-f8db395a8a2ad89802a52c68c428a6d0d6bd5476.tar.gz core-f8db395a8a2ad89802a52c68c428a6d0d6bd5476.zip |
Clean up UnoControls/source/controls/ further
...and create ProgressBar directly in ProgressMonitor/StatusIndicator, instead
of going via service manager.
Change-Id: I798e0c415c113cfc65d70ed17cb16aafded41a6d
Diffstat (limited to 'UnoControls/source/inc/progressmonitor.hxx')
-rw-r--r-- | UnoControls/source/inc/progressmonitor.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx index 759ea6d92698..3779fe687fdd 100644 --- a/UnoControls/source/inc/progressmonitor.hxx +++ b/UnoControls/source/inc/progressmonitor.hxx @@ -57,6 +57,7 @@ #include <com/sun/star/awt/XCheckBox.hpp> #include <com/sun/star/awt/XLayoutConstrains.hpp> #include <com/sun/star/awt/XProgressBar.hpp> +#include <rtl/ref.hxx> #include <vector> @@ -64,8 +65,8 @@ namespace unocontrols{ -#define SERVICENAME_PROGRESSMONITOR "com.sun.star.awt.XProgressMonitor" -#define IMPLEMENTATIONNAME_PROGRESSMONITOR "stardiv.UnoControls.ProgressMonitor" +class ProgressBar; + #define PROGRESSMONITOR_FREEBORDER 10 // border around and between the controls #define FIXEDTEXT_SERVICENAME "com.sun.star.awt.UnoControlFixedText" #define BUTTON_SERVICENAME "com.sun.star.awt.UnoControlButton" @@ -758,7 +759,7 @@ private: ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFixedText > m_xTopic_Bottom ; // (used, if parameter "beforeProgress"=sal_False in "addText, updateText, removeText") ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFixedText > m_xText_Bottom ; - ::com::sun::star::uno::Reference< ::com::sun::star::awt::XProgressBar > m_xProgressBar ; + rtl::Reference<ProgressBar> m_xProgressBar; ::com::sun::star::uno::Reference< ::com::sun::star::awt::XButton > m_xButton ; ::com::sun::star::awt::Rectangle m_a3DLine ; |