From a633ffc88c438e4af436c0e66c21ffffa8a6f8c9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 18 May 2017 11:03:06 +0100 Subject: gives names to mysterious 500 and 501 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie2b02f10ab100ce11330d1a0808e60a02394e230 Reviewed-on: https://gerrit.libreoffice.org/37750 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- fpicker/source/win32/folderpicker/MtaFop.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'fpicker/source/win32') diff --git a/fpicker/source/win32/folderpicker/MtaFop.cxx b/fpicker/source/win32/folderpicker/MtaFop.cxx index 3bd3f519672b..3bee561b9304 100644 --- a/fpicker/source/win32/folderpicker/MtaFop.cxx +++ b/fpicker/source/win32/folderpicker/MtaFop.cxx @@ -37,6 +37,9 @@ const bool MANUAL_RESET = true; const bool AUTO_RESET = false; const bool INIT_NONSIGNALED = false; +#define FOLDERPICKER_TITLE 500 +#define FOLDER_PICKER_DEF_DESCRIPTION 501 + namespace { const char* const FOLDERPICKER_SRV_DLL_NAME = "fps.dll"; @@ -141,8 +144,8 @@ CMtaFolderPicker::CMtaFolderPicker( sal_uInt32 Flags ) : CResourceProvider ResProvider; - m_dialogTitle = ResProvider.getResString( 500 ); - m_Description = ResProvider.getResString( 501 ); + m_dialogTitle = ResProvider.getResString(FOLDERPICKER_TITLE); + m_Description = ResProvider.getResString(FOLDER_PICKER_DEF_DESCRIPTION); // signals that the thread was successfully set up m_hEvtThrdReady = CreateEventA( -- cgit