summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorserval <serval2412@yahoo.fr>2010-12-22 16:19:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-22 16:43:11 +0000
commitd9b52710a9b8f2e66afbb7fb35de044b16afd7ab (patch)
treeb806779a386b30b477397cd32cf8d591d4d7cbf9 /linguistic
parent38ff183e944faff1b827843c0eae6e159c280a22 (diff)
RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/defs.hxx2
-rw-r--r--linguistic/workben/sprophelp.cxx4
-rw-r--r--linguistic/workben/sspellimp.hxx5
3 files changed, 3 insertions, 8 deletions
diff --git a/linguistic/source/defs.hxx b/linguistic/source/defs.hxx
index a84af59df42a..a7af9e7ba6a1 100644
--- a/linguistic/source/defs.hxx
+++ b/linguistic/source/defs.hxx
@@ -41,8 +41,6 @@ class SvStream;
///////////////////////////////////////////////////////////////////////////
-#define A2OU(x) ::rtl::OUString::createFromAscii( x )
-
typedef boost::shared_ptr< SvStream > SvStreamPtr;
namespace css = ::com::sun::star;
diff --git a/linguistic/workben/sprophelp.cxx b/linguistic/workben/sprophelp.cxx
index 4bf29bf1e0b0..26480de208d8 100644
--- a/linguistic/workben/sprophelp.cxx
+++ b/linguistic/workben/sprophelp.cxx
@@ -53,7 +53,7 @@ using namespace com::sun::star::linguistic2;
using namespace linguistic;
-#define A2OU(x) ::rtl::OUString::createFromAscii( x )
+#define A2OU(x) ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( x ))
///////////////////////////////////////////////////////////////////////////
@@ -70,7 +70,7 @@ PropertyChgHelper::PropertyChgHelper(
OUString *pName = aPropNames.getArray();
for (INT32 i = 0; i < nPropCount; ++i)
{
- pName[i] = A2OU( pPropNames[i] );
+ pName[i] = ::rtl::OUString::createFromAscii( pPropNames[i] );
}
}
diff --git a/linguistic/workben/sspellimp.hxx b/linguistic/workben/sspellimp.hxx
index ad3a2d0708db..ebded3b83905 100644
--- a/linguistic/workben/sspellimp.hxx
+++ b/linguistic/workben/sspellimp.hxx
@@ -52,9 +52,6 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::linguistic2;
-
-#define A2OU(x) ::rtl::OUString::createFromAscii( x )
-
///////////////////////////////////////////////////////////////////////////
@@ -168,7 +165,7 @@ public:
inline OUString SpellChecker::getImplementationName_Static() throw()
{
- return A2OU( "com.sun.star.lingu.examples.SpellChecker" );
+ return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.lingu.examples.SpellChecker" ));
}