diff options
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/win32/dtobj/DOTransferable.cxx | 3 | ||||
-rw-r--r-- | dtrans/source/win32/dtobj/XTDataObject.cxx | 3 | ||||
-rw-r--r-- | dtrans/source/win32/ftransl/ftransl.cxx | 2 |
3 files changed, 1 insertions, 7 deletions
diff --git a/dtrans/source/win32/dtobj/DOTransferable.cxx b/dtrans/source/win32/dtobj/DOTransferable.cxx index db70196e18a3..846a0859bb67 100644 --- a/dtrans/source/win32/dtobj/DOTransferable.cxx +++ b/dtrans/source/win32/dtobj/DOTransferable.cxx @@ -49,7 +49,6 @@ namespace const Type CPPUTYPE_SEQINT8 = cppu::UnoType<Sequence< sal_Int8 >>::get(); const Type CPPUTYPE_OUSTRING = cppu::UnoType<OUString>::get(); - inline bool isValidFlavor( const DataFlavor& aFlavor ) { return ( aFlavor.MimeType.getLength( ) && @@ -89,7 +88,6 @@ void clipDataToByteStream( CLIPFORMAT cf, STGMEDIUM stgmedium, CDOTransferable:: memTransferHelper.read( aByteSequence.getArray( ), nMemSize ); } -inline OUString byteStreamToOUString( CDOTransferable::ByteSequence_t& aByteStream ) { sal_Int32 nWChars; @@ -105,7 +103,6 @@ OUString byteStreamToOUString( CDOTransferable::ByteSequence_t& aByteStream ) return OUString( reinterpret_cast< sal_Unicode* >( aByteStream.getArray( ) ), nWChars ); } -inline Any byteStreamToAny( CDOTransferable::ByteSequence_t& aByteStream, const Type& aRequestedDataType ) { Any aAny; diff --git a/dtrans/source/win32/dtobj/XTDataObject.cxx b/dtrans/source/win32/dtobj/XTDataObject.cxx index 2fba02835ec1..50d84c5da619 100644 --- a/dtrans/source/win32/dtobj/XTDataObject.cxx +++ b/dtrans/source/win32/dtobj/XTDataObject.cxx @@ -105,7 +105,6 @@ public: explicit CInvalidFormatEtcException( HRESULT hr ) : m_hr( hr ) {}; }; -inline void validateFormatEtc( LPFORMATETC lpFormatEtc ) { OSL_ASSERT( lpFormatEtc ); @@ -132,13 +131,11 @@ void validateFormatEtc( LPFORMATETC lpFormatEtc ) throw CInvalidFormatEtcException( DV_E_TYMED ); } -inline void invalidateStgMedium( STGMEDIUM& stgmedium ) { stgmedium.tymed = TYMED_NULL; } -inline HRESULT translateStgExceptionCode( HRESULT hr ) { HRESULT hrTransl; diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx index c498472442e0..1ab6e1c87089 100644 --- a/dtrans/source/win32/ftransl/ftransl.cxx +++ b/dtrans/source/win32/ftransl/ftransl.cxx @@ -441,7 +441,7 @@ void findStdFormatIdOrNativeFormatNameForFullMediaType( } } -inline bool isTextPlainMediaType( const OUString& fullMediaType ) +bool isTextPlainMediaType( const OUString& fullMediaType ) { return fullMediaType.equalsIgnoreAsciiCase("text/plain"); } |