From 8e2e03b1c36375735c4fcfa44ba762d0cbc4ef29 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 30 Sep 2019 09:48:30 +0200 Subject: loplugin:duplicate-defines in UnoControls these are only used by internal code, so move inside the relevant .cxx file Change-Id: If7cdf17a49ff3089ad2100961092dd2747523a8d Reviewed-on: https://gerrit.libreoffice.org/79830 Tested-by: Jenkins Reviewed-by: Noel Grandin --- UnoControls/source/controls/progressmonitor.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'UnoControls/source/controls/progressmonitor.cxx') diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx index f973bc89c072..76633befd14d 100644 --- a/UnoControls/source/controls/progressmonitor.cxx +++ b/UnoControls/source/controls/progressmonitor.cxx @@ -39,6 +39,15 @@ using namespace ::com::sun::star::awt; using ::std::vector; using ::std::find; +#define FIXEDTEXT_SERVICENAME "com.sun.star.awt.UnoControlFixedText" +#define FIXEDTEXT_MODELNAME "com.sun.star.awt.UnoControlFixedTextModel" +#define CONTROLNAME_TEXT "Text" // identifier the control in container +#define CONTROLNAME_PROGRESSBAR "ProgressBar" +#define BUTTON_SERVICENAME "com.sun.star.awt.UnoControlButton" +#define CONTROLNAME_BUTTON "Button" +#define BUTTON_MODELNAME "com.sun.star.awt.UnoControlButtonModel" +#define DEFAULT_BUTTONLABEL "Abbrechen" + namespace unocontrols { ProgressMonitor::ProgressMonitor( const css::uno::Reference< XComponentContext >& rxContext ) -- cgit