summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-07-02 06:28:57 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-07-02 06:29:10 +0200
commit1136fa4fc40cba46272e06b529064a02a140803f (patch)
treeb4708277684b12738f5e80f5704d5e3c8457d6b5 /fpicker
parent2f7461722ccee315fe9f85aa651bca1c46adf263 (diff)
Remove unused defines
Change-Id: Ibc46eb4565d4df88e83882045b2ed6d31e487d16
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePicker.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index 144be502cd96..b2f7692943da 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
@@ -137,29 +137,6 @@ namespace
#endif
//-----------------------------------------------------------------------------------------
-#define VISTAFILEDIALOG_CHECKED_COMCALL(PARAM_CODE, PARAM_LOGMESSAGE, PARAM_ERRORMESSAGE) \
- { \
- HRESULT aResult; \
- VISTAFILEDIALOG_CHECKED_COMCALL_WITH_RETURN(aResult, PARAM_CODE, PARAM_LOGMESSAGE, PARAM_ERRORMESSAGE) \
- }
-
-//-----------------------------------------------------------------------------------------
-#define VISTAFILEDIALOG_CHECKED_COMCALL_WITH_RETURN(RETURN_HR, PARAM_CODE, PARAM_LOGMESSAGE, PARAM_ERRORMESSAGE) \
- { \
- LOG_FILE(PARAM_LOGMESSAGE) \
- RETURN_HR = PARAM_CODE; \
- if ( FAILED(RETURN_HR) ) \
- { \
- LOG_FILE_1_PARAM("will throw exception for checked COM call:\n%s", PARAM_ERRORMESSAGE) \
- throw css::uno::RuntimeException( \
- ::rtl::OUString::createFromAscii(PARAM_ERRORMESSAGE), \
- css::uno::Reference< css::ui::dialogs::XFilePicker >()); \
- } \
- }
-
-
-
-//-----------------------------------------------------------------------------------------
VistaFilePicker::VistaFilePicker(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR)
: TVistaFilePickerBase (m_aMutex )
, m_xSMGR (xSMGR )