diff options
Diffstat (limited to 'dtrans/source')
-rw-r--r-- | dtrans/source/win32/clipb/MtaOleClipb.cxx | 4 | ||||
-rw-r--r-- | dtrans/source/win32/dtobj/FmtFilter.cxx | 4 | ||||
-rw-r--r-- | dtrans/source/win32/ftransl/ftransl.cxx | 3 |
3 files changed, 10 insertions, 1 deletions
diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx b/dtrans/source/win32/clipb/MtaOleClipb.cxx index fc8a16d86d0c..de966c3978c3 100644 --- a/dtrans/source/win32/clipb/MtaOleClipb.cxx +++ b/dtrans/source/win32/clipb/MtaOleClipb.cxx @@ -173,6 +173,8 @@ static HRESULT UnmarshalIDataObjectAndReleaseStream( LPSTREAM lpStream, IDataObj // helper class to ensure that the calling thread has com initialized +namespace { + class CAutoComInit { public: @@ -214,6 +216,8 @@ private: HRESULT m_hResult; }; +} + // ctor CMtaOleClipboard::CMtaOleClipboard( ) : diff --git a/dtrans/source/win32/dtobj/FmtFilter.cxx b/dtrans/source/win32/dtobj/FmtFilter.cxx index 2130c42ba578..6b0d9c0ba30f 100644 --- a/dtrans/source/win32/dtobj/FmtFilter.cxx +++ b/dtrans/source/win32/dtobj/FmtFilter.cxx @@ -36,6 +36,8 @@ using namespace com::sun::star::uno; +namespace { + #pragma pack(2) struct METAFILEHEADER { @@ -48,6 +50,8 @@ struct METAFILEHEADER }; #pragma pack() +} + // convert a windows metafile picture to a LibreOffice metafile picture Sequence< sal_Int8 > WinMFPictToOOMFPict( Sequence< sal_Int8 >& aMetaFilePict ) diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx index 4cc1897059a3..bd189b890f99 100644 --- a/dtrans/source/win32/ftransl/ftransl.cxx +++ b/dtrans/source/win32/ftransl/ftransl.cxx @@ -56,7 +56,6 @@ namespace Sequence< OUString > aRet { "com.sun.star.datatransfer.DataFormatTranslator" }; return aRet; } -} struct FormatEntry { @@ -73,6 +72,8 @@ struct FormatEntry sal_Int32 aStandardFormatId; }; +} + FormatEntry::FormatEntry( const char *mime_content_type, const char *human_presentable_name, |