diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-05-18 11:03:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-05-18 15:13:16 +0200 |
commit | a633ffc88c438e4af436c0e66c21ffffa8a6f8c9 (patch) | |
tree | c46e66ee240c1259eb84f8b2bbdf7b6418d562e0 /fpicker/source/win32 | |
parent | 1469a83ca1d712e30131597d70dad1b3eb322175 (diff) |
gives names to mysterious 500 and 501
Change-Id: Ie2b02f10ab100ce11330d1a0808e60a02394e230
Reviewed-on: https://gerrit.libreoffice.org/37750
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'fpicker/source/win32')
-rw-r--r-- | fpicker/source/win32/folderpicker/MtaFop.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
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( |