summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-30 21:28:56 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-31 16:49:53 +0200
commit4ec9f5d768455014a3c1a189b4168dd8a926a9bc (patch)
tree1ff80ba20152f56011e4730ea53b4e6e9c9f990f /odk/examples/DevelopersGuide/OfficeDev
parent61651ece1a1eaa5012c69e3b0b36fcddb2e37c71 (diff)
Remove RTL_CONSTASCII_(U)STRINGPARAM in odk(Developersguide)
Change-Id: Ic2a2cf04a691f628e862e81579d3d55d261fc492
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx
index 66432c73bcd4..65cff20f4ea0 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx
@@ -189,15 +189,15 @@ void SAL_CALL FilterDetect::initialize( const Sequence< Any >& aArguments )
nLength = aAnySeq.getLength();
for ( sal_Int32 i = 0 ; i < nLength; i++)
{
- if ( pValue[i].Name.equalsAsciiL ( RTL_CONSTASCII_STRINGPARAM ( "Type" ) ) )
+ if ( pValue[i].Name == "Type" )
{
pValue[i].Value >>= msFilterName;
}
- else if ( pValue[i].Name.equalsAsciiL ( RTL_CONSTASCII_STRINGPARAM ( "UserData" ) ) )
+ else if ( pValue[i].Name == "UserData" )
{
pValue[i].Value >>= msUserData;
}
- else if ( pValue[i].Name.equalsAsciiL ( RTL_CONSTASCII_STRINGPARAM ( "TemplateName" ) ) )
+ else if ( pValue[i].Name == "TemplateName" )
{
pValue[i].Value>>=msTemplateName;
}
@@ -224,7 +224,7 @@ Sequence< OUString > SAL_CALL FilterDetect_getSupportedServiceNames( )
{
Sequence < OUString > aRet(2);
OUString* pArray = aRet.getArray();
- pArray[0] = OUString ( RTL_CONSTASCII_USTRINGPARAM ( SERVICE_NAME1 ) );
+ pArray[0] = OUString ( SERVICE_NAME1 );
return aRet;
}
#undef SERVICE_NAME1