Author: alg Date: Thu Feb 20 15:49:56 2014 New Revision: 1570241 URL: http://svn.apache.org/r1570241 Log: i124085 improved support for PNG clipboard format on windows
Modified: openoffice/trunk/main/dtrans/source/win32/ftransl/ftransl.cxx Modified: openoffice/trunk/main/dtrans/source/win32/ftransl/ftransl.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/dtrans/source/win32/ftransl/ftransl.cxx?rev=1570241&r1=1570240&r2=1570241&view=diff ============================================================================== --- openoffice/trunk/main/dtrans/source/win32/ftransl/ftransl.cxx (original) +++ openoffice/trunk/main/dtrans/source/win32/ftransl/ftransl.cxx Thu Feb 20 15:49:56 2014 @@ -513,9 +513,9 @@ void SAL_CALL CDataFormatTranslator::ini //SOT_FORMATSTR_ID_DIALOG_60 m_TranslTable.push_back(FormatEntry("application/vnd.sun.xml.dialog", "Dialog 6.0", NULL, CF_INVALID, CPPUTYPE_DEFAULT)); //SOT_FORMATSTR_ID_BMP - m_TranslTable.push_back(FormatEntry("image/bmp", "Windows Bitmap", NULL, 49657 /* ID for "image/bmp" CF_INVALID*/, CPPUTYPE_DEFAULT)); + m_TranslTable.push_back(FormatEntry("image/bmp", "Windows Bitmap", NULL, CF_INVALID, CPPUTYPE_DEFAULT)); //SOT_FORMATSTR_ID_PNG - m_TranslTable.push_back(FormatEntry("image/png", "PNG", NULL, 49656 /* ID for "image/png" CF_INVALID*/, CPPUTYPE_DEFAULT)); + m_TranslTable.push_back(FormatEntry("image/png", "PNG", NULL, CF_INVALID, CPPUTYPE_DEFAULT)); //SOT_FORMATSTR_ID_DUMMY3 m_TranslTable.push_back(FormatEntry("application/x-openoffice-dummy3;windows_formatname=\"SO_DUMMYFORMAT_3\"", "SO_DUMMYFORMAT_3", NULL, CF_INVALID, CPPUTYPE_DEFAULT)); //SOT_FORMATSTR_ID_DUMMY4