summaryrefslogtreecommitdiff
path: root/dtrans/source/win32
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-23 19:18:07 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-23 19:18:07 +0100
commit1df8ba50d7eaa05b9f10ffab18196a85d5faf5c8 (patch)
tree8c0e95538dce6df17b7ab4c9194e2f4c55e92ee5 /dtrans/source/win32
parent7a65687ca22cf1644630522989403c323d6bc7db (diff)
RTL_CONSTASCII_USTRINGPARAM in libs-gui 14
Diffstat (limited to 'dtrans/source/win32')
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.cxx2
-rw-r--r--dtrans/source/win32/dtobj/FetcList.cxx4
-rw-r--r--dtrans/source/win32/ftransl/ftransl.cxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/dtrans/source/win32/clipb/WinClipboard.cxx b/dtrans/source/win32/clipb/WinClipboard.cxx
index 48f60629905a..0ade8dcad446 100644
--- a/dtrans/source/win32/clipb/WinClipboard.cxx
+++ b/dtrans/source/win32/clipb/WinClipboard.cxx
@@ -293,7 +293,7 @@ void SAL_CALL CWinClipboard::disposing()
OUString SAL_CALL CWinClipboard::getImplementationName( )
throw(RuntimeException)
{
- return OUString::createFromAscii( WINCLIPBOARD_IMPL_NAME );
+ return OUString(RTL_CONSTASCII_USTRINGPARAM( WINCLIPBOARD_IMPL_NAME ));
}
// -------------------------------------------------
diff --git a/dtrans/source/win32/dtobj/FetcList.cxx b/dtrans/source/win32/dtobj/FetcList.cxx
index 98f88db21ea0..3f7be8b53f2b 100644
--- a/dtrans/source/win32/dtobj/FetcList.cxx
+++ b/dtrans/source/win32/dtobj/FetcList.cxx
@@ -361,8 +361,8 @@ OUString SAL_CALL CFormatRegistrar::getCharsetFromDataFlavor( const DataFlavor&
try
{
Reference< XMimeContentTypeFactory > xMimeFac(
- m_SrvMgr->createInstance( OUString::createFromAscii( \
- "com.sun.star.datatransfer.MimeContentTypeFactory" ) ), UNO_QUERY );
+ m_SrvMgr->createInstance( OUString(RTL_CONSTASCII_USTRINGPARAM( \
+ "com.sun.star.datatransfer.MimeContentTypeFactory" )) ), UNO_QUERY );
if( xMimeFac.is( ) )
{
diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx
index e7db01af1cb4..fb1eec247c59 100644
--- a/dtrans/source/win32/ftransl/ftransl.cxx
+++ b/dtrans/source/win32/ftransl/ftransl.cxx
@@ -60,7 +60,7 @@
#define CPPUTYPE_SALINT32 getCppuType( ( sal_Int32 * ) 0 )
#define OUSTR( str ) OUString::createFromAscii( #str )
#define OUSTR_( str ) OUString::createFromAscii( str )
-#define EMPTY_OUSTR OUString(RTL_CONSTASCII_USTRINGPARAM(""))
+#define EMPTY_OUSTR OUString()
//#define PRIVATE_OO OUString::createFromAscii( "application/x-openoffice;" "windows_formatname=" )
const rtl::OUString Windows_FormatName (RTL_CONSTASCII_USTRINGPARAM("windows_formatname"));
@@ -236,7 +236,7 @@ DataFlavor SAL_CALL CDataFormatTranslator::getDataFlavorFromSystemDataType( cons
OUString SAL_CALL CDataFormatTranslator::getImplementationName( )
throw( RuntimeException )
{
- return OUString::createFromAscii( IMPL_NAME );
+ return OUString(RTL_CONSTASCII_USTRINGPARAM( IMPL_NAME ));
}
// -------------------------------------------------