diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-19 12:16:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-19 14:30:50 +0200 |
commit | d4a066c3e4b7ebcdb16ffcb88b6b2c744c127ea1 (patch) | |
tree | 41042ca9f06117196e18d583d69cbdc9bafd445a /dtrans | |
parent | be8c414567f49242164b1fdfb12764b16be355c1 (diff) |
inline some defines
which don't add any value anymore
Change-Id: I45977d972d4d02926630b749d3ec736416138cf5
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/win32/ftransl/ftransl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx index c395d4e70e31..9eec3d23742a 100644 --- a/dtrans/source/win32/ftransl/ftransl.cxx +++ b/dtrans/source/win32/ftransl/ftransl.cxx @@ -43,7 +43,6 @@ #define CPPUTYPE_DEFAULT CPPUTYPE_SEQSALINT8 #define CPPUTYPE_OUSTR cppu::UnoType<OUString>::get() #define CPPUTYPE_SALINT32 cppu::UnoType<sal_Int32>::get() -#define EMPTY_OUSTR OUString() const OUString Windows_FormatName ("windows_formatname"); const css::uno::Type CppuType_ByteSequence = cppu::UnoType<css::uno::Sequence<sal_Int8>>::get(); @@ -528,7 +527,7 @@ DataFlavor SAL_CALL CDataFormatTranslatorUNO::getDataFlavorFromSystemDataType( c { OSL_PRECOND( aSysDataType.hasValue( ), "Empty system data type delivered" ); - DataFlavor aFlavor = mkDataFlv( EMPTY_OUSTR, EMPTY_OUSTR, CPPUTYPE_SEQSALINT8 ); + DataFlavor aFlavor = mkDataFlv( OUString(), OUString(), CPPUTYPE_SEQSALINT8 ); if ( aSysDataType.getValueType( ) == CPPUTYPE_SALINT32 ) { |