[Libreoffice-commits] core.git: fpicker/source
Caolán McNamara
caolanm at redhat.com
Thu May 18 13:14:20 UTC 2017
fpicker/source/win32/folderpicker/MtaFop.cxx | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
New commits:
commit a633ffc88c438e4af436c0e66c21ffffa8a6f8c9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu May 18 11:03:06 2017 +0100
gives names to mysterious 500 and 501
Change-Id: Ie2b02f10ab100ce11330d1a0808e60a02394e230
Reviewed-on: https://gerrit.libreoffice.org/37750
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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(
More information about the Libreoffice-commits
mailing list