summaryrefslogtreecommitdiff
path: root/fpicker/source
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source')
-rw-r--r--fpicker/source/win32/folderpicker/MtaFop.cxx7
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(