summaryrefslogtreecommitdiff
path: root/xmloff/source/script
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-07-10 11:01:00 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-07-10 11:03:39 +0200
commita8fb1a123f6c46eed611dbaea699624ea0b7962b (patch)
tree9b9a2267fb27d9b27ad5448f244b20463d1cbd43 /xmloff/source/script
parent57ce2ffc718a089bf71b722c8e5f94cd902fd8e3 (diff)
xmloff: kill RTL_CONSTASCII_USTRINGPARAM in rebased code
Change-Id: I3d5227c299d78d4492c47e29385c2c5ca25cfe49
Diffstat (limited to 'xmloff/source/script')
-rw-r--r--xmloff/source/script/XMLScriptContextFactory.cxx6
-rw-r--r--xmloff/source/script/XMLScriptExportHandler.cxx2
-rw-r--r--xmloff/source/script/XMLStarBasicContextFactory.cxx10
3 files changed, 9 insertions, 9 deletions
diff --git a/xmloff/source/script/XMLScriptContextFactory.cxx b/xmloff/source/script/XMLScriptContextFactory.cxx
index 5f671ea40d7a..1990d67fa581 100644
--- a/xmloff/source/script/XMLScriptContextFactory.cxx
+++ b/xmloff/source/script/XMLScriptContextFactory.cxx
@@ -35,9 +35,9 @@ using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::Any;
XMLScriptContextFactory::XMLScriptContextFactory() :
- sEventType(RTL_CONSTASCII_USTRINGPARAM("EventType")),
- sScript(RTL_CONSTASCII_USTRINGPARAM("Script")),
- sURL(RTL_CONSTASCII_USTRINGPARAM("Script"))
+ sEventType("EventType"),
+ sScript("Script"),
+ sURL("Script")
{
}
diff --git a/xmloff/source/script/XMLScriptExportHandler.cxx b/xmloff/source/script/XMLScriptExportHandler.cxx
index 9e0c096f6dd4..51057b71a62d 100644
--- a/xmloff/source/script/XMLScriptExportHandler.cxx
+++ b/xmloff/source/script/XMLScriptExportHandler.cxx
@@ -34,7 +34,7 @@ using ::com::sun::star::beans::PropertyValue;
XMLScriptExportHandler::XMLScriptExportHandler() :
- sURL(RTL_CONSTASCII_USTRINGPARAM("Script"))
+ sURL("Script")
{
}
diff --git a/xmloff/source/script/XMLStarBasicContextFactory.cxx b/xmloff/source/script/XMLStarBasicContextFactory.cxx
index 3b3faa31b257..b9825be04b74 100644
--- a/xmloff/source/script/XMLStarBasicContextFactory.cxx
+++ b/xmloff/source/script/XMLStarBasicContextFactory.cxx
@@ -36,10 +36,10 @@ using ::com::sun::star::uno::Any;
XMLStarBasicContextFactory::XMLStarBasicContextFactory() :
- sEventType(RTL_CONSTASCII_USTRINGPARAM("EventType")),
- sLibrary(RTL_CONSTASCII_USTRINGPARAM("Library")),
- sMacroName(RTL_CONSTASCII_USTRINGPARAM("MacroName")),
- sStarBasic(RTL_CONSTASCII_USTRINGPARAM("StarBasic"))
+ sEventType("EventType"),
+ sLibrary("Library"),
+ sMacroName("MacroName"),
+ sStarBasic("StarBasic")
{
}
@@ -83,7 +83,7 @@ SvXMLImportContext* XMLStarBasicContextFactory::CreateContext(
sMacroNameVal.copy(0,rApp.getLength()).equalsIgnoreAsciiCase( rApp ) &&
':' == sMacroNameVal[rApp.getLength()] )
{
- sLibraryVal = OUString(RTL_CONSTASCII_USTRINGPARAM("StarOffice"));
+ sLibraryVal = "StarOffice";
sMacroNameVal = sMacroNameVal.copy( rApp.getLength()+1 );
}
else if( sMacroNameVal.getLength() > rDoc.getLength()+1 &&