summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2014-02-20 15:49:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-21 12:40:23 +0000
commit6e3dee395baaf333f0b5b7eae18200bbe5e4c555 (patch)
tree60d04e1662258ff7ad94d26f7a84d503dfa9e7df /dtrans
parentdd30c02aad0f5b65ab42ca288d17f5040bc9efa0 (diff)
Resolves: #i124085# improved support for PNG clipboard format on windows
(cherry picked from commit 3bd259ce52b15e968302ecca39f72d06af66e301) Change-Id: Ie9b677d8948912b372a13353cd82a2f5e2f1cf49
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/win32/ftransl/ftransl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx
index 4d256901c388..f0f5daf6e266 100644
--- a/dtrans/source/win32/ftransl/ftransl.cxx
+++ b/dtrans/source/win32/ftransl/ftransl.cxx
@@ -483,9 +483,9 @@ void SAL_CALL CDataFormatTranslator::initTranslationTable()
//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