From d4a066c3e4b7ebcdb16ffcb88b6b2c744c127ea1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 19 Jan 2018 12:16:31 +0200 Subject: inline some defines which don't add any value anymore Change-Id: I45977d972d4d02926630b749d3ec736416138cf5 --- dtrans/source/win32/ftransl/ftransl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dtrans/source') 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::get() #define CPPUTYPE_SALINT32 cppu::UnoType::get() -#define EMPTY_OUSTR OUString() const OUString Windows_FormatName ("windows_formatname"); const css::uno::Type CppuType_ByteSequence = cppu::UnoType>::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 ) { -- cgit