[Libreoffice-commits] .: Branch 'feature/vs2012' - 807 commits - accessibility/bridge accessibility/inc accessibility/Library_acc.mk accessibility/Library_java_uno_accessbridge.mk accessibility/Makefile accessibility/source afms/delzip afms/Makefile afms/makefile.mk afms/Module_afms.mk afms/prj afms/UnpackedTarball_afms.mk afms/Zip_fontunxafm.mk android/abs-lib android/experimental android/sdremote animations/Library_animcore.mk animations/source apache-commons/ExternalProject_apache_commons_codec.mk apache-commons/ExternalProject_apache_commons_httpclient.mk apache-commons/ExternalProject_apache_commons_lang.mk apache-commons/ExternalProject_apache_commons_logging.mk apache-commons/java apache-commons/Makefile apache-commons/Module_apache-commons.mk apache-commons/Package_apache_commons_codec.mk apache-commons/Package_apache_commons_httpclient.mk apache-commons/Package_apache_commons_lang.mk apache-commons/Package_apache_commons_logging.mk apache-commons/patches apache-commons/prj apache -commons/UnpackedTarball_apache_commons_codec.mk apache-commons/UnpackedTarball_apache_commons_httpclient.mk apache-commons/UnpackedTarball_apache_commons_lang.mk apache-commons/UnpackedTarball_apache_commons_logging.mk apple_remote/Library_AppleRemote.mk avmedia/inc avmedia/Library_avmediagst_0_10.mk avmedia/Library_avmediagst.mk avmedia/Library_avmedia.mk avmedia/Library_avmediaQuickTime.mk avmedia/Library_avmediawin.mk avmedia/Makefile avmedia/Module_avmedia.mk avmedia/source avmedia/util basctl/Library_basctl.mk basctl/source basctl/util basebmp/CppunitTest_basebmp.mk basebmp/Library_basebmp.mk basebmp/source basebmp/StaticLibrary_basebmp.mk basegfx/CppunitTest_basegfx.mk basegfx/inc basegfx/Library_basegfx.mk basic/CppunitTest_basic_enable.mk basic/CppunitTest_basic_nested_struct.mk basic/CppunitTest_basic_scanner.mk basic/Library_sb.mk basic/source bean/Library_officebean.mk beanshell/ExternalProject_beanshell.mk beanshell/Makefile beanshell/makefile.mk beanshell/Modul e_beanshell.mk beanshell/Package_beanshell.mk beanshell/prj beanshell/UnpackedTarball_beanshell.mk binaryurp/CppunitTest_binaryurp_test-cache.mk binaryurp/CppunitTest_binaryurp_test-unmarshal.mk binaryurp/Library_binaryurp.mk binaryurp/source bluez_bluetooth/prj boost/boost.6397.warnings.patch boost/boost.vc2012.patch bridges/CustomTarget_gcc3_ios_arm.mk bridges/CustomTarget_gcc3_linux_arm.mk bridges/inc bridges/Library_gcc3_aix_powerpc.mk bridges/Library_gcc3_ios_arm.mk bridges/Library_gcc3_linux_alpha.mk bridges/Library_gcc3_linux_arm.mk bridges/Library_gcc3_linux_hppa.mk bridges/Library_gcc3_linux_ia64.mk bridges/Library_gcc3_linux_intel.mk bridges/Library_gcc3_linux_m68k.mk bridges/Library_gcc3_linux_mips.mk bridges/Library_gcc3_linux_powerpc64.mk bridges/Library_gcc3_linux_powerpc.mk bridges/Library_gcc3_linux_s390.mk bridges/Library_gcc3_linux_s390x.mk bridges/Library_gcc3_linux_sparc.mk bridges/Library_gcc3_linux_x86-64.mk bridges/Library_gcc3_macosx_powerpc.mk bridge s/Library_gcc3_macosx_x86-64.mk bridges/Library_gcc3_solaris_intel.mk bridges/Library_gcc3_solaris_sparc.mk bridges/Library_java_uno.mk bridges/Module_bridges.mk bridges/source bridges/test cairo/prj canvas/Library_cairocanvas.mk canvas/Library_canvasfactory.mk canvas/Library_canvastools.mk canvas/Library_directx9canvas.mk canvas/Library_gdipluscanvas.mk canvas/Library_nullcanvas.mk canvas/Library_simplecanvas.mk canvas/Library_vclcanvas.mk canvas/source canvas/StaticLibrary_directxcanvas.mk chart2/Library_chartcontroller.mk chart2/Library_chartcore.mk chart2/source cli_ure/CliLibrary_cli_basetypes.mk cli_ure/CliUnoApi_cli_uretypes.mk cli_ure/CustomTarget_cli_ure_assemblies.mk cli_ure/Executable_climaker.mk cli_ure/Library_cli_cppuhelper_native.mk cli_ure/Library_cli_uno.mk cli_ure/source clucene/Library_clucene.mk codemaker/source codemaker/StaticLibrary_codemaker_cpp.mk codemaker/StaticLibrary_codemaker_java.mk codemaker/StaticLibrary_codemaker.mk comphelper/CppunitTest_co mphelper_test.mk comphelper/inc comphelper/Library_comphelper.mk comphelper/qa comphelper/source config_host.mk.in configmgr/Library_configmgr.mk configure.in connectivity/com connectivity/inc connectivity/Library_ado.mk connectivity/Library_calc.mk connectivity/Library_dbase.mk connectivity/Library_dbpool2.mk connectivity/Library_dbtools.mk connectivity/Library_evoab.mk connectivity/Library_file.mk connectivity/Library_flat.mk connectivity/Library_hsqldb.mk connectivity/Library_jdbc.mk connectivity/Library_kab1.mk connectivity/Library_kabdrv1.mk connectivity/Library_macab1.mk connectivity/Library_macabdrv1.mk connectivity/Library_mork.mk connectivity/Library_mozabdrv.mk connectivity/Library_mozab.mk connectivity/Library_mozbootstrap.mk connectivity/Library_mysql.mk connectivity/Library_odbcbase.mk connectivity/Library_odbc.mk connectivity/Library_postgresql-sdbc-impl.mk connectivity/Library_postgresql-sdbc.mk connectivity/Library_sdbc2.mk connectivity/Library_tdeab1.mk conn ectivity/Library_tdeabdrv1.mk connectivity/org connectivity/qa connectivity/source cppcanvas/Library_cppcanvas.mk cppcanvas/Library_mtfrenderer.mk cppu/CppunitTest_cppu_checkapi.mk cppu/CppunitTest_cppu_qa_any.mk cppu/CppunitTest_cppu_qa_recursion.mk cppu/CppunitTest_cppu_qa_reference.mk cppu/CppunitTest_cppu_qa_unotype.mk cppu/CppunitTest_cppu_test_cppumaker.mk cppuhelper/CppunitTest_cppuhelper_checkapi.mk cppuhelper/CppunitTest_cppuhelper_cppu_ifcontainer.mk cppuhelper/CppunitTest_cppuhelper_cppu_unourl.mk cppuhelper/CppunitTest_cppuhelper_qa_weak.mk cppuhelper/inc cppuhelper/Library_cppuhelper.mk cppu/inc cppu/Library_affine_uno.mk cppu/Library_cppu.mk cppu/Library_log_uno.mk cppu/Library_purpenvhelper.mk cppu/Library_unsafe_uno.mk cppunit/android.patch cppunit/disable-dynloading.patch cppunit/ios.patch cppunit/makefile.mk cppunit/unix.patch cppunit/windows.patch cppu/source cpputools/Executable_regcomp.mk cpputools/Executable_regsingleton.mk cpputools/Executable_uno.mk c pputools/source crashrep/source cross_tail_build/prj cui/AllLangResTarget_cui.mk cui/Library_cui.mk cui/Module_cui.mk cui/source cui/uiconfig cui/UI_cui.mk cui/util dbaccess/CppunitTest_dbaccess_macros_test.mk dbaccess/Executable_odbcconfig.mk dbaccess/inc dbaccess/Library_dba.mk dbaccess/Library_dbaxml.mk dbaccess/Library_dbmm.mk dbaccess/Library_dbu.mk dbaccess/Library_sdbt.mk dbaccess/Makefile dbaccess/qa dbaccess/source desktop/Executable_crashrep.com.mk desktop/Executable_officeloader.mk desktop/Executable_oosplash.mk desktop/Executable_quickstart.mk desktop/Executable_sbase.mk desktop/Executable_scalc.mk desktop/Executable_sdraw.mk desktop/Executable_simpress.mk desktop/Executable_smath.mk desktop/Executable_soffice_bin.mk desktop/Executable_soffice.bin.mk desktop/Executable_soffice.mk desktop/Executable_sweb.mk desktop/Executable_swriter.mk desktop/Executable_unopkg.bin.mk desktop/inc desktop/Library_deploymentgui.mk desktop/Library_deploymentmisc.mk desktop/Library_d eployment.mk desktop/Library_migrationoo2.mk desktop/Library_migrationoo3.mk desktop/Library_offacc.mk desktop/Library_sofficeapp.mk desktop/Library_spl.mk desktop/Library_spl_unx.mk desktop/Library_unopkgapp.mk desktop/scripts desktop/source desktop/unx distro-configs/LibreOfficeMacOSX.conf distro-configs/LibreOfficeMinGW.conf distro-configs/LibreOfficeWin32.conf distro-configs/LibreOfficeWin64.conf download drawinglayer/Library_drawinglayer.mk drawinglayer/source dtrans/Library_dnd.mk dtrans/Library_dtrans.mk dtrans/Library_ftransl.mk dtrans/Library_mcnttype.mk dtrans/Library_sysdtrans.mk dtrans/source editeng/CppunitTest_editeng_borderline.mk editeng/CppunitTest_editeng_core.mk editeng/CppunitTest_editeng_lookuptree.mk editeng/inc editeng/Library_editeng.mk editeng/source embeddedobj/Library_embobj.mk embeddedobj/Library_emboleobj.mk embeddedobj/Makefile embeddedobj/qa embeddedobj/source embeddedobj/test embeddedobj/util embedserv/Library_emser.mk embedserv/Library_inproc serv.mk embedserv/source embedserv/util eventattacher/Library_evtatt.mk extensions/CppunitTest_extensions_test_update.mk extensions/Executable_nsplugin.mk extensions/Library_abp.mk extensions/Library_bib.mk extensions/Library_dbp.mk extensions/Library_ldapbe2.mk extensions/Library_log.mk extensions/Library_npsoplugin.mk extensions/Library_oleautobridge2.mk extensions/Library_oleautobridge.mk extensions/Library_OOoSpotlightImporter.mk extensions/Library_pcr.mk extensions/Library_pl.mk extensions/Library_res.mk extensions/Library_scn.mk extensions/Library_so_activex.mk extensions/Library_so_activex_x64.mk extensions/Library_updchk.mk extensions/qa extensions/source extensions/workben external/msm100 external/msm110 external/prj external/rebase extras/source fileaccess/Library_fileacc.mk fileaccess/source filter/CppunitTest_filter_pict_test.mk filter/CppunitTest_filter_tga_test.mk filter/CppunitTest_filter_tiff_test.mk filter/Executable_svg2odf.mk filter/Library_egi.mk filter/L ibrary_eme.mk filter/Library_epb.mk filter/Library_epg.mk filter/Library_epp.mk filter/Library_eps.mk filter/Library_ept.mk filter/Library_era.mk filter/Library_eti.mk filter/Library_exp.mk filter/Library_filterconfig.mk filter/Library_flash.mk filter/Library_icd.mk filter/Library_icg.mk filter/Library_idx.mk filter/Library_ime.mk filter/Library_ipb.mk filter/Library_ipd.mk filter/Library_ips.mk filter/Library_ipt.mk filter/Library_ipx.mk filter/Library_ira.mk filter/Library_itg.mk filter/Library_iti.mk filter/Library_msfilter.mk filter/Library_odfflatxml.mk filter/Library_pdffilter.mk filter/Library_placeware.mk filter/Library_PptImporter.mk filter/Library_svgfilter.mk filter/Library_t602filter.mk filter/Library_textfd.mk filter/Library_xmlfa.mk filter/Library_xmlfd.mk filter/Library_xsltdlg.mk filter/Library_xsltfilter.mk filter/Module_filter.mk filter/qa filter/source forms/Library_frm.mk forms/qa forms/source forms/util formula/Library_for.mk formula/Library_forui.mk fpi cker/Library_fpicker.mk fpicker/Library_fps_aqua.mk fpicker/Library_fps.mk fpicker/Library_fps_odma.mk fpicker/Library_fps_office.mk fpicker/source framework/inc framework/Library_fwe.mk framework/Library_fwi.mk framework/Library_fwk.mk framework/Library_fwl.mk framework/Library_fwm.mk framework/Library_lomenubar.mk framework/source gdk-pixbuf/prj graphite/README helpcompiler/Executable_helpindexer.mk helpcompiler/Executable_helplinker.mk helpcompiler/inc helpcompiler/Library_helplinker.mk helpcompiler/Makefile helpcompiler/source hsqldb/patches hwpfilter/CppunitTest_hwpfilter_test_hwpfilter.mk hwpfilter/Library_hwp.mk i18npool/CppunitTest_i18npool_test_breakiterator.mk i18npool/CppunitTest_i18npool_test_characterclassification.mk i18npool/CppunitTest_i18npool_test_languagetag.mk i18npool/CppunitTest_i18npool_test_ordinalsuffix.mk i18npool/Executable_gencoll_rule.mk i18npool/Executable_genconv_dict.mk i18npool/Executable_gendict.mk i18npool/Executable_genindex_data.mk i18npo ol/Executable_saxparser.mk i18npool/inc i18npool/Library_collator_data.mk i18npool/Library_dict_ja.mk i18npool/Library_dict_zh.mk i18npool/Library_i18nisolang1.mk i18npool/Library_i18npool.mk i18npool/Library_i18nsearch.mk i18npool/Library_index_data.mk i18npool/Library_localedata_en.mk i18npool/Library_localedata_es.mk i18npool/Library_localedata_euro.mk i18npool/Library_localedata_others.mk i18npool/Library_textconv_dict.mk i18npool/source i18nutil/Library_i18nutil.mk idlc/Executable_idlc.mk idlc/inc idlc/prj idlc/source idl/Executable_svidl.mk instsetoo_native/inc_ooohelppack instsetoo_native/inc_ooolangpack instsetoo_native/inc_openoffice instsetoo_native/inc_sdkoo instsetoo_native/inc_ure io/Library_acceptor.mk io/Library_connector.mk io/Library_streams.mk io/Library_textinstream.mk io/Library_textoutstream.mk io/source javaunohelper/com javaunohelper/Library_juh.mk javaunohelper/Library_juhx.mk jurt/com jurt/Library_jpipe.mk jurt/Library_jpipx.mk jvmaccess/Library_jvma ccess.mk jvmfwk/Executable_javaldx.mk jvmfwk/Library_jvmfwk.mk jvmfwk/Library_sunjavaplugin.mk jvmfwk/source l10ntools/Executable_gsicheck.mk l10ntools/Executable_uiex.mk l10ntools/Executable_ulfconv.mk l10ntools/inc l10ntools/Makefile l10ntools/Module_l10ntools.mk l10ntools/scripts l10ntools/source l10ntools/StaticLibrary_transex.mk lcms2/makefile.mk liborcus/ExternalProject_liborcus.mk Library_merged.mk libwpd/ExternalPackage_libwpd.mk libwpd/ExternalProject_libwpd.mk libwpd/libwpd-0.9.4-gcc-osldebug2-warning.patch libwpd/libwpd-0.9.4-msvc-warning.patch libwpd/libwpd-0.9.4.patch libwpd/libwpd-0.9.4-warning.patch libwpd/Module_libwpd.mk libwpd/StaticLibrary_wpd.mk libwpd/UnpackedTarball_wpd.mk lingucomponent/Library_guesslang.mk lingucomponent/Library_hyphen.mk lingucomponent/Library_lnth.mk lingucomponent/Library_MacOSXSpell.mk lingucomponent/Library_spell.mk lingucomponent/source lingucomponent/StaticLibrary_ulingu.mk linguistic/Library_lng.mk linguistic/source lotuswordp ro/CppunitTest_lotuswordpro_test_lotuswordpro.mk lotuswordpro/Library_lwpft.mk lotuswordpro/source lotuswordpro/util Makefile.top Module_cross_tail_build.mk Module_tail_build.mk more_fonts/Makefile more_fonts/Module_more_fonts.mk more_fonts/Package_conf.mk more_fonts/Package_dejavu.mk more_fonts/Package_gentium.mk more_fonts/Package_liberation.mk more_fonts/Package_liberation_narrow.mk more_fonts/Package_libertineg.mk more_fonts/prj more_fonts/UnpackedTarball_dejavu.mk more_fonts/UnpackedTarball_gentium.mk more_fonts/UnpackedTarball_liberation.mk more_fonts/UnpackedTarball_liberation_narrow.mk more_fonts/UnpackedTarball_libertineg.mk mysqlc/source neon/Library_neon.mk nlpsolver/src nss/prj o3tl/CppunitTest_o3tl_tests.mk o3tl/inc odk/examples odk/pack odk/util offapi/com offapi/Makefile offapi/type_reference offapi/UnoApi_offapi.mk offapi/util officecfg/CppunitTest_officecfg_cppheader_test.mk ooo.lst.in oowintool oox/inc oox/Library_oox.mk oox/source oox/util openssl/makefile .mk package/Library_package2.mk package/Library_xstor.mk package/source padmin/Executable_spadmin.bin.mk padmin/Library_spa.mk padmin/source post_download.in postprocess/checkxml postprocess/packcomponents postprocess/packconfig postprocess/prj postprocess/rebase python/makefile.mk python/Python-2.6.1-vc12.patch pyuno/Library_pyuno_wrapper.mk pyuno/source qadevOOo/qa qadevOOo/runner qadevOOo/testdocs qadevOOo/tests rdbmaker/inc rdbmaker/source regexp/Library_regexp.mk registry/Library_reg.mk registry/source remotebridges/Library_uuresolver.mk remotebridges/source reportdesign/inc reportdesign/Library_rpt.mk reportdesign/Library_rptui.mk reportdesign/Library_rptxml.mk reportdesign/Makefile reportdesign/prj reportdesign/qa reportdesign/source reportdesign/uiconfig reportdesign/util RepositoryExternal.mk RepositoryFixes.mk Repository.mk RepositoryModule_ooo.mk rsc/Executable_rsc.mk rsc/source sal/CppunitTest_Module_DLL.mk sal/CppunitTest_sal_bytesequence.mk sal/CppunitTest_sal_ checkapi.mk sal/CppunitTest_sal_osl_condition.mk sal/CppunitTest_sal_osl_file.mk sal/CppunitTest_sal_osl_getsystempathfromfileurl.mk sal/CppunitTest_sal_osl_module.mk sal/CppunitTest_sal_osl_mutex.mk sal/CppunitTest_sal_osl_old_test_file.mk sal/CppunitTest_sal_osl_pipe.mk sal/CppunitTest_sal_osl_process.mk sal/CppunitTest_sal_osl_profile.mk sal/CppunitTest_sal_osl_security.mk sal/CppunitTest_sal_osl_setthreadname.mk sal/CppunitTest_sal_osl_thread.mk sal/CppunitTest_sal_rtl_alloc.mk sal/CppunitTest_sal_rtl_cipher.mk sal/CppunitTest_sal_rtl_crc32.mk sal/CppunitTest_sal_rtl_doublelock.mk sal/CppunitTest_sal_rtl_locale.mk sal/CppunitTest_sal_rtl_math.mk sal/CppunitTest_sal_rtl_ostringbuffer.mk sal/CppunitTest_sal_rtl_oustringbuffer.mk sal/CppunitTest_sal_rtl_strings.mk sal/CppunitTest_sal_rtl_uri.mk sal/CppunitTest_sal_rtl_uuid.mk sal/CppunitTest_sal_tcwf.mk sal/CppunitTest_sal_types.mk sal/Executable_cppunittester.mk sal/Executable_osl_process_child.mk salhelper/CppunitTest_sal helper_checkapi.mk salhelper/inc salhelper/Library_salhelper.mk sal/inc sal/Library_lo-bootstrap.mk sal/Library_sal.mk sal/Library_sal_textenc.mk sal/Library_uwinapi.mk sal/osl sal/rtl sal/util sax/CppunitTest_sax.mk sax/Library_expwrap.mk sax/Library_fastsax.mk sax/Library_sax.mk saxon/build.xml saxon/ExternalProject_saxon.mk saxon/Makefile saxon/makefile.mk saxon/Module_saxon.mk saxon/Package_saxon.mk saxon/prj saxon/saxon-9.0.0.7-bj.patch saxon/UnpackedTarball_saxon.mk sax/source sax/StaticLibrary_sax_shared.mk scaddins/Library_analysis.mk scaddins/Library_date.mk sccomp/Library_solver.mk sc/CppunitTest_sc_annotationshapeobj.mk sc/CppunitTest_sc_cellrangeobj.mk sc/CppunitTest_sc_chart_regression_test.mk sc/CppunitTest_sc_databaserangeobj.mk sc/CppunitTest_sc_datapilotfieldobj.mk sc/CppunitTest_sc_datapilottableobj.mk sc/CppunitTest_sc_editfieldobj_cell.mk sc/CppunitTest_sc_editfieldobj_header.mk sc/CppunitTest_sc_filters_test.mk sc/CppunitTest_sc_macros_test.mk sc/Cppunit Test_sc_modelobj.mk sc/CppunitTest_sc_namedrangeobj.mk sc/CppunitTest_sc_namedrangesobj.mk sc/CppunitTest_sc_rangelst_test.mk sc/CppunitTest_sc_subsequent_filters_test.mk sc/CppunitTest_sc_tableautoformatfield.mk sc/CppunitTest_sc_tablesheetobj.mk sc/CppunitTest_sc_tablesheetsobj.mk sc/CppunitTest_sc_ucalc.mk sc/inc sc/Library_scd.mk sc/Library_scfilt.mk sc/Library_sc.mk sc/Library_scui.mk sc/Library_vbaobj.mk sc/Module_sc.mk scp2/source sc/qa scripting/java scripting/Library_basprov.mk scripting/Library_dlgprov.mk scripting/Library_protocolhandler.mk scripting/Library_scriptframe.mk scripting/Library_stringresource.mk scripting/Library_vbaevents.mk scripting/source scripting/util scripting/workben sc/sdi sc/source sc/uiconfig sc/UI_scalc.mk sd/CppunitTest_sd_filters_test.mk sd/CppunitTest_sd_regression_test.mk sd/CppunitTest_sd_uimpress.mk sdext/CppunitTest_pdfimport.mk sdext/CustomTarget_presenter.mk sdext/Extension_minimizer.mk sdext/Extension_pdfimport.mk sdext/Extension _presenter.mk sdext/Library_presenter.mk sdext/Makefile sdext/platform.mk sdext/source sdext/StaticLibrary_pdfimport_s.mk sd/inc sd/Library_sdd.mk sd/Library_sdfilt.mk sd/Library_sd.mk sd/Library_sdui.mk sd/Module_sd.mk sd/source sd/uiconfig sd/UI_sdraw.mk sd/UI_simpress.mk sd/workben setup_native/source sfx2/CppunitTest_sfx2_metadatable.mk sfx2/inc sfx2/Library_qstart.mk sfx2/Library_sfx.mk sfx2/source sfx2/workben shell/Executable_gnome_open_url.mk shell/Executable_lngconvex.mk shell/Executable_senddoc.mk shell/Library_cmdmail.mk shell/Library_desktopbe.mk shell/Library_gconfbe.mk shell/Library_kde4be.mk shell/Library_kdebe.mk shell/Library_localebe.mk shell/Library_macbe.mk shell/Library_ooofilt.mk shell/Library_ooofilt_x64.mk shell/Library_propertyhdl.mk shell/Library_propertyhdl_x64.mk shell/Library_recentfile.mk shell/Library_shlxthdl.mk shell/Library_shlxthdl_x64.mk shell/Library_smplmail.mk shell/Library_syssh.mk shell/Library_syssh_win.mk shell/Library_tdebe.mk shel l/Library_wininetbe.mk shell/source slideshow/CppunitTest_slideshow.mk slideshow/Executable_demoshow.mk slideshow/Library_OGLTrans.mk slideshow/Library_slideshow.mk slideshow/source solenv/bin solenv/gbuild solenv/inc soltools/adjustvisibility soltools/checkdll soltools/cpp soltools/Executable_adjustvisibility.mk soltools/Executable_checkdll.mk soltools/Executable_cpp.mk soltools/Executable_javadep.mk soltools/Executable_ldump4.mk soltools/Executable_makedepend.mk soltools/giparser soltools/inc soltools/javadep soltools/ldump soltools/Makefile soltools/mkdepend soltools/Module_soltools.mk soltools/Package_inc.mk soltools/prj soltools/support soltools/testhxx soltools/util soltools/winunistd sot/CppunitTest_sot_test_sot.mk sot/Library_sot.mk starmath/CppunitTest_starmath_qa_cppunit.mk starmath/inc starmath/Library_smd.mk starmath/Library_sm.mk starmath/Module_starmath.mk starmath/qa starmath/source starmath/uiconfig starmath/UI_smath.mk stoc/Library_bootstrap.mk stoc/Library_ introspection.mk stoc/Library_invocadapt.mk stoc/Library_invocation.mk stoc/Library_javaloader.mk stoc/Library_javavm.mk stoc/Library_namingservice.mk stoc/Library_proxyfac.mk stoc/Library_reflection.mk stoc/Library_stocservices.mk stoc/source stoc/test stoc/util store/Library_store.mk store/source store/workben svl/CppunitTest_svl_lngmisc.mk svl/CppunitTest_svl_urihelper.mk svl/inc svl/Library_fsstorage.mk svl/Library_passwordcontainer.mk svl/Library_svl.mk svl/source svtools/CppunitTest_svtools_filters_test.mk svtools/Executable_bmp.mk svtools/Executable_bmpsum.mk svtools/Executable_g2g.mk svtools/Executable_langsupport.mk svtools/inc svtools/Library_hatchwindowfactory.mk svtools/Library_svt.mk svtools/source svx/Executable_gengal.bin.mk svx/inc svx/Library_svxcore.mk svx/Library_svx.mk svx/Library_textconversiondlgs.mk svx/sdi svx/source sw/AllLangResTarget_sw.mk sw/CppunitTest_sw_filters_test.mk sw/CppunitTest_sw_layout_test.mk sw/CppunitTest_sw_macros_test.mk sw/Cppunit Test_sw_regression_test.mk sw/CppunitTest_sw_subsequent_odfexport.mk sw/CppunitTest_sw_subsequent_odfimport.mk sw/CppunitTest_sw_subsequent_ooxmlexport.mk sw/CppunitTest_sw_subsequent_ooxmlimport.mk sw/CppunitTest_sw_subsequent_rtfexport.mk sw/CppunitTest_sw_subsequent_rtfimport.mk sw/CppunitTest_sw_subsequent_ww8export.mk sw/CppunitTest_sw_subsequent_ww8import.mk sw/CppunitTest_sw_swdoc_test.mk swext/mediawiki sw/inc sw/Library_msword.mk sw/Library_swd.mk sw/Library_sw.mk sw/Library_swui.mk sw/Library_vbaswobj.mk sw/Module_sw.mk sw/Package_uiconfig.mk sw/qa sw/source sw/uiconfig sw/UI_sw.mk sw/UI_swriter.mk tail_build/prj test/inc test/Library_subsequenttest.mk test/Library_test.mk test/Package_inc.mk test/source testtools/source testtools/StaticLibrary_bridgetest.mk tomcat/build.xml tomcat/ExternalProject_tomcat.mk tomcat/Makefile tomcat/Module_tomcat.mk tomcat/Package_tomcat.mk tomcat/prj tomcat/tomcat.patch tomcat/UnpackedTarball_tomcat.mk toolkit/inc toolkit/Library_tk. mk toolkit/source tools/CppunitTest_tools_test.mk tools/Executable_bestreversemap.mk tools/Executable_mkunroll.mk tools/Executable_rscdep.mk tools/Executable_so_checksum.mk tools/inc tools/Library_tl.mk tools/source touch/Library_libotouch.mk tubes/CppunitTest_tubes_test.mk tubes/Library_tubes.mk tubes/qa ucbhelper/Library_ucbhelper.mk ucb/Library_cached1.mk ucb/Library_srtrs1.mk ucb/Library_ucb1.mk ucb/Library_ucpcmis1.mk ucb/Library_ucpdav1.mk ucb/Library_ucpexpand1.mk ucb/Library_ucpext.mk ucb/Library_ucpfile1.mk ucb/Library_ucpftp1.mk ucb/Library_ucpgio1.mk ucb/Library_ucpgvfs1.mk ucb/Library_ucphier1.mk ucb/Library_ucpodma1.mk ucb/Library_ucppkg1.mk ucb/Library_ucptdoc1.mk ucb/qa ucb/source ucb/workben ucpp/Makefile udm/StaticLibrary_udm.mk UnoControls/Library_ctl.mk unotest/Library_unobootstrapprotector.mk unotest/Library_unoexceptionprotector.mk unotest/Library_unotest.mk unotools/inc unotools/Library_utl.mk unotools/source unoxml/Library_unordf.mk unoxml/Library_unox ml.mk unoxml/source unusedcode.easy ure/README uui/Library_uui.mk vbahelper/Library_msforms.mk vbahelper/Library_vbahelper.mk vbahelper/source vbahelper/util vcl/aqua vcl/Executable_kdefilepicker.mk vcl/Executable_tdefilepicker.mk vcl/Executable_ui-previewer.mk vcl/inc vcl/Library_desktop_detector.mk vcl/Library_vcl.mk vcl/Library_vclplug_gen.mk vcl/Library_vclplug_gtk3.mk vcl/Library_vclplug_gtk.mk vcl/Library_vclplug_kde4.mk vcl/Library_vclplug_kde.mk vcl/Library_vclplug_svp.mk vcl/Library_vclplug_tde.mk vcl/Module_vcl.mk vcl/Package_inc.mk vcl/qa vcl/source vcl/StaticLibrary_headless.mk vcl/StaticLibrary_vclmain.mk vcl/uiconfig vcl/UI_vcl.mk vcl/unx wizards/com writerfilter/CppunitTest_writerfilter_doctok.mk writerfilter/CppunitTest_writerfilter_rtftok.mk writerfilter/Library_writerfilter.mk writerfilter/Library_writerfilter_uno.mk writerfilter/source writerfilter/util writerperfect/Library_wpftdraw.mk writerperfect/Library_wpftwriter.mk writerperfect/StaticLibrary_writer perfect.mk xmerge/source xml2cmp/Executable_xml2cmp.mk xmlhelp/source xmloff/inc xmloff/Library_xof.mk xmloff/Library_xo.mk xmloff/source xmlreader/Library_xmlreader.mk xmlscript/Library_xmlscript.mk xmlscript/source xmlscript/test xmlsecurity/CppunitTest_qa_certext.mk xmlsecurity/inc xmlsecurity/Library_xmlsecurity.mk xmlsecurity/Library_xsec_fw.mk xmlsecurity/Library_xsec_xmlsec.mk xmlsecurity/source xmlsecurity/workben xsltml/ExternalPackage_xsltml.mk xsltml/Makefile xsltml/makefile.mk xsltml/Module_xsltml.mk xsltml/prj xsltml/UnpackedTarball_xsltml.mk xsltml/xsltml_2.1.2.patch

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Oct 2 11:39:17 PDT 2012


Rebased ref, commits from common ancestor:
commit ddc83c658c03b3989bf2ad898df1936ee28490c6
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Tue Oct 2 14:26:12 2012 -0400

    add cppuhelper to sw tests
    
    Change-Id: Ie50c7adf5bd4ba1b18a8deb3e708bcf83a2777af

diff --git a/sw/CppunitTest_sw_subsequent_ooxmlexport.mk b/sw/CppunitTest_sw_subsequent_ooxmlexport.mk
index 588349c..9eff7dd 100644
--- a/sw/CppunitTest_sw_subsequent_ooxmlexport.mk
+++ b/sw/CppunitTest_sw_subsequent_ooxmlexport.mk
@@ -36,6 +36,7 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sw_subsequent_ooxmlexport, \
 
 $(eval $(call gb_CppunitTest_use_libraries,sw_subsequent_ooxmlexport, \
     cppu \
+	cppuhelper \
     sal \
     sw \
     test \
diff --git a/sw/CppunitTest_sw_subsequent_rtfexport.mk b/sw/CppunitTest_sw_subsequent_rtfexport.mk
index bd45fad..d6d2a29 100644
--- a/sw/CppunitTest_sw_subsequent_rtfexport.mk
+++ b/sw/CppunitTest_sw_subsequent_rtfexport.mk
@@ -36,6 +36,7 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sw_subsequent_rtfexport, \
 
 $(eval $(call gb_CppunitTest_use_libraries,sw_subsequent_rtfexport, \
     cppu \
+	cppuhelper \
     sal \
 	sw \
     test \
commit 4cda305a6f2f5f84a1f4c0463bebe9a84f280b9c
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Tue Sep 25 21:38:04 2012 -0400

    fix libwpd with VS2012
    
    Change-Id: I2df9ab344bb2a934f6408a394280c01563d0c9b8

diff --git a/libwpd/ExternalProject_libwpd.mk b/libwpd/ExternalProject_libwpd.mk
index 16ddad5..f91314a 100644
--- a/libwpd/ExternalProject_libwpd.mk
+++ b/libwpd/ExternalProject_libwpd.mk
@@ -17,11 +17,22 @@ $(eval $(call gb_ExternalProject_register_targets,libwpd,\
 
 ifeq ($(OS)$(COM),WNTMSC)
 
+ifeq ($(CCNUMVER),90)
 $(call gb_ExternalProject_get_state_target,libwpd,build) :
 	cd $(EXTERNAL_WORKDIR)/build/win32 \
 	&& $(COMPATH)/vcpackages/vcbuild.exe libwpd.vcproj "Release|Win32" \
 	&& touch $@
-
+else ifeq ($(CCNUMVER),100)
+$(call gb_ExternalProject_get_state_target,libwpd,build) :
+	cd $(EXTERNAL_WORKDIR)/build/win32 \
+	&& msbuild.exe libwpd.vcxproj \
+	&& touch $@
+else
+$(call gb_ExternalProject_get_state_target,libwpd,build) :
+	cd $(EXTERNAL_WORKDIR)/build/win32 \
+	&& msbuild.exe libwpd.vcxproj /p:PlatformToolset=v110 /p:TargetName=libwpd-0.9 /p:Configuration=Release \
+	&& touch $@
+endif
 else
 
 $(call gb_ExternalProject_get_state_target,libwpd,build) :
commit 6c0795f0d72fc22a100faa3d8be41bdebc6ee351
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Mon Sep 24 16:55:19 2012 -0400

    add needed libraries to sfx2_metadatatable
    
    Change-Id: I83aaa7170f59f89e4f1e7715295edceca3a9bef4

diff --git a/sfx2/CppunitTest_sfx2_metadatable.mk b/sfx2/CppunitTest_sfx2_metadatable.mk
index 277c564..c06dcac 100644
--- a/sfx2/CppunitTest_sfx2_metadatable.mk
+++ b/sfx2/CppunitTest_sfx2_metadatable.mk
@@ -26,6 +26,8 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sfx2_metadatable, \
 $(eval $(call gb_CppunitTest_use_sdk_api,sfx2_metadatable))
 
 $(eval $(call gb_CppunitTest_use_libraries,sfx2_metadatable, \
+	cppu \
+	cppuhelper \
     sal \
     sfx \
 	$(gb_UWINAPI) \
commit 3abf0d416f56b3e3f7edf94e2e1799013e79e825
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Sun Sep 23 09:59:37 2012 -0400

    fix gbuildized cli_ure
    
    Change-Id: I3e02afbd1b75641bdc90443e7c07018c113a971a

diff --git a/cli_ure/CliLibrary_cli_basetypes.mk b/cli_ure/CliLibrary_cli_basetypes.mk
index d9f8a04..17272b5 100644
--- a/cli_ure/CliLibrary_cli_basetypes.mk
+++ b/cli_ure/CliLibrary_cli_basetypes.mk
@@ -30,4 +30,8 @@ $(eval $(call gb_CliLibrary_add_generated_csfiles,cli_basetypes,\
 	CustomTarget/cli_ure/source/basetypes/assembly \
 ))
 
+$(eval $(call gb_CliLibrary_use_package,cli_basetypes,\
+	cli_ure_cliuno \
+))
+
 # vim: set noet sw=4 ts=4:
diff --git a/cli_ure/CliUnoApi_cli_uretypes.mk b/cli_ure/CliUnoApi_cli_uretypes.mk
index af3566e..7009310 100644
--- a/cli_ure/CliUnoApi_cli_uretypes.mk
+++ b/cli_ure/CliUnoApi_cli_uretypes.mk
@@ -19,4 +19,6 @@ $(eval $(call gb_CliUnoApi_set_policy,cli_uretypes,$(CLI_URETYPES_POLICY_ASSEMBL
 
 $(eval $(call gb_CliUnoApi_wrap_api,cli_uretypes,udkapi))
 
+$(call gb_CliUnoApiTarget_get_target,cli_uretypes) :| $(call gb_Library_get_target,bootstrap)
+
 # vim: set noet sw=4 ts=4:
diff --git a/cli_ure/CustomTarget_cli_ure_assemblies.mk b/cli_ure/CustomTarget_cli_ure_assemblies.mk
index da66178..2adeae8 100644
--- a/cli_ure/CustomTarget_cli_ure_assemblies.mk
+++ b/cli_ure/CustomTarget_cli_ure_assemblies.mk
@@ -10,7 +10,7 @@
 cli_ure_source_MAKEFILE := $(lastword $(MAKEFILE_LIST))
 
 # FIXME move this to configure.in ?
-cli_ure_CCNUMVER = $(shell $(CXX) | $(gb_AWK) -v num=true -f $(SOLARENV)/bin/getcompver.awk)
+cli_ure_CCNUMVER = $(shell PATH='$(PATH)' $(CXX) | $(gb_AWK) -v num=true -f $(SOLARENV)/bin/getcompver.awk)
 cli_ure_CCNUMVER_GOOD = $(shell expr $(cli_ure_CCNUMVER) '>=' 001399999999)
 
 include $(SRCDIR)/cli_ure/version/version.txt
diff --git a/solenv/gbuild/CliLibrary.mk b/solenv/gbuild/CliLibrary.mk
index 9cf6bd5..30a3c25 100644
--- a/solenv/gbuild/CliLibrary.mk
+++ b/solenv/gbuild/CliLibrary.mk
@@ -81,6 +81,11 @@ $(call gb_CliLibraryTarget_get_target,$(1)) : $(call gb_CliLibrary_get_target,$(
 
 endef
 
+define gb_CliLibraryTarget_use_package
+$(call gb_CliLibraryTarget_get_target,$(1)) :| $(call gb_Package_get_target,$(strip $(2)))
+
+endef
+
 define gb_CliLibraryTarget_use_assemblies
 $(foreach assembly,$(2),$(call gb_CliLibraryTarget_use_assembly,$(1),$(assembly)))
 
@@ -146,6 +151,11 @@ $(call gb_CliAssembly_set_configfile,$(1),$(2))
 
 endef
 
+define gb_CliLibrary_use_package
+$(call gb_CliLibraryTarget_use_package,$(1),$(2))
+
+endef
+
 define gb_CliLibrary_set_keyfile
 $(call gb_CliAssembly_set_keyfile,$(1),$(2))
 
commit d0015e6db87af607594333a9cb6746ecd19ce44b
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Sat Sep 22 17:38:00 2012 -0400

    add needed libraries to scui
    
    Change-Id: Ia6ef50bbb28c4d16154f8e673a4f3b3a1cef5cd5

diff --git a/sc/Library_scui.mk b/sc/Library_scui.mk
index 0cc4099..92017d0 100644
--- a/sc/Library_scui.mk
+++ b/sc/Library_scui.mk
@@ -38,6 +38,7 @@ $(eval $(call gb_Library_use_external,scui,mdds_headers))
 $(eval $(call gb_Library_use_libraries,scui,\
 	comphelper \
 	cppu \
+	cppuhelper \
 	editeng \
 	for \
 	forui \
commit cf07b57bf7c85ddfe8edb327d41a64d30d14ca8e
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Sat Sep 22 10:01:34 2012 -0400

    mergelibs works on windows now
    
    Change-Id: I536921b4734a50b90aa0007ebf2120306ce497a0

diff --git a/configure.in b/configure.in
index 1c2d30f..8a786cb 100644
--- a/configure.in
+++ b/configure.in
@@ -12528,7 +12528,7 @@ if test "$enable_mergelibs" = "yes" ; then
         add_warning "--enable-mergelibs conflicts with --enable-binfilter. Disabling mergelibs."
         AC_MSG_RESULT([no])
     else
-        if test $_os != Linux -a $_os != Android; then
+        if test $_os != Linux -a $_os != Android -a $_os != WINNT; then
             add_warning "--enable-mergelibs is not tested for this platform"
         fi
         MERGELIBS="TRUE"
commit 37d286d768236234cde5bb5ae06a4ec8c9fed5d7
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Sat Sep 22 09:42:16 2012 -0400

    prevent libmerged warning spam
    
    Change-Id: I8ee74175d3dc08318461dfe08ebd10b12ce8d814

diff --git a/Library_merged.mk b/Library_merged.mk
index 6c3b047..51b9194 100644
--- a/Library_merged.mk
+++ b/Library_merged.mk
@@ -122,6 +122,11 @@ $(eval $(call gb_Library_use_system_win32_libs,merged,\
 	winmm \
 	winspool \
 ))
+# prevent warning spamming
+$(eval $(call gb_Library_add_ldflags,merged,\
+	/ignore:4049 \
+	/ignore:4217 \
+))
 $(eval $(call gb_Library_use_externals,merged,\
 	icuin \
 ))
commit 60fda0b0cd4cb6c867ce7a8f6e55067845043c3c
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Fri Sep 21 19:16:52 2012 -0400

    add needed libraries to textconv_dict
    
    Change-Id: Ic0f55385c34bb253a1f452335ebcd3bba92ca9fa

diff --git a/i18npool/Library_textconv_dict.mk b/i18npool/Library_textconv_dict.mk
index 23afa21..9afc2ac 100644
--- a/i18npool/Library_textconv_dict.mk
+++ b/i18npool/Library_textconv_dict.mk
@@ -37,6 +37,9 @@ $(eval $(call gb_Library_use_sdk_api,textconv_dict))
 
 $(eval $(call gb_Library_use_libraries,textconv_dict,\
 	$(gb_UWINAPI) \
+	sal \
+	cppu \
+	cppuhelper \
 ))
 
 $(eval $(call gb_Library_add_generated_exception_objects,textconv_dict,\
commit d881394d307342941d45c6bd2b0857f66e1932b2
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Fri Sep 21 16:57:37 2012 -0400

    fix mergedlib on windows
    
    Change-Id: I30ee99fe2a2e92c69ebfcef9af5ff1bb27ec114b

diff --git a/cppuhelper/inc/cppuhelper/implbase1.hxx b/cppuhelper/inc/cppuhelper/implbase1.hxx
index cf6125a..57c71f5 100644
--- a/cppuhelper/inc/cppuhelper/implbase1.hxx
+++ b/cppuhelper/inc/cppuhelper/implbase1.hxx
@@ -104,7 +104,7 @@ namespace cppu
         to implement 1 till 12 interfaces in your component.
     */
     template< class Ifc1 >
-    class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakImplHelper1
+    class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE SAL_DLLPUBLIC_EXPORT WeakImplHelper1
         : public OWeakObject
         , public com::sun::star::lang::XTypeProvider
         , public Ifc1
diff --git a/cppuhelper/inc/cppuhelper/implbase2.hxx b/cppuhelper/inc/cppuhelper/implbase2.hxx
index 3ed5aac..95a1b9f 100644
--- a/cppuhelper/inc/cppuhelper/implbase2.hxx
+++ b/cppuhelper/inc/cppuhelper/implbase2.hxx
@@ -100,7 +100,7 @@ namespace cppu
         Your sub class defines method implementations for these interface(s).
     */
     template< class Ifc1, class Ifc2 >
-    class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakImplHelper2
+    class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE SAL_DLLPUBLIC_EXPORT WeakImplHelper2
         : public OWeakObject
         , public com::sun::star::lang::XTypeProvider
         , public Ifc1, public Ifc2
commit 9518e9039369d7d18e68baf7ab3ce356fd75be25
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Wed Sep 19 11:13:25 2012 -0400

    only add win8 lib path for win8 sdk
    
    Change-Id: I9b30e5e0a8f961df1070f4ceb0e330558ab16335

diff --git a/configure.in b/configure.in
index 67c7457..1c2d30f 100644
--- a/configure.in
+++ b/configure.in
@@ -12499,11 +12499,15 @@ if test "$build_os" = "cygwin"; then
     if test "$BITNESS_OVERRIDE" = 64; then
         ILIB="$ILIB;$COMPATH/lib/amd64"
         ILIB="$ILIB;$WINDOWS_SDK_HOME/lib64"
-		ILIB="$ILIB;$WINDOWS_SDK_HOME/lib/win8/um/x64"
+		if test "$WINDOWS_SDK_VERSION" = "80"; then
+			ILIB="$ILIB;$WINDOWS_SDK_HOME/lib/win8/um/x64"
+		fi
     else
         ILIB="$ILIB;$COMPATH/lib"
         ILIB="$ILIB;$WINDOWS_SDK_HOME/lib"
-		ILIB="$ILIB;$WINDOWS_SDK_HOME/lib/win8/um/x86"
+		if test "$WINDOWS_SDK_VERSION" = "80"; then
+			ILIB="$ILIB;$WINDOWS_SDK_HOME/lib/win8/um/x86"
+		fi
     fi
     ILIB="$ILIB;$DOTNET_FRAMEWORK_HOME/lib"
 
commit b670123feda97fea254d8832f7b20857184f4896
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Sat Sep 15 16:41:10 2012 -0400

    prevent ccache from being doubled with MSVC
    
    Change-Id: Idb2fd2a115c5e32d3e894d70c0e86730b38e73e9

diff --git a/configure.in b/configure.in
index 19ac436..67c7457 100644
--- a/configure.in
+++ b/configure.in
@@ -2449,7 +2449,7 @@ AC_SUBST(SYSBASE)
 dnl ===================================================================
 dnl  Checks if ccache is available
 dnl ===================================================================
-if test "$enable_ccache" = "yes" -o \( "$enable_ccache" = "" -a "$enable_icecream" != "yes" -a "$build_os" != "cygwin" \); then
+if test "$enable_ccache" = "yes" -o \( "$enable_ccache" = "" -a "$enable_icecream" != "yes" \); then
     case "%$CC%$CXX%" in
     # If $CC and/or $CXX already contain "ccache" (possibly suffixed with some verison number etc),
     # assume that's good then
@@ -4836,22 +4836,24 @@ fi
 #
 # prefx CXX with ccache if needed
 #
-if test "$CCACHE" != ""; then
-    AC_MSG_CHECKING([whether $CXX is already ccached])
-    AC_LANG_PUSH([C++])
-    save_CXXFLAGS=$CXXFLAGS
-    CXXFLAGS="$CXXFLAGS --ccache-skip -O2"
-    dnl an empty program will do, we're checking the compiler flags
-    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],
-                      [use_ccache=yes], [use_ccache=no])
-    if test $use_ccache = yes; then
-        AC_MSG_RESULT([yes])
-    else
-        CXX="$CCACHE $CXX"
-        AC_MSG_RESULT([no])
-    fi
-    CXXFLAGS=$save_CXXFLAGS
-    AC_LANG_POP([C++])
+if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
+	if test "$CCACHE" != ""; then
+		AC_MSG_CHECKING([whether $CXX is already ccached])
+		AC_LANG_PUSH([C++])
+		save_CXXFLAGS=$CXXFLAGS
+		CXXFLAGS="$CXXFLAGS --ccache-skip -O2"
+		dnl an empty program will do, we're checking the compiler flags
+		AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],
+						  [use_ccache=yes], [use_ccache=no])
+		if test $use_ccache = yes; then
+			AC_MSG_RESULT([yes])
+		else
+			CXX="$CCACHE $CXX"
+			AC_MSG_RESULT([no])
+		fi
+		CXXFLAGS=$save_CXXFLAGS
+		AC_LANG_POP([C++])
+	fi
 fi
 
 dnl ===================================================================
commit c605b2c0d8bbcf97bb138a1fd324b7146258607f
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Sat Sep 15 10:58:59 2012 -0400

    fix for openssl with MSVC when ccache is enabled
    
    Change-Id: I93deea3a80178f51fff9a23328df7a67f308e052

diff --git a/openssl/makefile.mk b/openssl/makefile.mk
index 04a8683..286e424 100644
--- a/openssl/makefile.mk
+++ b/openssl/makefile.mk
@@ -155,7 +155,8 @@ OUT2BIN += libeay32.dll
             # The env. vars CC and PERL are used by nmake, and nmake insists on '\'s
             # If WRAPCMD is set it is prepended before the compiler, don't touch that.
             .IF "$(WRAPCMD)"==""
-                CC!:=$(subst,/,\ $(normpath,1 $(CC)))
+                CC!:=$(subst,/,\ $(normpath,1 $(CC:1)))
+				CC!:=$(CC:s/ccache/ccache cl.exe/)
                 .EXPORT : CC
             .ENDIF
             PERL_bak:=$(PERL)
commit 20d9be3bfc75b87bb20068b5e53b750260f71f48
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Sat Sep 15 09:47:11 2012 -0400

    add aditional targets to clean and distclean
    
    Change-Id: Ic7539b88936370cc6bc01edf2c2755343e0113b6

diff --git a/Makefile.top b/Makefile.top
index de91f56..0a0ced3 100644
--- a/Makefile.top
+++ b/Makefile.top
@@ -337,6 +337,7 @@ endif
 	rm -fr $(OUTDIR)
 	rm -fr $(WORKDIR)
 	rm -fr $(SRCDIR)/*/$(INPATH)
+	rm -fr $(SRCDIR)/solenv/$(OUTPATH)
 	rm -fr install
 
 clean-build:
@@ -356,7 +357,8 @@ endif
 	rm -fr config_host.mk config_build.mk aclocal.m4 autom4te.cache \
     bin/repo-list config.log config.status configure \
 	ooo.lst post_download post_download.log \
-	config_host.mk.last set_soenv.stamp src.downloaded warn
+	config_host.mk.last set_soenv.stamp src.downloaded warn \
+	solenv/bin/concat-deps.exe solenv/bin/concat-deps
 	find $(SOLARENV)/gdb -name "*.pyc" -exec rm {} \;
 
 #
commit a106b7f96a739aaffa93ec19721bff9ad46ebf4e
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Sat Sep 15 09:35:04 2012 -0400

    Fix ccache with MSVC
    
    Change-Id: I0721a8d0aa584051d1e16b327c3cd1352eedf253

diff --git a/configure.in b/configure.in
index 572b350..19ac436 100644
--- a/configure.in
+++ b/configure.in
@@ -3275,26 +3275,23 @@ AC_SUBST(DBGHELP_DLL)
 #
 # prefix C with ccache if needed
 #
-if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
-    if test "$CCACHE" != ""; then
-        AC_MSG_CHECKING([whether $CC is already ccached])
-
-        AC_LANG_PUSH([C])
-        save_CFLAGS=$CFLAGS
-        CFLAGS="$CFLAGS --ccache-skip -O2"
-        dnl an empty program will do, we're checking the compiler flags
-        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],
-                          [use_ccache=yes], [use_ccache=no])
-        if test $use_ccache = yes; then
-            AC_MSG_RESULT([yes])
-        else
-            CC="$CCACHE $CC"
-            AC_MSG_RESULT([no])
-        fi
-        CFLAGS=$save_CFLAGS
-        AC_LANG_POP([C])
-    fi
-
+if test "$CCACHE" != ""; then
+	AC_MSG_CHECKING([whether $CC is already ccached])
+
+	AC_LANG_PUSH([C])
+	save_CFLAGS=$CFLAGS
+	CFLAGS="$CFLAGS --ccache-skip -O2"
+	dnl an empty program will do, we're checking the compiler flags
+	AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],
+					  [use_ccache=yes], [use_ccache=no])
+	if test $use_ccache = yes; then
+		AC_MSG_RESULT([yes])
+	else
+		CC="$CCACHE $CC"
+		AC_MSG_RESULT([no])
+	fi
+	CFLAGS=$save_CFLAGS
+	AC_LANG_POP([C])
 fi
 
 #
commit aeef859aa0a36d73800f2a5b6c3d872a3c054427
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Fri Sep 7 18:42:27 2012 -0400

    fix liborcus build with VS2012
    
    Change-Id: I98248b2fe45da32fc0f478aee55b6939825112f7

diff --git a/liborcus/ExternalProject_liborcus.mk b/liborcus/ExternalProject_liborcus.mk
index f67b48c..3882971 100644
--- a/liborcus/ExternalProject_liborcus.mk
+++ b/liborcus/ExternalProject_liborcus.mk
@@ -17,13 +17,23 @@ $(eval $(call gb_ExternalProject_register_targets,liborcus,\
 
 ifeq ($(OS)$(COM),WNTMSC)
 
+ifeq ($(CCNUMVER),90)
 $(call gb_ExternalProject_get_state_target,liborcus,build) :
 	cd $(EXTERNAL_WORKDIR)/vsprojects/liborcus-static-nozip \
 	&& export BOOST_INCLUDE_DIR=$(OUTDIR)/inc/external \
 	&& export BOOST_LIB_DIR=$(OUTDIR)/lib \
 	&& $(COMPATH)/vcpackages/vcbuild.exe liborcus-static-nozip.vcproj "Release|Win32" \
 	&& touch $@
-
+else
+$(call gb_ExternalProject_get_state_target,liborcus,build) :
+	cd $(EXTERNAL_WORKDIR)/vsprojects/liborcus-static-nozip \
+	&& export BOOST_INCLUDE_DIR=$(OUTDIR)/inc/external \
+	&& export BOOST_LIB_DIR=$(OUTDIR)/lib \
+	&& $(COMPATH)/../Common7/Tools/vcupgrade.exe liborcus-static-nozip.vcproj \
+	&& MSBuild.exe liborcus-static-nozip.vcxproj /p:Configuration=Release /p:OutDir=Release /p:TargetName=orcus /p:WholeProgramOptimization=no \
+	&& touch $@
+endif
+	
 else
 
 $(call gb_ExternalProject_get_state_target,liborcus,build) :
commit 95d1797d460be481050a04c4185e2fec18e0e2b3
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Fri Sep 7 17:01:04 2012 -0400

    add support for libmerged on Windows
    
    Change-Id: I05d1c557967000be2fb7128b43d6e8c6005a7892

diff --git a/Library_merged.mk b/Library_merged.mk
index f6bf68a..6c3b047 100644
--- a/Library_merged.mk
+++ b/Library_merged.mk
@@ -45,7 +45,6 @@ $(eval $(call gb_Library_use_libraries,merged,\
 
 $(eval $(call gb_Library_use_externals,merged,\
 	cups \
-	icui18n \
 	icule \
 	icuuc \
 	jpeg \
@@ -117,11 +116,19 @@ $(eval $(call gb_Library_use_system_win32_libs,merged,\
 	oleaut32 \
 	shell32 \
 	user32 \
+	usp10 \
 	uuid \
 	version \
 	winmm \
 	winspool \
 ))
+$(eval $(call gb_Library_use_externals,merged,\
+	icuin \
+))
+else
+$(eval $(call gb_Library_use_externals,merged,\
+	icui18n \
+))
 endif
 
 ifeq ($(OS),MACOSX)
diff --git a/solenv/gbuild/platform/WNT_INTEL_MSC.mk b/solenv/gbuild/platform/WNT_INTEL_MSC.mk
index dc30ca4..8eb4d52 100644
--- a/solenv/gbuild/platform/WNT_INTEL_MSC.mk
+++ b/solenv/gbuild/platform/WNT_INTEL_MSC.mk
@@ -341,6 +341,13 @@ gb_LinkTarget_INCLUDE_STL := $(filter %/stl, $(subst -I. , ,$(SOLARINC)))
 
 gb_LinkTarget_get_pdbfile = $(call gb_LinkTarget_get_target,)pdb/$(1).pdb
 
+# avoid fatal error LNK1170 for Library_merged
+define gb_LinkTarget_MergedResponseFile
+cut -f -1000 -d ' ' $${RESPONSEFILE} > $${RESPONSEFILE}.1 && \
+cut -f 1001- -d ' ' $${RESPONSEFILE} >> $${RESPONSEFILE}.1 && \
+mv $${RESPONSEFILE}.1 $${RESPONSEFILE} &&
+endef
+
 define gb_LinkTarget__command
 $(call gb_Output_announce,$(2),$(true),LNK,4)
 $(call gb_Helper_abbreviate_dirs,\
@@ -354,6 +361,7 @@ $(call gb_Helper_abbreviate_dirs,\
 		$(foreach object,$(ASMOBJECTS),$(call gb_AsmObject_get_target,$(object))) \
 		$(foreach extraobjectlist,$(EXTRAOBJECTLISTS),$(shell cat $(extraobjectlist))) \
 		$(NATIVERES)) && \
+		$(if $(filter $(call gb_Library_get_linktargetname,merged),$(2)),$(call gb_LinkTarget_MergedResponseFile)) \
 	unset INCLUDE && \
 	$(if $(filter YES,$(LIBRARY_X64)), $(LINK_X64_BINARY), $(gb_LINK)) \
 		$(if $(filter Library CppunitTest,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \
commit c27afdd5984f776103b7a8f3066ed64c6c02e610
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Fri Sep 7 16:57:12 2012 -0400

    fix msm_path detection
    
    Change-Id: Id507a3483a126f4a04dcb9be287c12a3eae5429c

diff --git a/oowintool b/oowintool
index e8f0b3b..58ea153 100755
--- a/oowintool
+++ b/oowintool
@@ -313,7 +313,9 @@ sub msvc_copy_dlls($)
 sub msvc_find_msms()
 {
     my $ver = find_msvc();
-    my $msm_path = (cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/$ver->{'ver'}/Setup/VS/MSMDir"), 'w', $output_format);
+    my $msm_path = (cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/9.0/Setup/VS/MSMDir"), 'w', $output_format) ||
+	(cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/10.0/Setup/VS/MSMDir"), 'w', $output_format) ||
+	(cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/11.0/Setup/VS/MSMDir"), 'w', $output_format);
     defined $msm_path || die "MSMDir not found";
     return -e "$msm_path/Microsoft_VC".$ver->{'dll_suffix'}."_CRT_x86.msm" ? 0 : 1;
 }
@@ -326,7 +328,9 @@ sub msvc_copy_msms($$)
     my $ver = find_msvc();
     defined $ver || return;
 
-    my $msm_path = (cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/$ver->{'ver'}/Setup/VS/MSMDir"), 'w', $output_format);
+    my $msm_path = (cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/9.0/Setup/VS/MSMDir"), 'w', $output_format) ||
+	(cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/10.0/Setup/VS/MSMDir"), 'w', $output_format) ||
+	(cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/11.0/Setup/VS/MSMDir"), 'w', $output_format);
     defined $msm_path || die "MSMDir not found";
 	if ($ver->{'dll_suffix'} == 90) {
 	if ( $postfix eq "_x86" ) {
commit 8290d6a603c8ddcb2973dd820862313e1c817331
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Fri Aug 31 13:30:12 2012 -0400

    fix dbghelp.dll download again
    
    Change-Id: I5992023a946301809b9708d9df29dd9cc1500b53

diff --git a/configure.in b/configure.in
index ddeaf70..572b350 100644
--- a/configure.in
+++ b/configure.in
@@ -3265,6 +3265,14 @@ MSPDB_PATH="$formatted_path"
 AC_SUBST(SHOWINCLUDES_PREFIX)
 
 #
+# dbghelp.dll
+#
+if test "$_os" == "WINNT"; then
+    DBGHELP_DLL="13fbc2e8b37ddf28181dd6d8081c2b8e-dbghelp.dll"
+fi
+AC_SUBST(DBGHELP_DLL)
+
+#
 # prefix C with ccache if needed
 #
 if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
diff --git a/download b/download
index 620a292..fd9bb4a 100755
--- a/download
+++ b/download
@@ -179,7 +179,6 @@ for i in $filelist ; do
 done
 
 if [ "$COM" = "MSC" ]; then
-    downloaditem "http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools/" "dbg_x86.msi" "2bd67a7b00507ad93539e138a4a6a2bf"
     downloaditem "http://download.microsoft.com/download/E/9/F/E9FCA9E9-9908-4D8F-B491-8E8A4C294C01/" "WindowsXP-KB958911-x86-ENU.exe" "ff084c5815b0672d54628158b820f5b1"
 fi
 
@@ -220,15 +219,9 @@ if [ "$COM" = "MSC" -a -n "$md5sum" ]; then
     # This can be run only on Windows itself (Cygwin)
     TMPUNPACK=`cygpath -d $TARFILE_LOCATION/tmp`
     chmod a+w $TARFILE_LOCATION/tmp
-    if [ ! -f ./external/dbghelp/dbghelp.dll -a -f $TARFILE_LOCATION/dbg_x86.msi ]; then
-        msiexec /a `cygpath -d $TARFILE_LOCATION/dbg_x86.msi` /qn TARGETDIR=$TMPUNPACK SHORTFILENAMES=1
-		dbghelp_dll_path=PFiles/DbgTools/dbghelp.dll
-        sum=`$md5sum $md5special $TARFILE_LOCATION/tmp/$dbghelp_dll_path | sed "s/ .*//"`
-        if [ "$sum" = "4003e34416ebd25e4c115d49dc15e1a7" ]; then
-			cp $TARFILE_LOCATION/tmp/$dbghelp_dll_path ./external/dbghelp/dbghelp.dll
-        fi
-    fi
-
+    if [ ! -f ./external/dbghelp/dbghelp.dll -a -f $TARFILE_LOCATION/13fbc2e8b37ddf28181dd6d8081c2b8e-dbghelp.dll ]; then
+	    cp $TARFILE_LOCATION/13fbc2e8b37ddf28181dd6d8081c2b8e-dbghelp.dll ./external/dbghelp/dbghelp.dll
+	fi
 	if [ "$REBASE" = "download" ]; then
 		if [ ! -f ./external/rebase/rebase.exe -a -f $TARFILE_LOCATION/WinSDKTools_x86.msi ]; then
 			msiexec /a `cygpath -d $TARFILE_LOCATION/WinSDKTools_x86.msi` /qn TARGETDIR=$TMPUNPACK SHORTFILENAMES=1
diff --git a/ooo.lst.in b/ooo.lst.in
index 6c5c763..620b9c7 100644
--- a/ooo.lst.in
+++ b/ooo.lst.in
@@ -101,6 +101,7 @@ fa6a2f85bd28baab035b2c95e722713f-liblangtag-0.2.tar.bz2
 @ORCUS_TARBALL@
 http://dev-www.libreoffice.org/extern
 185d60944ea767075d27247c3162b3bc-unowinreg.dll
+ at DBGHELP_DLL@
 http://ooo.itc.hu/oxygenoffice/download/libreoffice/
 @OOOP_GALLERY_PACK@
 @OOOP_TEMPLATES_PACK@
commit feb2bb236163007524e50e291f673786c703f54a
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Fri Aug 31 13:24:00 2012 -0400

    fix msm suport for VS2012
    
    Change-Id: Ibc816de83eb48163671948ecc84e7653f2b4ec13

diff --git a/config_host.mk.in b/config_host.mk.in
index acee128..3b064b2 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -609,6 +609,7 @@ export USE_XINERAMA=@USE_XINERAMA@
 export UUIDGEN=@UUIDGEN@
 export VALGRIND_CFLAGS=@VALGRIND_CFLAGS@
 export VALIDATOR_EXTENSION_PACK=@VALIDATOR_EXTENSION_PACK@
+export VCVER=@VCVER@
 export VERBOSE=@VERBOSE@
 export VIGRA_TARBALL=@VIGRA_TARBALL@
 export VISIO_CFLAGS=@VISIO_CFLAGS@
diff --git a/configure.in b/configure.in
index 2b4dea8..ddeaf70 100644
--- a/configure.in
+++ b/configure.in
@@ -3171,12 +3171,15 @@ if test "$_os" = "WINNT"; then
             if test "$CCNUMVER" -ge "001700000000"; then
                 COMEX=14
                 MSVSVER=2012
+				VCVER=110
             elif test "$CCNUMVER" -ge "001600000000"; then
                 COMEX=13
                 MSVSVER=2010
+				VCVER=100
             elif test "$CCNUMVER" -ge "001500000000"; then
                 COMEX=12
                 MSVSVER=2008
+				VCVER=90
             else
                 AC_MSG_ERROR([Compiler too old. Use Microsoft Visual Studio 2008 or 2010.])
             fi
@@ -3256,6 +3259,7 @@ if test "$_os" = "WINNT"; then
     fi
 fi
 AC_SUBST(COMEX)
+AC_SUBST(VCVER)
 PathFormat "$MSPDB_PATH"
 MSPDB_PATH="$formatted_path"
 AC_SUBST(SHOWINCLUDES_PREFIX)
@@ -5670,10 +5674,10 @@ fi
 AC_SUBST([JITC_PROCESSOR_TYPE])
 
 if test $_os = "WINNT"; then
-    AC_MSG_CHECKING([for Microsoft_VC100_CRT_x86.msm])
-    if ./oowintool --msvc-find-msms-vc100; then
+    AC_MSG_CHECKING([for Microsoft_VC"$VCVER"_CRT_x86.msm])
+    if ./oowintool --msvc-find-msms; then
         AC_MSG_RESULT([yes])
-        SCPDEFS="$SCPDEFS -DWITH_VC100_REDIST"
+        SCPDEFS="$SCPDEFS -DWITH_VC"$VCVER"_REDIST"
     else
         AC_MSG_RESULT([no])
     fi
diff --git a/external/msm100/README_msm100.txt b/external/msm100/README_msm100.txt
new file mode 100755
index 0000000..a40bbdb
--- /dev/null
+++ b/external/msm100/README_msm100.txt
@@ -0,0 +1,6 @@
+Put
+Microsoft_VC100_CRT_x86.msm
+into this directory for Windows builds using a VS 2010 / VC 10.0 compiler.
+For builds with --enable-dbgutil also put
+Microsoft_VC100_DebugCRT_x86.msm
+here.
diff --git a/external/msm110/README_msm110.txt b/external/msm110/README_msm110.txt
new file mode 100755
index 0000000..b9af577
--- /dev/null
+++ b/external/msm110/README_msm110.txt
@@ -0,0 +1,6 @@
+Put
+Microsoft_VC110_CRT_x86.msm
+into this directory for Windows builds using a VS 2012 / VC 11.0 compiler.
+For builds with --enable-dbgutil also put
+Microsoft_VC110_DebugCRT_x86.msm
+here.
diff --git a/external/prj/d.lst b/external/prj/d.lst
index 6d15049..0577f7f 100644
--- a/external/prj/d.lst
+++ b/external/prj/d.lst
@@ -44,6 +44,8 @@ mkdir: %_DEST%\inc\external\wine
 ..\msvcp90\Microsoft.VC90.CRT.manifest %_DEST%\bin\Microsoft.VC90.CRT.manifest
 ..\msvcp90\Microsoft.VC90.DebugCRT.manifest %_DEST%\bin\Microsoft.VC90.DebugCRT.manifest
 ..\msm90\*.msm %_DEST%\bin
+..\msm100\*.msm %_DEST%\bin
+..\msm110\*.msm %_DEST%\bin
 
 ..\unowinreg\unowinreg.dll %_DEST%\bin\unowinreg.dll
 
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt
index 0759d33..e716732 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt
@@ -1,7 +1,6 @@
 Table	Column	Nullable	MinValue	MaxValue	KeyTable	KeyColumn	Category	Set	Description
 s32	s32	s4	I4	I4	S255	I2	S32	S255	S255
 _Validation	Table	Column
-_Validation	Category	Y						Text;Formatted;Template;Condition;Guid;Path;Version;Language;Identifier;Binary;UpperCase;LowerCase;Filename;Paths;AnyPath;WildCardFilename;RegPath;KeyFormatted;CustomSource;Property;Cabinet;Shortcut;URL	String category
 _Validation	Column	N					Identifier		Name of column
 _Validation	Description	Y					Text		Description of column
 _Validation	KeyColumn	Y	1	32					Column to which foreign key connects
diff --git a/oowintool b/oowintool
index 5f7d603..e8f0b3b 100755
--- a/oowintool
+++ b/oowintool
@@ -310,11 +310,12 @@ sub msvc_copy_dlls($)
     }
 }
 
-sub msvc_find_msms_vc100()
+sub msvc_find_msms()
 {
-    my $msm_path = (cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/9.0/Setup/VS/MSMDir"), 'w', $output_format);
+    my $ver = find_msvc();
+    my $msm_path = (cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/$ver->{'ver'}/Setup/VS/MSMDir"), 'w', $output_format);
     defined $msm_path || die "MSMDir not found";
-    return -e "$msm_path/Microsoft_VC100_CRT_x86.msm" ? 0 : 1;
+    return -e "$msm_path/Microsoft_VC".$ver->{'dll_suffix'}."_CRT_x86.msm" ? 0 : 1;
 }
 
 sub msvc_copy_msms($$)
@@ -323,18 +324,31 @@ sub msvc_copy_msms($$)
     my ($dest, $postfix) = @_;
 
     my $ver = find_msvc();
-    (defined $ver && ($ver->{'ver'} eq '9.0')) || return;
+    defined $ver || return;
 
-    my $msm_path = (cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/9.0/Setup/VS/MSMDir"), 'w', $output_format);
+    my $msm_path = (cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/$ver->{'ver'}/Setup/VS/MSMDir"), 'w', $output_format);
     defined $msm_path || die "MSMDir not found";
+	if ($ver->{'dll_suffix'} == 90) {
+	if ( $postfix eq "_x86" ) {
+	$postfix = ""
+	}
     foreach $fname ("Microsoft_VC90_CRT_x86$postfix.msm", "policy_9_0_Microsoft_VC90_CRT_x86$postfix.msm") {
         print STDERR "Copying $msm_path/$fname to $dest\n";
         copy ("$msm_path/$fname", $dest) || die "copy failed: $!";
     }
-    foreach $fname ("Microsoft_VC100_CRT_x86$postfix.msm") {
+	}
+	elsif ($ver->{'dll_suffix'} == 100) {
+    foreach $fname ("Microsoft_VC100_CRT$postfix.msm") {
+        print STDERR "Copying $msm_path/$fname to $dest\n";
+        copy ("$msm_path/$fname", $dest) || print "copy failed: $!\n";
+    }
+	}
+	else {
+	foreach $fname ("Microsoft_VC110_CRT$postfix.msm") {
         print STDERR "Copying $msm_path/$fname to $dest\n";
         copy ("$msm_path/$fname", $dest) || print "copy failed: $!\n";
     }
+	}
 }
 
 if (!@ARGV) {
@@ -364,12 +378,12 @@ while (@commands) {
         my $dest = shift @commands;
         defined $dest || die "copy-dlls requires a destination directory";
         msvc_copy_dlls( $dest );
-    } elsif ($opt eq '--msvc-find-msms-vc100') {
-        exit msvc_find_msms_vc100();
+    } elsif ($opt eq '--msvc-find-msms') {
+        exit msvc_find_msms();
     } elsif ($opt eq '--msvc-copy-msms') {
         my $dest = shift @commands;
         defined $dest || die "copy-msms requires a destination directory";
-        msvc_copy_msms( $dest, '' );
+        msvc_copy_msms( $dest, '_x86' );
     } elsif ($opt eq '--msvc-copy-msms-64') {
         my $dest = shift @commands;
         defined $dest || die "copy-msms-64 requires a destination directory";
diff --git a/post_download.in b/post_download.in
index 0161233..7685f56 100644
--- a/post_download.in
+++ b/post_download.in
@@ -47,10 +47,10 @@ dnl ===================================================================
 dnl Windows builds - use oowintool to copy VC redist merge modules
 dnl ===================================================================
 if test "$COM" = "MSC"; then
-    if ! ./oowintool --msvc-copy-msms ./external/msm90 ; then
+    if ! ./oowintool --msvc-copy-msms ./external/msm"$VCVER" ; then
        AC_MSG_ERROR([oowintool failed to copy merge modules])
     fi
-    if ! ./oowintool --msvc-copy-msms-64 ./external/msm90 ; then
+    if ! ./oowintool --msvc-copy-msms-64 ./external/msm"$VCVER" ; then
        AC_MSG_WARN([oowintool failed to copy x64 merge modules, installation
 will lack the 64-bit Explorer extension])
     fi
diff --git a/scp2/source/ooo/vc_redist.scp b/scp2/source/ooo/vc_redist.scp
index c0e5302..fa7d1c2 100644
--- a/scp2/source/ooo/vc_redist.scp
+++ b/scp2/source/ooo/vc_redist.scp
@@ -27,6 +27,8 @@
 
 #include "macros.inc"
 
+#if defined(WITH_VC90_REDIST)
+
 MergeModule gid_MergeModule_Microsoft_VC90_CRT_x86
     Feature = gm_Root;
     Name = "Microsoft_VC90_CRT_x86.msm";
@@ -34,6 +36,15 @@ MergeModule gid_MergeModule_Microsoft_VC90_CRT_x86
     ComponentCondition = "VC_REDIST=1";
 End
 
+MergeModule gid_MergeModule_policy_9_0_Microsoft_VC90_CRT_x86
+    Feature = gm_Root;
+    Name = "policy_9_0_Microsoft_VC90_CRT_x86.msm";
+    RootDir = "TARGETDIR";
+    ComponentCondition = "VC_REDIST=1";
+End
+
+#endif
+
 #if defined(WITH_VC100_REDIST)
 
 MergeModule gid_MergeModule_Microsoft_VC100_CRT_x86
@@ -45,15 +56,21 @@ End
 
 #endif
 
-MergeModule gid_MergeModule_policy_9_0_Microsoft_VC90_CRT_x86
+#if defined(WITH_VC110_REDIST)
+
+MergeModule gid_MergeModule_Microsoft_VC110_CRT_x86
     Feature = gm_Root;
-    Name = "policy_9_0_Microsoft_VC90_CRT_x86.msm";
+    Name = "Microsoft_VC110_CRT_x86.msm";
     RootDir = "TARGETDIR";
     ComponentCondition = "VC_REDIST=1";
 End
 
+#endif
+
 #if defined(BUILD_X64)
 
+#if defined(WITH_VC90_REDIST)
+
 MergeModule gid_MergeModule_Microsoft_VC90_CRT_x86_x64
     Feature = gm_Root;
     Name = "Microsoft_VC90_CRT_x86_x64.msm";
@@ -69,3 +86,27 @@ MergeModule gid_MergeModule_policy_9_0_Microsoft_VC90_CRT_x86_x64
 End
 
 #endif
+
+#if defined(WITH_VC100_REDIST)
+
+MergeModule gid_MergeModule_Microsoft_VC100_CRT_x64
+    Feature = gm_Root;
+    Name = "Microsoft_VC100_CRT_x64.msm";
+    RootDir = "TARGETDIR";
+    ComponentCondition = "VC_REDIST=1";
+End
+
+#endif
+
+#if defined(WITH_VC110_REDIST)
+
+MergeModule gid_MergeModule_Microsoft_VC110_CRT_x64
+    Feature = gm_Root;
+    Name = "Microsoft_VC110_CRT_x64.msm";
+    RootDir = "TARGETDIR";
+    ComponentCondition = "VC_REDIST=1";
+End
+
+#endif
+
+#endif
commit dadd6050724fe12f5ea076850d83f6e5fe7a655f
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Fri Aug 31 09:33:34 2012 -0400

    use downloaded rebase.exe with Win8 SDK
    
    Change-Id: Ib7cb49e9c992ba3bd8cc69e7e492f82a493d7053

diff --git a/postprocess/rebase/rebase.pl b/postprocess/rebase/rebase.pl
index 546068e..f5e5ce0 100644
--- a/postprocess/rebase/rebase.pl
+++ b/postprocess/rebase/rebase.pl
@@ -179,7 +179,13 @@ sub rebase_again
     my $newfiles_ref = shift;
     my @grownfiles;
     my $solarbin ="$ENV{SOLARVERSION}/$ENV{INPATH}/bin$ENV{UPDMINOREXT}";
-    my $command = "rebase " . $options_string;
+    my $command;
+    if ( $ENV{REBASE} eq "download" ) {
+        $command = $ENV{OUTDIR}."/bin/rebase " . $options_string;
+    }
+    else {
+        $command = "rebase " . $options_string;
+    }
     if ( $ENV{WRAPCMD} ) {
         $command = $ENV{WRAPCMD} . " " . $command;
     }
@@ -241,7 +247,13 @@ sub rebase_again
 sub rebase_initially
 {
     my ($files_ref, $start_address) = @_;
-    my $command = "rebase ";
+    my $command;
+    if ( $ENV{REBASE} eq "download" ) {
+        $command = $ENV{OUTDIR}."/bin/rebase " . $options_string;
+    }
+    else {
+        $command = "rebase " . $options_string;
+    }
     if ( $ENV{WRAPCMD} ) {
         $command = $ENV{WRAPCMD} . " " . $command;
     }
commit 67fd675d1f76198ff4b12f39f5c24e86975b7bad
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Thu Aug 30 18:54:55 2012 -0400

    Win8 SDK no longer ships rebase.exe
    
    Change-Id: I3c4280ee53411f4914be8ebd4f41d1c1cec1ba97

diff --git a/config_host.mk.in b/config_host.mk.in
index 2d7c9c4..acee128 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -480,6 +480,7 @@ export PYTHON_LIBS=@PYTHON_LIBS@
 export RANLIB=@RANLIB@
 export REDLAND_CFLAGS=@REDLAND_CFLAGS@
 export REDLAND_LIBS=@REDLAND_LIBS@
+export REBASE=@REBASE@
 export RHINO_JAR=@RHINO_JAR@
 export RPM=@RPM@
 export RTL_OS=@RTL_OS@
diff --git a/configure.in b/configure.in
index 9900783..2b4dea8 100644
--- a/configure.in
+++ b/configure.in
@@ -9099,6 +9099,17 @@ AC_SUBST(WINDOWS_SDK_HOME)
 AC_SUBST(WINDOWS_SDK_VERSION)
 
 dnl =========================================
+dnl Check for Micorosft rebase.exe
+dnl =========================================
+if test "$build_os" = "cygwin"; then
+		AC_PATH_PROG([REBASE], [rebase])
+        if test \( -z "$REBASE" -o "$REBASE" = "/usr/bin/rebase" \) -a "$WINDOWS_SDK_VERSION" = "80"; then
+            REBASE=download
+			AC_SUBST(REBASE)
+        fi
+fi
+
+dnl =========================================
 dnl Check for uuidgen
 dnl =========================================
 if test "$_os" = "WINNT" -a "$cross_compiling" != "yes"; then
diff --git a/download b/download
index 7821484..620a292 100755
--- a/download
+++ b/download
@@ -183,6 +183,11 @@ if [ "$COM" = "MSC" ]; then
     downloaditem "http://download.microsoft.com/download/E/9/F/E9FCA9E9-9908-4D8F-B491-8E8A4C294C01/" "WindowsXP-KB958911-x86-ENU.exe" "ff084c5815b0672d54628158b820f5b1"
 fi
 
+if [ "$REBASE" = "download" ]; then
+	downloaditem "http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKTools/" "cab1.cab" "15331cc5cb4a03e7a44aaa303e34bf5b"
+	downloaditem "http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKTools/" "WinSDKTools_x86.msi" "d1f44ddc2ba6bbda79407e951e44303b"
+fi
+
 if [ -f $start_dir/sources.ver -a ! -d $start_dir/.git ] ; then
     # these sources are from a tarball, so get the other source tarballs
     . $start_dir/sources.ver
@@ -223,6 +228,18 @@ if [ "$COM" = "MSC" -a -n "$md5sum" ]; then
 			cp $TARFILE_LOCATION/tmp/$dbghelp_dll_path ./external/dbghelp/dbghelp.dll
         fi
     fi
+
+	if [ "$REBASE" = "download" ]; then
+		if [ ! -f ./external/rebase/rebase.exe -a -f $TARFILE_LOCATION/WinSDKTools_x86.msi ]; then
+			msiexec /a `cygpath -d $TARFILE_LOCATION/WinSDKTools_x86.msi` /qn TARGETDIR=$TMPUNPACK SHORTFILENAMES=1
+			rebase_exe_path=Pfiles/*/Windows/v7.1/Bin/ReBase.Exe
+			sum=`$md5sum $md5special $TARFILE_LOCATION/tmp/$rebase_exe_path | sed "s/ .*//"`
+			if [ "$sum" = "5892a62147b7be59f0553ae3634e9dfa" ]; then
+				cp $TARFILE_LOCATION/tmp/$rebase_exe_path ./external/rebase/rebase.exe
+			fi
+		fi
+	fi
+	
     if [ ! -f ./external/gdiplus/gdiplus.dll -a -f $TARFILE_LOCATION/WindowsXP-KB958911-x86-ENU.exe ]; then
 	gdiplus_dll_path=SP3QFE/asms/10/msft/windows/gdiplus/gdiplus.dll
 	chmod +x `cygpath $TARFILE_LOCATION`/WindowsXP-KB958911-x86-ENU.exe
diff --git a/external/prj/d.lst b/external/prj/d.lst
index 7fa38d3..6d15049 100644
--- a/external/prj/d.lst
+++ b/external/prj/d.lst
@@ -28,6 +28,8 @@ mkdir: %_DEST%\inc\external\wine
 
 ..\dbghelp\dbghelp.dll %_DEST%\bin\dbghelp.dll
 
+..\rebase\rebase.exe %_DEST%\bin\rebase.exe
+
 ..\gdiplus\gdiplus.dll %_DEST%\bin\gdiplus.dll
 
 ..\msvcp80\msvcm80*.dll %_DEST%\bin
diff --git a/external/rebase/README_rebase.exe b/external/rebase/README_rebase.exe
new file mode 100755
index 0000000..8724893
--- /dev/null
+++ b/external/rebase/README_rebase.exe
@@ -0,0 +1 @@
+Put rebase.exe in this directory for Windows builds.
commit 5f9b8ff400c06244140755e67e34c0c1a5ef8ee2
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Thu Aug 30 15:42:13 2012 -0400

    fix path for make_installer.pl
    
    Change-Id: Iac0ca81edaada999c774cdf8169f07fa98278cc6

diff --git a/configure.in b/configure.in
index 16f271b..9900783 100644
--- a/configure.in
+++ b/configure.in
@@ -12673,8 +12673,10 @@ else
         pathmunge "$MSPDB_PATH" "before"
         if test "$BITNESS_OVERRIDE" = 64; then
             pathmunge "$COMPATH/bin/amd64" "before"
+			pathmunge "$WINDOWS_SDK_HOME/bin/x64" "before"
         else
             pathmunge "$COMPATH/bin" "before"
+			pathmunge "$WINDOWS_SDK_HOME/bin/x86" "before"
         fi
         if test "$SOLAR_JAVA" != "" -a "$JDK"!="gcj"; then
             if test -d "$JAVA_HOME/jre/bin/client"; then
commit 6d1f704a42187b91c61ccbcf3d204c8948b61f2c
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Wed Aug 29 19:50:38 2012 -0400

    work-around really weird bug in VS2012
    
    Change-Id: I7092bbcbddec179c62c2817b069f757863ca5982

diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index 29fee72..799da8e 100644
--- a/sc/source/core/data/fillinfo.cxx
+++ b/sc/source/core/data/fillinfo.cxx
@@ -1,4 +1,5 @@
 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+
 /*************************************************************************
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
commit cf19ca09b1049e39439b6c1a6b20c8c11cbee813
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Mon Aug 27 15:28:23 2012 -0400

    convert uno_bridge to new syntax
    
    Change-Id: Iac5e9a860f7ef68104c4cfc19abe686b754190af

diff --git a/cli_ure/Library_cli_uno.mk b/cli_ure/Library_cli_uno.mk
index 3166365..aa34fc0 100644
--- a/cli_ure/Library_cli_uno.mk
+++ b/cli_ure/Library_cli_uno.mk
@@ -11,7 +11,7 @@ $(eval $(call gb_Library_Library,cli_uno))
 
 $(eval $(call gb_Library_add_cxxflags,cli_uno,\
 	-AI $(gb_Helper_OUTDIRLIBDIR) \
-	-clr:oldSyntax \
+	-clr \
 	-wd4339 \
 ))
 
diff --git a/cli_ure/source/uno_bridge/cli_base.h b/cli_ure/source/uno_bridge/cli_base.h
index e678f8e..d544087 100644
--- a/cli_ure/source/uno_bridge/cli_base.h
+++ b/cli_ure/source/uno_bridge/cli_base.h
@@ -32,78 +32,77 @@ struct _oslMutexImpl
 #include "rtl/ustring.hxx"
 #include "typelib/typedescription.hxx"
 
-#using <mscorlib.dll>
 #using <system.dll>
 
 #define OUSTR(x) ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(x) )
 
 namespace cli_uno
 {
-System::Type* loadCliType(System::String * typeName);
-System::Type* mapUnoType(typelib_TypeDescription const * pTD);
-System::Type* mapUnoType(typelib_TypeDescriptionReference const * pTD);
-typelib_TypeDescriptionReference* mapCliType(System::Type* cliType);
-rtl::OUString mapCliString(System::String const * data);
-System::String* mapUnoString(rtl_uString const * data);
-System::String* mapUnoTypeName(rtl_uString const * typeName);
-
-__gc struct Constants
+System::Type^ loadCliType(System::String ^ typeName);
+System::Type^ mapUnoType(typelib_TypeDescription const * pTD);
+System::Type^ mapUnoType(typelib_TypeDescriptionReference const * pTD);
+typelib_TypeDescriptionReference* mapCliType(System::Type^ cliType);
+rtl::OUString mapCliString(System::String const ^ data);
+System::String^ mapUnoString(rtl_uString const * data);
+System::String^ mapUnoTypeName(rtl_uString const * typeName);
+
+ref struct Constants
 {
-    static const System::String* sXInterfaceName= new System::String(
-        S"unoidl.com.sun.star.uno.XInterface");
-    static const System::String* sObject= new System::String(S"System.Object");
-    static const System::String* sType= new System::String(S"System.Type");
-    static const System::String* sUnoidl= new System::String(S"unoidl.");
-    static const System::String* sVoid= new System::String(S"System.Void");
-    static const System::String* sAny= new System::String(S"uno.Any");
-    static const System::String* sArArray= new System::String(S"System.Array[]");
-    static const System::String* sBoolean= new System::String(S"System.Boolean");
-    static const System::String* sChar= new System::String(S"System.Char");
-    static const System::String* sByte= new System::String(S"System.Byte");
-    static const System::String* sInt16= new System::String(S"System.Int16");
-    static const System::String* sUInt16= new System::String(S"System.UInt16");
-    static const System::String* sInt32= new System::String(S"System.Int32");
-    static const System::String* sUInt32= new System::String(S"System.UInt32");
-    static const System::String* sInt64= new System::String(S"System.Int64");
-    static const System::String* sUInt64= new System::String(S"System.UInt64");
-    static const System::String* sString= new System::String(S"System.String");
-    static const System::String* sSingle= new System::String(S"System.Single");
-    static const System::String* sDouble= new System::String(S"System.Double");
-    static const System::String* sArBoolean= new System::String(S"System.Boolean[]");
-    static const System::String* sArChar= new System::String(S"System.Char[]");
-    static const System::String* sArByte= new System::String(S"System.Byte[]");
-    static const System::String* sArInt16= new System::String(S"System.Int16[]");
-    static const System::String* sArUInt16= new System::String(S"System.UInt16[]");
-    static const System::String* sArInt32= new System::String(S"System.Int32[]");
-    static const System::String* sArUInt32= new System::String(S"System.UInt32[]");
-    static const System::String* sArInt64= new System::String(S"System.Int64[]");
-    static const System::String* sArUInt64= new System::String(S"System.UInt64[]");
-    static const System::String* sArString= new System::String(S"System.String[]");
-    static const System::String* sArSingle= new System::String(S"System.Single[]");
-    static const System::String* sArDouble= new System::String(S"System.Double[]");
-    static const System::String* sArType= new System::String(S"System.Type[]");
-    static const System::String* sArObject= new System::String(S"System.Object[]");
-    static const System::String* sBrackets= new System::String(S"[]");
-    static const System::String* sAttributeSet= new System::String(S"set_");
-    static const System::String* sAttributeGet= new System::String(S"get_");
-
-    static const System::String* usXInterface = S"com.sun.star.uno.XInterface";
-    static const System::String* usVoid = S"void";
-    static const System::String* usType = S"type";
-    static const System::String* usAny = S"any";
-    static const System::String* usBrackets = S"[]";
-    static const System::String* usBool = S"boolean";
-    static const System::String* usByte = S"byte";
-    static const System::String* usChar = S"char";
-    static const System::String* usShort = S"short";
-    static const System::String* usUShort = S"unsigned short";
-    static const System::String* usLong = S"long";
-    static const System::String* usULong = S"unsigned long";
-    static const System::String* usHyper = S"hyper";
-    static const System::String* usUHyper = S"unsigned hyper";
-    static const System::String* usString = S"string";
-    static const System::String* usFloat = S"float";
-    static const System::String* usDouble = S"double";
+    static const System::String^ sXInterfaceName= gcnew System::String(
+        "unoidl.com.sun.star.uno.XInterface");
+    static const System::String^ sObject= gcnew System::String("System.Object");
+    static const System::String^ sType= gcnew System::String("System.Type");
+    static const System::String^ sUnoidl= gcnew System::String("unoidl.");
+    static const System::String^ sVoid= gcnew System::String("System.Void");
+    static const System::String^ sAny= gcnew System::String("uno.Any");
+    static const System::String^ sArArray= gcnew System::String("System.Array[]");
+    static const System::String^ sBoolean= gcnew System::String("System.Boolean");
+    static const System::String^ sChar= gcnew System::String("System.Char");
+    static const System::String^ sByte= gcnew System::String("System.Byte");
+    static const System::String^ sInt16= gcnew System::String("System.Int16");
+    static const System::String^ sUInt16= gcnew System::String("System.UInt16");
+    static const System::String^ sInt32= gcnew System::String("System.Int32");
+    static const System::String^ sUInt32= gcnew System::String("System.UInt32");
+    static const System::String^ sInt64= gcnew System::String("System.Int64");
+    static const System::String^ sUInt64= gcnew System::String("System.UInt64");
+    static const System::String^ sString= gcnew System::String("System.String");
+    static const System::String^ sSingle= gcnew System::String("System.Single");
+    static const System::String^ sDouble= gcnew System::String("System.Double");
+    static const System::String^ sArBoolean= gcnew System::String("System.Boolean[]");
+    static const System::String^ sArChar= gcnew System::String("System.Char[]");
+    static const System::String^ sArByte= gcnew System::String("System.Byte[]");
+    static const System::String^ sArInt16= gcnew System::String("System.Int16[]");
+    static const System::String^ sArUInt16= gcnew System::String("System.UInt16[]");
+    static const System::String^ sArInt32= gcnew System::String("System.Int32[]");
+    static const System::String^ sArUInt32= gcnew System::String("System.UInt32[]");
+    static const System::String^ sArInt64= gcnew System::String("System.Int64[]");
+    static const System::String^ sArUInt64= gcnew System::String("System.UInt64[]");
+    static const System::String^ sArString= gcnew System::String("System.String[]");
+    static const System::String^ sArSingle= gcnew System::String("System.Single[]");
+    static const System::String^ sArDouble= gcnew System::String("System.Double[]");
+    static const System::String^ sArType= gcnew System::String("System.Type[]");
+    static const System::String^ sArObject= gcnew System::String("System.Object[]");
+    static const System::String^ sBrackets= gcnew System::String("[]");
+    static const System::String^ sAttributeSet= gcnew System::String("set_");
+    static const System::String^ sAttributeGet= gcnew System::String("get_");
+
+    static const System::String^ usXInterface = "com.sun.star.uno.XInterface";
+    static const System::String^ usVoid = "void";
+    static const System::String^ usType = "type";
+    static const System::String^ usAny = "any";
+    static const System::String^ usBrackets = "[]";
+    static const System::String^ usBool = "boolean";
+    static const System::String^ usByte = "byte";
+    static const System::String^ usChar = "char";
+    static const System::String^ usShort = "short";
+    static const System::String^ usUShort = "unsigned short";
+    static const System::String^ usLong = "long";
+    static const System::String^ usULong = "unsigned long";
+    static const System::String^ usHyper = "hyper";
+    static const System::String^ usUHyper = "unsigned hyper";
+    static const System::String^ usString = "string";
+    static const System::String^ usFloat = "float";
+    static const System::String^ usDouble = "double";
 };
 
 struct BridgeRuntimeError
diff --git a/cli_ure/source/uno_bridge/cli_bridge.cxx b/cli_ure/source/uno_bridge/cli_bridge.cxx
index 53329e8..12b432e 100644
--- a/cli_ure/source/uno_bridge/cli_bridge.cxx
+++ b/cli_ure/source/uno_bridge/cli_bridge.cxx
@@ -31,7 +31,6 @@
 
 #include "cli_bridge.h"
 #include "cli_proxy.h"
-#using <mscorlib.dll>
 #if defined(_MSC_VER) && (_MSC_VER < 1400)
 #include <_vcclrit.h>
 #endif
@@ -85,7 +84,7 @@ void SAL_CALL Mapping_cli2uno(
 
         if (0 != cliI)
         {
-            System::Object* cliObj= sri::GCHandle::op_Explicit(cliI).Target;
+            System::Object^ cliObj= sri::GCHandle::FromIntPtr(IntPtr(cliI)).Target;
             (*ppOut)= bridge->map_cli2uno(cliObj, (typelib_TypeDescription*) td);
         }
     }
@@ -130,16 +129,16 @@ void SAL_CALL Mapping_uno2cli(
 
         if (0 != *ppDNetI)
         {
-            sri::GCHandle::op_Explicit(ppDNetI).Free();
+            sri::GCHandle::FromIntPtr(IntPtr(ppDNetI)).Free();
         }
 
         if (0 != pUnoI)
         {
-            System::Object* cliI=  bridge->map_uno2cli(pUnoI, td);
+            System::Object^ cliI=  bridge->map_uno2cli(pUnoI, td);
             intptr_t ptr= NULL;
             if(cliI)
             {
-                ptr= sri::GCHandle::op_Explicit(sri::GCHandle::Alloc(cliI))
+                ptr= sri::GCHandle::ToIntPtr(sri::GCHandle::Alloc(cliI))
 #ifdef _WIN32
                     .ToInt32();
 #else /* defined(_WIN64) */                 .ToInt64();
@@ -288,7 +287,7 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL uno_initEnvironment( uno_Environment * uno_cl
     //where g_cli_env is accessed.
     //When we compile the bridge with .NET 2 then we can again hold g_cli_env as a static gcroot
     //member in a unmanaged class, such as Bridge.
-    CliEnvHolder::g_cli_env = new Cli_environment();
+    CliEnvHolder::g_cli_env = gcnew Cli_environment();
 }
 //##################################################################################################
 SAL_DLLPUBLIC_EXPORT void SAL_CALL uno_ext_getMapping(
diff --git a/cli_ure/source/uno_bridge/cli_bridge.h b/cli_ure/source/uno_bridge/cli_bridge.h
index 7c45169..b12b448 100644
--- a/cli_ure/source/uno_bridge/cli_bridge.h
+++ b/cli_ure/source/uno_bridge/cli_bridge.h
@@ -26,7 +26,6 @@
 #include "uno/dispatcher.h"
 #include "cli_base.h"
 #include "cli_environment.h"
-#using <mscorlib.dll>
 //#using <cli_uretypes.dll>
 #using <cli_basetypes.dll>
 #using <system.dll>
@@ -47,8 +46,8 @@ struct Mapping : public uno_Mapping
 // The environment will be created in uno_initEnvironment. See also the remarks there
 //Managed cli environment for cli objects an UNO proxies (which are cli
 //objects. The uno_Environment is not used for cli objects.
-__gc struct CliEnvHolder {
-static Cli_environment * g_cli_env = NULL;
+ref struct CliEnvHolder {
+static Cli_environment ^ g_cli_env = nullptr;
 };
 
 //==================================================================================================
@@ -72,7 +71,7 @@ struct Bridge
     void release() const;
 
     void  map_to_uno(
-        void * uno_data, System::Object* cli_data,
+        void * uno_data, System::Object^ cli_data,
         typelib_TypeDescriptionReference * type,
         bool assign) const;
 
@@ -81,28 +80,28 @@ struct Bridge
        the type of the converted data. It may be a byref type.
      */
     void map_to_cli(
-        System::Object* *cli_data, void const * uno_data,
-        typelib_TypeDescriptionReference * type, System::Type* info /* maybe 0 */,
+        System::Object^ *cli_data, void const * uno_data,
+        typelib_TypeDescriptionReference * type, System::Type^ info /* maybe 0 */,
         bool bDontCreateObj) const;
 
-    System::Object* map_uno2cli(uno_Interface * pUnoI, typelib_InterfaceTypeDescription* pTD) const;
+    System::Object^ map_uno2cli(uno_Interface * pUnoI, typelib_InterfaceTypeDescription* pTD) const;
 
-    System::Object* call_uno(uno_Interface * pUnoI,
+    System::Object^ call_uno(uno_Interface * pUnoI,
                       typelib_TypeDescription* member_td,
                       typelib_TypeDescriptionReference * return_type,
                       sal_Int32 nParams, typelib_MethodParameter const * pParams,
-                      System::Object * args[], System::Type* argTypes[],
-                      System::Object** pException) const;
+                      array<System::Object^>^ args, array<System::Type^>^ argTypes,
+                      System::Object^* pException) const;
 
 
     void call_cli(
-        System::Object* cliI, sr::MethodInfo* method,
+        System::Object^ cliI, sr::MethodInfo^ method,
         typelib_TypeDescriptionReference * return_type,
         typelib_MethodParameter * params, int nParams,
         void * uno_ret, void * uno_args [], uno_Any ** uno_exc ) const;
 
     uno_Interface * map_cli2uno(
-        System::Object* cliI, typelib_TypeDescription* pTD) const;
+        System::Object^ cliI, typelib_TypeDescription* pTD) const;
 
 };
 
diff --git a/cli_ure/source/uno_bridge/cli_data.cxx b/cli_ure/source/uno_bridge/cli_data.cxx
index e9edae0..3a0eb80 100644
--- a/cli_ure/source/uno_bridge/cli_data.cxx
+++ b/cli_ure/source/uno_bridge/cli_data.cxx
@@ -52,10 +52,10 @@ using ::rtl::OUStringBuffer;
 
 namespace cli_uno
 {
-System::String* mapUnoPolymorphicName(System::String* unoName);
-OUString mapCliTypeName(System::String* typeName);
-System::String* mapCliPolymorphicName(System::String* unoName);
-System::String* mapPolymorphicName(System::String* unoName, bool bCliToUno);
+System::String^ mapUnoPolymorphicName(System::String^ unoName);
+OUString mapCliTypeName(System::String^ typeName);
+System::String^ mapCliPolymorphicName(System::String^ unoName);
+System::String^ mapPolymorphicName(System::String^ unoName, bool bCliToUno);
 
 inline auto_ptr< rtl_mem > seq_allocate( sal_Int32 nElements, sal_Int32 nSize )
 {
@@ -68,9 +68,9 @@ inline auto_ptr< rtl_mem > seq_allocate( sal_Int32 nElements, sal_Int32 nSize )
 }
 
 
-System::Object* Bridge::map_uno2cli(uno_Interface * pUnoI, typelib_InterfaceTypeDescription *pTD) const
+System::Object^ Bridge::map_uno2cli(uno_Interface * pUnoI, typelib_InterfaceTypeDescription *pTD) const
 {
-    System::Object* retVal= NULL;
+    System::Object^ retVal= nullptr;
 // get oid
     rtl_uString * pOid = 0;
     (*m_uno_env->getObjectIdentifier)( m_uno_env, &pOid, pUnoI );
@@ -78,8 +78,8 @@ System::Object* Bridge::map_uno2cli(uno_Interface * pUnoI, typelib_InterfaceType
     OUString oid(pOid, SAL_NO_ACQUIRE);
 
     //see if the interface was already mapped
-    System::Type* ifaceType= mapUnoType(reinterpret_cast<typelib_TypeDescription*>(pTD));
-    System::String* sOid= mapUnoString(oid.pData);
+    System::Type^ ifaceType= mapUnoType(reinterpret_cast<typelib_TypeDescription*>(pTD));
+    System::String^ sOid= mapUnoString(oid.pData);
 
     System::Threading::Monitor::Enter( CliEnvHolder::g_cli_env );
     try
@@ -93,7 +93,7 @@ System::Object* Bridge::map_uno2cli(uno_Interface * pUnoI, typelib_InterfaceType
             // interface. If it already does that, then it does nothing
             if (srr::RemotingServices::IsTransparentProxy(retVal))
             {
-                UnoInterfaceProxy* p = static_cast<UnoInterfaceProxy*>(
+                UnoInterfaceProxy^ p = static_cast<UnoInterfaceProxy^>(
                     srr::RemotingServices::GetRealProxy(retVal));
                 p->addUnoInterface(pUnoI, pTD);
             }
@@ -112,18 +112,18 @@ System::Object* Bridge::map_uno2cli(uno_Interface * pUnoI, typelib_InterfaceType
     return retVal;
 }
 
-uno_Interface* Bridge::map_cli2uno(System::Object* cliObj, typelib_TypeDescription *pTD) const
+uno_Interface* Bridge::map_cli2uno(System::Object^ cliObj, typelib_TypeDescription *pTD) const
 {
     uno_Interface* retIface = NULL;
     // get oid from dot net environment
-    System::String* ds_oid = CliEnvHolder::g_cli_env->getObjectIdentifier( cliObj);
+    System::String^ ds_oid = CliEnvHolder::g_cli_env->getObjectIdentifier( cliObj);
     OUString ousOid = mapCliString(ds_oid);
     // look if interface is already mapped
     m_uno_env->getRegisteredInterface(m_uno_env, (void**) &retIface, ousOid.pData,
                                       (typelib_InterfaceTypeDescription*) pTD);
     if ( ! retIface)
     {
-        System::Threading::Monitor::Enter(__typeof(Cli_environment));
+        System::Threading::Monitor::Enter(Cli_environment::typeid);
         try
         {
             m_uno_env->getRegisteredInterface(m_uno_env, (void**) &retIface, ousOid.pData,
@@ -135,35 +135,35 @@ uno_Interface* Bridge::map_cli2uno(System::Object* cliObj, typelib_TypeDescripti
         }
         __finally
         {
-            System::Threading::Monitor::Exit(__typeof(Cli_environment));
+            System::Threading::Monitor::Exit(Cli_environment::typeid);
         }
     }
     return retIface;
 }
 
-inline System::Type* loadCliType(rtl_uString * unoName)
+inline System::Type^ loadCliType(rtl_uString * unoName)
 {
      return loadCliType(mapUnoTypeName(unoName));
 }
 
-System::Type* loadCliType(System::String * unoName)
+System::Type^ loadCliType(System::String ^ unoName)
 {
-    System::Type* retVal= NULL;
+    System::Type^ retVal= nullptr;
     try
     {
         //If unoName denotes a polymorphic type, e.g com.sun.star.beans.Defaulted<System.Char>
         //then we remove the type list, otherwise the type could not be loaded.
         bool bIsPolymorphic = false;
 
-        System::String * loadName = unoName;
+        System::String ^ loadName = unoName;
         int index = unoName->IndexOf('<');
         if (index != -1)
         {
             loadName = unoName->Substring(0, index);
             bIsPolymorphic = true;
         }
-        System::AppDomain*  currentDomain = System::AppDomain::CurrentDomain;
-        sr::Assembly*  assems[] = currentDomain->GetAssemblies();
+        System::AppDomain^  currentDomain = System::AppDomain::CurrentDomain;
+        array<sr::Assembly^>^  assems = currentDomain->GetAssemblies();
         for (int i = 0; i < assems->Length; i++)
         {
             retVal = assems[i]->GetType(loadName, false);
@@ -171,9 +171,9 @@ System::Type* loadCliType(System::String * unoName)
                 break;
         }
 
-        if (retVal == NULL)
+        if (retVal == nullptr)
         {
-            System::String * msg = new System::String(S"A type could not be loaded: ");
+            System::String ^ msg = gcnew System::String("A type could not be loaded: ");
             msg = System::String::Concat(msg, loadName);
             throw BridgeRuntimeError(mapCliString(msg));
         }
@@ -183,55 +183,55 @@ System::Type* loadCliType(System::String * unoName)
             retVal = uno::PolymorphicType::GetType(retVal, unoName);
         }
     }
-    catch( System::Exception * e)
+    catch( System::Exception ^ e)
     {
-        rtl::OUString ouMessage(mapCliString(e->get_Message()));
+        rtl::OUString ouMessage(mapCliString(e->Message));
         throw BridgeRuntimeError(ouMessage);
     }
     return retVal;
 }
 
 
-System::Type* mapUnoType(typelib_TypeDescription const * pTD)
+System::Type^ mapUnoType(typelib_TypeDescription const * pTD)
 {
     return mapUnoType(pTD->pWeakRef);
 }
 
-System::Type* mapUnoType(typelib_TypeDescriptionReference const * pTD)
+System::Type^ mapUnoType(typelib_TypeDescriptionReference const * pTD)
 {
-    System::Type * retVal = 0;
+    System::Type ^ retVal = nullptr;
     switch (pTD->eTypeClass)
     {
     case typelib_TypeClass_VOID:
-        retVal= __typeof(void); break;
+        retVal= void::typeid; break;
     case typelib_TypeClass_CHAR:
-        retVal= __typeof(System::Char); break;
+        retVal= System::Char::typeid; break;
     case typelib_TypeClass_BOOLEAN:
-        retVal= __typeof(System::Boolean); break;
+        retVal= System::Boolean::typeid; break;
     case typelib_TypeClass_BYTE:
-        retVal= __typeof(System::Byte); break;
+        retVal= System::Byte::typeid; break;
     case typelib_TypeClass_SHORT:
-        retVal= __typeof(System::Int16); break;
+        retVal= System::Int16::typeid; break;
     case typelib_TypeClass_UNSIGNED_SHORT:
-        retVal= __typeof(System::UInt16); break;
+        retVal= System::UInt16::typeid; break;
     case typelib_TypeClass_LONG:
-        retVal= __typeof(System::Int32); break;
+        retVal= System::Int32::typeid; break;
     case typelib_TypeClass_UNSIGNED_LONG:
-        retVal= __typeof(System::UInt32); break;
+        retVal= System::UInt32::typeid; break;
     case typelib_TypeClass_HYPER:
-        retVal= __typeof(System::Int64); break;
+        retVal= System::Int64::typeid; break;
     case typelib_TypeClass_UNSIGNED_HYPER:
-        retVal= __typeof(System::UInt64); break;
+        retVal= System::UInt64::typeid; break;
     case typelib_TypeClass_FLOAT:
-        retVal= __typeof(System::Single); break;
+        retVal= System::Single::typeid; break;
     case typelib_TypeClass_DOUBLE:
-        retVal= __typeof(System::Double); break;
+        retVal= System::Double::typeid; break;
     case typelib_TypeClass_STRING:
-        retVal= __typeof(System::String); break;
+        retVal= System::String::typeid; break;
     case typelib_TypeClass_TYPE:
-        retVal= __typeof(System::Type); break;
+        retVal= System::Type::typeid; break;
     case typelib_TypeClass_ANY:
-        retVal= __typeof(uno::Any); break;
+        retVal= uno::Any::typeid; break;
     case typelib_TypeClass_ENUM:
     case typelib_TypeClass_STRUCT:
     case typelib_TypeClass_EXCEPTION:
@@ -241,7 +241,7 @@ System::Type* mapUnoType(typelib_TypeDescriptionReference const * pTD)
         //special handling for XInterface, since it does not exist in cli.
         rtl::OUString usXInterface(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uno.XInterface"));
         if (usXInterface.equals(pTD->pTypeName))
-            retVal= __typeof(System::Object);
+            retVal= System::Object::typeid;
         else
             retVal= loadCliType(pTD->pTypeName);
         break;
@@ -255,42 +255,42 @@ System::Type* mapUnoType(typelib_TypeDescriptionReference const * pTD)
         switch (pElementTDRef->eTypeClass)
         {
         case typelib_TypeClass_CHAR:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArChar)); break;
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArChar)); break;
         case typelib_TypeClass_BOOLEAN:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArBoolean));
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArBoolean));
             break;
         case typelib_TypeClass_BYTE:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArByte));
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArByte));
             break;
         case typelib_TypeClass_SHORT:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArInt16));
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArInt16));
             break;
         case typelib_TypeClass_UNSIGNED_SHORT:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArUInt16));
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArUInt16));
             break;
         case typelib_TypeClass_LONG:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArInt32));
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArInt32));
             break;
         case typelib_TypeClass_UNSIGNED_LONG:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArUInt32));
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArUInt32));
             break;
         case typelib_TypeClass_HYPER:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArInt64));
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArInt64));
             break;
         case typelib_TypeClass_UNSIGNED_HYPER:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArUInt64));
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArUInt64));
             break;
         case typelib_TypeClass_FLOAT:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArSingle));
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArSingle));
             break;
         case typelib_TypeClass_DOUBLE:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArDouble));
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArDouble));
             break;
         case typelib_TypeClass_STRING:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArString));
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArString));
             break;
         case typelib_TypeClass_TYPE:
-            retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArType));
+            retVal= System::Type::GetType(const_cast<System::String^>(Constants::sArType));
             break;
         case typelib_TypeClass_ANY:
         case typelib_TypeClass_ENUM:
@@ -318,10 +318,10 @@ System::Type* mapUnoType(typelib_TypeDescriptionReference const * pTD)
 
 /** Returns an acquired td.
  */
-typelib_TypeDescriptionReference* mapCliType(System::Type* cliType)
+typelib_TypeDescriptionReference* mapCliType(System::Type^ cliType)
 {
     typelib_TypeDescriptionReference* retVal= NULL;
-    if (cliType == NULL)
+    if (cliType == nullptr)
     {
         retVal = * typelib_static_type_getByTypeClass(
             typelib_TypeClass_VOID );
@@ -330,9 +330,9 @@ typelib_TypeDescriptionReference* mapCliType(System::Type* cliType)
     }
     //check for Enum first,
     //because otherwise case System::TypeCode::Int32 applies
-    if (cliType->get_IsEnum())
+    if (cliType->IsEnum)
     {
-        OUString usTypeName= mapCliTypeName(cliType->get_FullName());
+        OUString usTypeName= mapCliTypeName(cliType->FullName);
         css::uno::Type unoType(css::uno::TypeClass_ENUM, usTypeName);
         retVal= unoType.getTypeLibType();
         typelib_typedescriptionreference_acquire(retVal);
@@ -407,9 +407,9 @@ typelib_TypeDescriptionReference* mapCliType(System::Type* cliType)
     }
     if (retVal == NULL)
     {
-        System::String* cliTypeName= cliType->get_FullName();
+        System::String^ cliTypeName= cliType->FullName;
         // Void
-        if (const_cast<System::String*>(Constants::sVoid)->Equals(
+        if (const_cast<System::String^>(Constants::sVoid)->Equals(
                 cliTypeName))
         {
             retVal = * typelib_static_type_getByTypeClass(
@@ -417,7 +417,7 @@ typelib_TypeDescriptionReference* mapCliType(System::Type* cliType)
             typelib_typedescriptionreference_acquire( retVal );
         }
         // Type
-        else if (const_cast<System::String*>(Constants::sType)->Equals(
+        else if (const_cast<System::String^>(Constants::sType)->Equals(
                      cliTypeName))
         {
             retVal = * typelib_static_type_getByTypeClass(
@@ -425,7 +425,7 @@ typelib_TypeDescriptionReference* mapCliType(System::Type* cliType)
             typelib_typedescriptionreference_acquire( retVal );
         }
         // Any
-        else if (const_cast<System::String*>(Constants::sAny)->Equals(
+        else if (const_cast<System::String^>(Constants::sAny)->Equals(
                      cliTypeName))
         {
             retVal = * typelib_static_type_getByTypeClass(
@@ -436,8 +436,8 @@ typelib_TypeDescriptionReference* mapCliType(System::Type* cliType)
         else
         {
             OUString usTypeName;
-            uno::PolymorphicType * poly = dynamic_cast<uno::PolymorphicType*>(cliType);
-            if (poly != NULL)
+            uno::PolymorphicType ^ poly = dynamic_cast<uno::PolymorphicType^>(cliType);
+            if (poly != nullptr)
                 usTypeName = mapCliTypeName( poly->PolymorphicName);
             else
                 usTypeName = mapCliTypeName(cliTypeName);
@@ -457,7 +457,7 @@ typelib_TypeDescriptionReference* mapCliType(System::Type* cliType)
         buf.appendAscii(
             RTL_CONSTASCII_STRINGPARAM("[cli_uno bridge] mapCliType():"
                                        "could not map type: ") );
-        buf.append(mapCliString(cliType->get_FullName()));
+        buf.append(mapCliString(cliType->FullName));
         throw BridgeRuntimeError( buf.makeStringAndClear() );
     }
     return retVal;
@@ -466,10 +466,10 @@ typelib_TypeDescriptionReference* mapCliType(System::Type* cliType)
 /**
     Otherwise a leading "unoidl." is removed.
  */
-System::String* mapUnoTypeName(rtl_uString const * typeName)
+System::String^ mapUnoTypeName(rtl_uString const * typeName)
 {
     OUString usUnoName( const_cast< rtl_uString * >( typeName ) );
-    st::StringBuilder* buf= new st::StringBuilder();
+    st::StringBuilder^ buf= gcnew st::StringBuilder();
     //determine if the type is a sequence and its dimensions
     int dims= 0;
     if (usUnoName[0] == '[')
@@ -484,52 +484,52 @@ System::String* mapUnoTypeName(rtl_uString const * typeName)
         }
         usUnoName = usUnoName.copy(index - 1);
     }
-    System::String * sUnoName = mapUnoString(usUnoName.pData);
-    if (sUnoName->Equals(const_cast<System::String*>(Constants::usBool)))
-        buf->Append(const_cast<System::String*>(Constants::sBoolean));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usChar)))
-        buf->Append(const_cast<System::String*>(Constants::sChar));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usByte)))
-        buf->Append(const_cast<System::String*>(Constants::sByte));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usShort)))
-        buf->Append(const_cast<System::String*>(Constants::sInt16));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usUShort)))
-        buf->Append(const_cast<System::String*>(Constants::sUInt16));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usLong)))
-        buf->Append(const_cast<System::String*>(Constants::sInt32));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usULong)))
-        buf->Append(const_cast<System::String*>(Constants::sUInt32));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usHyper)))
-        buf->Append(const_cast<System::String*>(Constants::sInt64));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usUHyper)))
-        buf->Append(const_cast<System::String*>(Constants::sUInt64));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usFloat)))
-        buf->Append(const_cast<System::String*>(Constants::sSingle));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usDouble)))
-        buf->Append(const_cast<System::String*>(Constants::sDouble));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usString)))
-        buf->Append(const_cast<System::String*>(Constants::sString));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usVoid)))
-        buf->Append(const_cast<System::String*>(Constants::sVoid));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usType)))
-        buf->Append(const_cast<System::String*>(Constants::sType));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usXInterface)))
-        buf->Append(const_cast<System::String*>(Constants::sObject));
-    else if (sUnoName->Equals(const_cast<System::String*>(Constants::usAny)))
+    System::String ^ sUnoName = mapUnoString(usUnoName.pData);
+    if (sUnoName->Equals(const_cast<System::String^>(Constants::usBool)))
+        buf->Append(const_cast<System::String^>(Constants::sBoolean));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usChar)))
+        buf->Append(const_cast<System::String^>(Constants::sChar));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usByte)))
+        buf->Append(const_cast<System::String^>(Constants::sByte));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usShort)))
+        buf->Append(const_cast<System::String^>(Constants::sInt16));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usUShort)))
+        buf->Append(const_cast<System::String^>(Constants::sUInt16));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usLong)))
+        buf->Append(const_cast<System::String^>(Constants::sInt32));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usULong)))
+        buf->Append(const_cast<System::String^>(Constants::sUInt32));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usHyper)))
+        buf->Append(const_cast<System::String^>(Constants::sInt64));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usUHyper)))
+        buf->Append(const_cast<System::String^>(Constants::sUInt64));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usFloat)))
+        buf->Append(const_cast<System::String^>(Constants::sSingle));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usDouble)))
+        buf->Append(const_cast<System::String^>(Constants::sDouble));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usString)))
+        buf->Append(const_cast<System::String^>(Constants::sString));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usVoid)))
+        buf->Append(const_cast<System::String^>(Constants::sVoid));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usType)))
+        buf->Append(const_cast<System::String^>(Constants::sType));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usXInterface)))
+        buf->Append(const_cast<System::String^>(Constants::sObject));
+    else if (sUnoName->Equals(const_cast<System::String^>(Constants::usAny)))
     {
-        buf->Append(const_cast<System::String*>(Constants::sAny));
+        buf->Append(const_cast<System::String^>(Constants::sAny));
     }
     else
     {
         //put "unoidl." at the beginning
-        buf->Append(const_cast<System::String*>(Constants::sUnoidl));
+        buf->Append(const_cast<System::String^>(Constants::sUnoidl));
         //for polymorphic struct types remove the brackets, e.g mystruct<bool> -> mystruct
-        System::String * sName = mapUnoPolymorphicName(sUnoName);
+        System::String ^ sName = mapUnoPolymorphicName(sUnoName);
         buf->Append(sName);
     }
     // apend []
     for (;dims--;)
-        buf->Append(const_cast<System::String*>(Constants::sBrackets));
+        buf->Append(const_cast<System::String^>(Constants::sBrackets));
 
     return buf->ToString();
 }
@@ -544,7 +544,7 @@ System::String* mapUnoTypeName(rtl_uString const * typeName)
     System.Int32, etc.
     The präfix unoidl is not added.
  */
-inline System::String* mapUnoPolymorphicName(System::String* unoName)
+inline System::String^ mapUnoPolymorphicName(System::String^ unoName)
 {
        return mapPolymorphicName(unoName, false);
 }
@@ -555,18 +555,18 @@ inline System::String* mapUnoPolymorphicName(System::String* unoName)
     long, etc.
     The präfix unoidl remains.
  */
-inline System::String* mapCliPolymorphicName(System::String* unoName)
+inline System::String^ mapCliPolymorphicName(System::String^ unoName)
 {
     return mapPolymorphicName(unoName, true);
 }
 
-System::String* mapPolymorphicName(System::String* unoName, bool bCliToUno)
+System::String^ mapPolymorphicName(System::String^ unoName, bool bCliToUno)
 {
     int index = unoName->IndexOf('<');
     if (index == -1)
         return unoName;
 
-    System::Text::StringBuilder * builder = new System::Text::StringBuilder(256);
+    System::Text::StringBuilder ^ builder = gcnew System::Text::StringBuilder(256);
     builder->Append(unoName->Substring(0, index +1 ));
 
     //Find the first occurrence of ','
@@ -579,14 +579,14 @@ System::String* mapPolymorphicName(System::String* unoName, bool bCliToUno)
     int countParams = 0;
     while (cur <= endIndex)
     {
-        System::Char c = unoName->Chars[cur];
+        System::Char c = unoName[cur];
         if (c == ',' || c == '>')
         {
             //insert a comma if needed
             if (countParams != 0)
-                builder->Append(S",");
+                builder->Append(",");
             countParams++;
-            System::String * sParam = unoName->Substring(index, cur - index);
+            System::String ^ sParam = unoName->Substring(index, cur - index);
             //skip the comma
             cur++;
             //the the index to the beginning of the next param
@@ -608,7 +608,7 @@ System::String* mapPolymorphicName(System::String* unoName, bool bCliToUno)
             int numNested = 0;
             for (;;cur++)
             {
-                System::Char curChar = unoName->Chars[cur];
+                System::Char curChar = unoName[cur];
                 if (curChar == '<')
                 {
                     numNested ++;
@@ -629,7 +629,7 @@ System::String* mapPolymorphicName(System::String* unoName, bool bCliToUno)
     return builder->ToString();
 }
 
-OUString mapCliTypeName(System::String* typeName)
+OUString mapCliTypeName(System::String^ typeName)
 {
     int dims= 0;
     // Array? determine the "rank" (number of "[]")
@@ -640,7 +640,7 @@ OUString mapCliTypeName(System::String* typeName)
     bool bRightBracket = false;
     while (cur >= 0)
     {
-        System::Char c = typeName->Chars[cur];
+        System::Char c = typeName[cur];
         if (c == ']')
         {
             bRightBracket = true;
@@ -672,47 +672,47 @@ OUString mapCliTypeName(System::String* typeName)
 
     typeName = typeName->Substring(0, cur + 1);
 
-    System::Text::StringBuilder * buf = new System::Text::StringBuilder(512);
+    System::Text::StringBuilder ^ buf = gcnew System::Text::StringBuilder(512);
 
     //Put the "[]" at the beginning of the uno type name
     for (;dims--;)
-        buf->Append(const_cast<System::String*>(Constants::usBrackets));
-
-    if (typeName->Equals(const_cast<System::String*>(Constants::sBoolean)))
-        buf->Append(const_cast<System::String*>(Constants::usBool));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sChar)))
-        buf->Append(const_cast<System::String*>(Constants::usChar));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sByte)))
-        buf->Append(const_cast<System::String*>(Constants::usByte));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sInt16)))
-        buf->Append(const_cast<System::String*>(Constants::usShort));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sUInt16)))
-        buf->Append(const_cast<System::String*>(Constants::usUShort));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sInt32)))
-        buf->Append(const_cast<System::String*>(Constants::usLong));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sUInt32)))
-        buf->Append(const_cast<System::String*>(Constants::usULong));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sInt64)))
-        buf->Append(const_cast<System::String*>(Constants::usHyper));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sUInt64)))
-        buf->Append(const_cast<System::String*>(Constants::usUHyper));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sSingle)))
-        buf->Append(const_cast<System::String*>(Constants::usFloat));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sDouble)))
-        buf->Append(const_cast<System::String*>(Constants::usDouble));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sString)))
-        buf->Append(const_cast<System::String*>(Constants::usString));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sVoid)))
-        buf->Append(const_cast<System::String*>(Constants::usVoid));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sType)))
-        buf->Append(const_cast<System::String*>(Constants::usType));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sObject)))
-        buf->Append(const_cast<System::String*>(Constants::usXInterface));
-    else if (typeName->Equals(const_cast<System::String*>(Constants::sAny)))
-        buf->Append(const_cast<System::String*>(Constants::usAny));
+        buf->Append(const_cast<System::String^>(Constants::usBrackets));
+
+    if (typeName->Equals(const_cast<System::String^>(Constants::sBoolean)))
+        buf->Append(const_cast<System::String^>(Constants::usBool));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sChar)))
+        buf->Append(const_cast<System::String^>(Constants::usChar));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sByte)))
+        buf->Append(const_cast<System::String^>(Constants::usByte));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sInt16)))
+        buf->Append(const_cast<System::String^>(Constants::usShort));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sUInt16)))
+        buf->Append(const_cast<System::String^>(Constants::usUShort));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sInt32)))
+        buf->Append(const_cast<System::String^>(Constants::usLong));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sUInt32)))
+        buf->Append(const_cast<System::String^>(Constants::usULong));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sInt64)))
+        buf->Append(const_cast<System::String^>(Constants::usHyper));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sUInt64)))
+        buf->Append(const_cast<System::String^>(Constants::usUHyper));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sSingle)))
+        buf->Append(const_cast<System::String^>(Constants::usFloat));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sDouble)))
+        buf->Append(const_cast<System::String^>(Constants::usDouble));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sString)))
+        buf->Append(const_cast<System::String^>(Constants::usString));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sVoid)))
+        buf->Append(const_cast<System::String^>(Constants::usVoid));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sType)))
+        buf->Append(const_cast<System::String^>(Constants::usType));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sObject)))
+        buf->Append(const_cast<System::String^>(Constants::usXInterface));
+    else if (typeName->Equals(const_cast<System::String^>(Constants::sAny)))
+        buf->Append(const_cast<System::String^>(Constants::usAny));
     else
     {
-        System::String * sName = mapCliPolymorphicName(typeName);
+        System::String ^ sName = mapCliPolymorphicName(typeName);
         int i= sName->IndexOf(L'.');
         buf->Append(sName->Substring(i + 1));
     }
@@ -721,20 +721,20 @@ OUString mapCliTypeName(System::String* typeName)
 /** Maps uno types to dot net types.
  *  If uno_data is null then the type description is converted to System::Type
  */
-inline System::String* mapUnoString( rtl_uString const * data)
+inline System::String^ mapUnoString( rtl_uString const * data)
 {
     OSL_ASSERT(data);
-    return new System::String((__wchar_t*) data->buffer, 0, data->length);
+    return gcnew System::String((__wchar_t*) data->buffer, 0, data->length);
 }
 
-OUString mapCliString(System::String const * data)
+OUString mapCliString(System::String const ^ data)
 {
 
-    if (data != NULL)
+    if (data != nullptr)
     {
         OSL_ASSERT(sizeof(wchar_t) == sizeof(sal_Unicode));
-        wchar_t const __pin * pdata= PtrToStringChars(data);
-        return OUString(pdata, const_cast<System::String*>(data)->get_Length());
+        pin_ptr<wchar_t const> pdata= PtrToStringChars(data);
+        return OUString(pdata, const_cast<System::String^>(data)->Length);
     }
     else
     {
@@ -745,7 +745,7 @@ OUString mapCliString(System::String const * data)
 // ToDo convert cli types to expected types, e.g a long to a short where the uno type
 // is a sal_Int16. This could be necessary if a scripting language (typeless) is used
 // @param assign the uno_data has to be destructed (in/out args)
-void Bridge::map_to_uno(void * uno_data, System::Object* cli_data,
+void Bridge::map_to_uno(void * uno_data, System::Object^ cli_data,
                         typelib_TypeDescriptionReference * type,
                         bool assign) const
 {
@@ -756,67 +756,67 @@ void Bridge::map_to_uno(void * uno_data, System::Object* cli_data,
             break;
         case typelib_TypeClass_CHAR:
         {
-            System::Char aChar= *__try_cast<System::Char*>(cli_data);
+            System::Char aChar= *safe_cast<System::Char^>(cli_data);
             *(sal_Unicode*) uno_data= aChar;
             break;
         }
         case typelib_TypeClass_BOOLEAN:
         {
-            System::Boolean aBool= *__try_cast<System::Boolean*>(cli_data);
+            System::Boolean aBool= *safe_cast<System::Boolean^>(cli_data);
             *(sal_Bool*)uno_data= aBool == true ? sal_True : sal_False;
             break;
         }
         case typelib_TypeClass_BYTE:
         {
-            System::Byte aByte= *__try_cast<System::Byte*>(cli_data);
+            System::Byte aByte= *safe_cast<System::Byte^>(cli_data);
             *(sal_Int8*) uno_data= aByte;
             break;
         }
         case typelib_TypeClass_SHORT:
         {
-            System::Int16 aShort= *__try_cast<System::Int16*>(cli_data);
+            System::Int16 aShort= *safe_cast<System::Int16^>(cli_data);
             *(sal_Int16*) uno_data= aShort;
             break;
         }
         case typelib_TypeClass_UNSIGNED_SHORT:
         {
-            System::UInt16 aUShort= *__try_cast<System::UInt16*>(cli_data);
+            System::UInt16 aUShort= *safe_cast<System::UInt16^>(cli_data);
             *(sal_uInt16*) uno_data= aUShort;
             break;
         }
         case typelib_TypeClass_LONG:
         {
-            System::Int32 aLong= *__try_cast<System::Int32*>(cli_data);
+            System::Int32 aLong= *safe_cast<System::Int32^>(cli_data);
             *(sal_Int32*) uno_data= aLong;
             break;
         }
         case typelib_TypeClass_UNSIGNED_LONG:
         {
-            System::UInt32 aULong= *__try_cast<System::UInt32*>(cli_data);
+            System::UInt32 aULong= *safe_cast<System::UInt32^>(cli_data);
             *(sal_uInt32*) uno_data= aULong;
             break;
         }
         case typelib_TypeClass_HYPER:
         {
-            System::Int64 aHyper= *__try_cast<System::Int64*>(cli_data);
+            System::Int64 aHyper= *safe_cast<System::Int64^>(cli_data);
             *(sal_Int64*) uno_data= aHyper;
             break;
         }
         case typelib_TypeClass_UNSIGNED_HYPER:
         {
-            System::UInt64 aLong= *__try_cast<System::UInt64*>(cli_data);
+            System::UInt64 aLong= *safe_cast<System::UInt64^>(cli_data);
             *(sal_uInt64*) uno_data= aLong;
             break;
         }
         case typelib_TypeClass_FLOAT:
         {
-            System::Single aFloat= *__try_cast<System::Single*>(cli_data);
+            System::Single aFloat= *safe_cast<System::Single^>(cli_data);
             *(float*) uno_data= aFloat;
             break;
         }
         case typelib_TypeClass_DOUBLE:
         {
-            System::Double aDouble= *__try_cast<System::Double*>(cli_data);
+            System::Double aDouble= *safe_cast<System::Double^>(cli_data);
             *(double*) uno_data= aDouble;
             break;
         }
@@ -826,22 +826,22 @@ void Bridge::map_to_uno(void * uno_data, System::Object* cli_data,
                 rtl_uString_release(*(rtl_uString**) uno_data);
 
             *(rtl_uString **)uno_data = 0;
-            if (cli_data == NULL)
+            if (cli_data == nullptr)
             {
                  rtl_uString_new((rtl_uString**) uno_data);
             }
             else
             {
-                System::String *s= __try_cast<System::String*>(cli_data);
-                wchar_t const __pin * pdata= PtrToStringChars(s);
+                System::String ^s= safe_cast<System::String^>(cli_data);
+                pin_ptr<const wchar_t> pdata= PtrToStringChars(s);
                 rtl_uString_newFromStr_WithLength( (rtl_uString**) uno_data,
-                                                  pdata, s->get_Length() );
+                                                  pdata, s->Length );
             }
             break;
         }
         case typelib_TypeClass_TYPE:
         {
-            typelib_TypeDescriptionReference* td= mapCliType(__try_cast<System::Type*>(
+            typelib_TypeDescriptionReference* td= mapCliType(safe_cast<System::Type^>(
                                                                     cli_data));
             if (assign)
             {
@@ -854,14 +854,14 @@ void Bridge::map_to_uno(void * uno_data, System::Object* cli_data,
         case typelib_TypeClass_ANY:
         {
             uno_Any * pAny = (uno_Any *)uno_data;
-            if (cli_data == NULL) // null-ref or uninitialized any maps to empty any
+            if (cli_data == nullptr) // null-ref or uninitialized any maps to empty any
             {
                 if (assign)
                     uno_any_destruct( pAny, 0 );
                 uno_any_construct( pAny, 0, 0, 0 );
                 break;
             }
-            uno::Any aAny= *__try_cast<uno::Any*>(cli_data);
+            uno::Any aAny= *safe_cast<uno::Any^>(cli_data);
             css::uno::Type  value_td( mapCliType(aAny.Type), SAL_NO_ACQUIRE);
 
             if (assign)
@@ -876,42 +876,42 @@ void Bridge::map_to_uno(void * uno_data, System::Object* cli_data,
                     break;
                 case typelib_TypeClass_CHAR:
                     pAny->pData = &pAny->pReserved;
-                    *(sal_Unicode*) &pAny->pReserved = *__try_cast<System::Char*>(aAny.Value);
+                    *(sal_Unicode*) &pAny->pReserved = *safe_cast<System::Char^>(aAny.Value);
                     break;
                 case typelib_TypeClass_BOOLEAN:
                     pAny->pData = &pAny->pReserved;
-                    *(sal_Bool *) &pAny->pReserved = *__try_cast<System::Boolean*>(aAny.Value);
+                    *(sal_Bool *) &pAny->pReserved = *safe_cast<System::Boolean^>(aAny.Value);
                     break;
                 case typelib_TypeClass_BYTE:
                     pAny->pData = &pAny->pReserved;
-                    *(sal_Int8*) &pAny->pReserved =  *__try_cast<System::Byte*>(aAny.Value);
+                    *(sal_Int8*) &pAny->pReserved =  *safe_cast<System::Byte^>(aAny.Value);
                     break;
                 case typelib_TypeClass_SHORT:
                     pAny->pData = &pAny->pReserved;
-                    *(sal_Int16*) &pAny->pReserved =  *__try_cast<System::Int16*>(aAny.Value);
+                    *(sal_Int16*) &pAny->pReserved =  *safe_cast<System::Int16^>(aAny.Value);
                     break;
                 case typelib_TypeClass_UNSIGNED_SHORT:
                     pAny->pData = &pAny->pReserved;
-                    *(sal_uInt16*) &pAny->pReserved =  *__try_cast<System::UInt16*>(aAny.Value);
+                    *(sal_uInt16*) &pAny->pReserved =  *safe_cast<System::UInt16^>(aAny.Value);
                     break;
                 case typelib_TypeClass_LONG:
                     pAny->pData = &pAny->pReserved;
-                    *(sal_Int32*) &pAny->pReserved =  *__try_cast<System::Int32*>(aAny.Value);
+                    *(sal_Int32*) &pAny->pReserved =  *safe_cast<System::Int32^>(aAny.Value);
                     break;
                 case typelib_TypeClass_UNSIGNED_LONG:
                     pAny->pData = &pAny->pReserved;
-                    *(sal_uInt32*) &pAny->pReserved =  *__try_cast<System::UInt32*>(aAny.Value);
+                    *(sal_uInt32*) &pAny->pReserved =  *safe_cast<System::UInt32^>(aAny.Value);
                     break;
                 case typelib_TypeClass_HYPER:
                     if (sizeof (sal_Int64) <= sizeof (void *))
                     {
                         pAny->pData = &pAny->pReserved;
-                        *(sal_Int64*) &pAny->pReserved = *__try_cast<System::Int64*>(aAny.Value);
+                        *(sal_Int64*) &pAny->pReserved = *safe_cast<System::Int64^>(aAny.Value);
                     }
                     else
                     {
                         auto_ptr< rtl_mem > mem( rtl_mem::allocate( sizeof (sal_Int64) ) );
-                        *(sal_Int64 *) mem.get()=  *__try_cast<System::Int64*>(aAny.Value);
+                        *(sal_Int64 *) mem.get()=  *safe_cast<System::Int64^>(aAny.Value);
                         pAny->pData = mem.release();
                     }
                     break;
@@ -919,12 +919,12 @@ void Bridge::map_to_uno(void * uno_data, System::Object* cli_data,
                     if (sizeof (sal_uInt64) <= sizeof (void *))
                     {
                         pAny->pData = &pAny->pReserved;
-                        *(sal_uInt64*) &pAny->pReserved = *__try_cast<System::UInt64*>(aAny.Value);
+                        *(sal_uInt64*) &pAny->pReserved = *safe_cast<System::UInt64^>(aAny.Value);
                     }
                     else
                     {
                         auto_ptr< rtl_mem > mem( rtl_mem::allocate( sizeof (sal_uInt64) ) );
-                        *(sal_uInt64 *) mem.get()=  *__try_cast<System::UInt64*>(aAny.Value);
+                        *(sal_uInt64 *) mem.get()=  *safe_cast<System::UInt64^>(aAny.Value);
                         pAny->pData = mem.release();
                     }
                     break;
@@ -932,12 +932,12 @@ void Bridge::map_to_uno(void * uno_data, System::Object* cli_data,
                     if (sizeof (float) <= sizeof (void *))
                     {
                         pAny->pData = &pAny->pReserved;
-                        *(float*) &pAny->pReserved = *__try_cast<System::Single*>(aAny.Value);
+                        *(float*) &pAny->pReserved = *safe_cast<System::Single^>(aAny.Value);
                     }
                     else
                     {
                         auto_ptr< rtl_mem > mem( rtl_mem::allocate( sizeof (float) ) );
-                        *(float*) mem.get() = *__try_cast<System::Single*>(aAny.Value);
+                        *(float*) mem.get() = *safe_cast<System::Single^>(aAny.Value);
                         pAny->pData = mem.release();
                     }
                     break;
@@ -945,19 +945,19 @@ void Bridge::map_to_uno(void * uno_data, System::Object* cli_data,
                     if (sizeof (double) <= sizeof (void *))
                     {
                         pAny->pData = &pAny->pReserved;
-                        *(double*) &pAny->pReserved= *__try_cast<System::Double*>(aAny.Value);
+                        *(double*) &pAny->pReserved= *safe_cast<System::Double^>(aAny.Value);
                     }
                     else
                     {
                         auto_ptr< rtl_mem > mem( rtl_mem::allocate( sizeof (double) ) );
-                        *(double*) mem.get()= *__try_cast<System::Double*>(aAny.Value);
+                        *(double*) mem.get()= *safe_cast<System::Double^>(aAny.Value);
                         pAny->pData= mem.release();
                     }
                     break;
                 case typelib_TypeClass_STRING: // anies often contain strings; copy string directly
                 {
                     pAny->pData= &pAny->pReserved;
-                    OUString _s = mapCliString(static_cast<System::String*>(aAny.Value));
+                    OUString _s = mapCliString(static_cast<System::String^>(aAny.Value));

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list