summaryrefslogtreecommitdiff
path: root/extensions/test
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-01-30 11:44:23 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-01-30 12:54:40 +0000
commit97eb8a6e0eb830f37dcba64a51d725aab4c5ff53 (patch)
treea1a95b8249052d846a997ad1729758168d6a3b24 /extensions/test
parentf8569cd9a28a3a8856dba4ad53218aa6cc073521 (diff)
Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'extensions/test')
-rw-r--r--extensions/test/ole/OleClient/clientTest.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/extensions/test/ole/OleClient/clientTest.cxx b/extensions/test/ole/OleClient/clientTest.cxx
index 05b47d1b951f..6aca362f9c65 100644
--- a/extensions/test/ole/OleClient/clientTest.cxx
+++ b/extensions/test/ole/OleClient/clientTest.cxx
@@ -40,7 +40,6 @@ CComModule _Module;
#include <cppuhelper/servicefactory.hxx>
#include <rtl/string.h>
-#define OUSTR(x) ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(x) )
BEGIN_OBJECT_MAP(ObjectMap)
END_OBJECT_MAP()
@@ -607,15 +606,15 @@ bool doPropertyWithArgumentTest(const Reference<XInvocation> & inv)
//hasProperty, hasMethod
- if (inv->hasProperty(OUSTR("prpMultiArg1")))
+ if (inv->hasProperty("prpMultiArg1"))
return false;
- if ( ! inv->hasMethod(OUSTR("prpMultiArg1")))
+ if ( ! inv->hasMethod("prpMultiArg1"))
return false;
- if ( ! inv->hasProperty(OUSTR("prprefLong")))
+ if ( ! inv->hasProperty("prprefLong"))
return false;
- if (inv->hasMethod(OUSTR("prprefLong")))
+ if (inv->hasMethod("prprefLong"))
return false;
- if ( ! inv->hasMethod(OUSTR("inLong")))
+ if ( ! inv->hasMethod("inLong"))
return false;
return true;