summaryrefslogtreecommitdiffstats
path: root/forms/source/xforms/computedexpression.cxx
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 /forms/source/xforms/computedexpression.cxx
parentUNO constants cannot be of CHAR type (diff)
downloadcore-97eb8a6e0eb830f37dcba64a51d725aab4c5ff53.tar.gz
core-97eb8a6e0eb830f37dcba64a51d725aab4c5ff53.zip
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 'forms/source/xforms/computedexpression.cxx')
-rw-r--r--forms/source/xforms/computedexpression.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/xforms/computedexpression.cxx b/forms/source/xforms/computedexpression.cxx
index f23a54613d81..362921c8808e 100644
--- a/forms/source/xforms/computedexpression.cxx
+++ b/forms/source/xforms/computedexpression.cxx
@@ -195,22 +195,22 @@ Reference<XXPathAPI> ComputedExpression::_getXPathAPI(const xforms::EvaluationCo
{
// create XPath API, then register namespaces
Reference<XXPathAPI> xXPath( createInstance(
- OUSTRING( "com.sun.star.xml.xpath.XPathAPI" ) ),
+ "com.sun.star.xml.xpath.XPathAPI" ),
UNO_QUERY_THROW );
OSL_ENSURE( xXPath.is(), "cannot get XPath API" );
// register xforms extension#
Sequence< Any > aSequence(2);
NamedValue aValue;
- aValue.Name = OUSTRING("Model");
+ aValue.Name = "Model";
aValue.Value <<= aContext.mxModel;
aSequence[0] <<= aValue;
- aValue.Name = OUSTRING("ContextNode");
+ aValue.Name = "ContextNode";
aValue.Value <<= aContext.mxContextNode;
aSequence[1] <<= aValue;
Reference<XMultiServiceFactory> aFactory = comphelper::getProcessServiceFactory();
Reference< XXPathExtension > aExtension( aFactory->createInstanceWithArguments(
- OUSTRING( "com.sun.star.comp.xml.xpath.XFormsExtension"), aSequence), UNO_QUERY_THROW);
+ "com.sun.star.comp.xml.xpath.XFormsExtension", aSequence), UNO_QUERY_THROW);
xXPath->registerExtensionInstance(aExtension);
// register namespaces