summaryrefslogtreecommitdiff
path: root/xmloff/source/script
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-02-26 20:17:25 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-02-26 20:18:43 +0100
commitf03daee6b44c22107f90a99ad83d8e60023e0f71 (patch)
tree46a24020a24cff541cf773d7995051d371fcc662 /xmloff/source/script
parentaf8cc0b4b40efcb9e05b3c7a94a26d2fc503babd (diff)
removed RTL_CONSTASCII_(U)STRINGPARAM
Change-Id: I8ab8c32ee561a14dcb05b9cf04387beadccd314a
Diffstat (limited to 'xmloff/source/script')
-rw-r--r--xmloff/source/script/XMLEventExport.cxx2
-rw-r--r--xmloff/source/script/XMLStarBasicExportHandler.cxx10
-rw-r--r--xmloff/source/script/xmlscripti.cxx8
3 files changed, 10 insertions, 10 deletions
diff --git a/xmloff/source/script/XMLEventExport.cxx b/xmloff/source/script/XMLEventExport.cxx
index 43e48487c2f0..0eda53dfbf7f 100644
--- a/xmloff/source/script/XMLEventExport.cxx
+++ b/xmloff/source/script/XMLEventExport.cxx
@@ -45,7 +45,7 @@ using ::xmloff::token::XML_EVENT_LISTENERS;
XMLEventExport::XMLEventExport(SvXMLExport& rExp,
const XMLEventNameTranslation* pTranslationTable) :
- sEventType(RTL_CONSTASCII_USTRINGPARAM("EventType")),
+ sEventType("EventType"),
rExport(rExp),
bExtNamespace(false)
{
diff --git a/xmloff/source/script/XMLStarBasicExportHandler.cxx b/xmloff/source/script/XMLStarBasicExportHandler.cxx
index eadcbbe78821..bfa115505b81 100644
--- a/xmloff/source/script/XMLStarBasicExportHandler.cxx
+++ b/xmloff/source/script/XMLStarBasicExportHandler.cxx
@@ -35,11 +35,11 @@ using ::com::sun::star::beans::PropertyValue;
XMLStarBasicExportHandler::XMLStarBasicExportHandler() :
- sStarBasic(RTL_CONSTASCII_USTRINGPARAM("StarBasic")),
- sLibrary(RTL_CONSTASCII_USTRINGPARAM("Library")),
- sMacroName(RTL_CONSTASCII_USTRINGPARAM("MacroName")),
- sStarOffice(RTL_CONSTASCII_USTRINGPARAM("StarOffice")),
- sApplication(RTL_CONSTASCII_USTRINGPARAM("application"))
+ sStarBasic("StarBasic"),
+ sLibrary("Library"),
+ sMacroName("MacroName"),
+ sStarOffice("StarOffice"),
+ sApplication("application")
{
}
diff --git a/xmloff/source/script/xmlscripti.cxx b/xmloff/source/script/xmlscripti.cxx
index 343f94db629d..2e86608ea674 100644
--- a/xmloff/source/script/xmlscripti.cxx
+++ b/xmloff/source/script/xmlscripti.cxx
@@ -90,8 +90,8 @@ SvXMLImportContext* XMLScriptChildContext::CreateChildContext(
if ( m_xDocumentScripts.is() )
{ // document supports embedding scripts/macros
- ::rtl::OUString aBasic( GetImport().GetNamespaceMap().GetPrefixByKey( XML_NAMESPACE_OOO ) );
- aBasic += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ":Basic" ) );
+ OUString aBasic( GetImport().GetNamespaceMap().GetPrefixByKey( XML_NAMESPACE_OOO ) );
+ aBasic += OUString( ":Basic" );
if ( m_aLanguage == aBasic && nPrefix == XML_NAMESPACE_OOO && IsXMLToken( rLocalName, XML_LIBRARIES ) )
pContext = new XMLBasicImportContext( GetImport(), nPrefix, rLocalName, m_xModel );
@@ -144,7 +144,7 @@ SvXMLImportContext* XMLScriptContext::CreateChildContext(
else if ( IsXMLToken( rLName, XML_SCRIPT ) )
{
::rtl::OUString aAttrName( GetImport().GetNamespaceMap().GetPrefixByKey( XML_NAMESPACE_SCRIPT ) );
- aAttrName += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ":language" ) );
+ aAttrName += ":language";
if ( xAttrList.is() )
{
::rtl::OUString aLanguage = xAttrList->getValueByName( aAttrName );
@@ -154,7 +154,7 @@ SvXMLImportContext* XMLScriptContext::CreateChildContext(
uno::Sequence< beans::PropertyValue > aMedDescr = m_xModel->getArgs();
sal_Int32 nNewLen = aMedDescr.getLength() + 1;
aMedDescr.realloc( nNewLen );
- aMedDescr[nNewLen-1].Name = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "BreakMacroSignature" ) );
+ aMedDescr[nNewLen-1].Name = "BreakMacroSignature";
aMedDescr[nNewLen-1].Value <<= (sal_Bool)sal_True;
m_xModel->attachResource( m_xModel->getURL(), aMedDescr );