diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-19 21:15:00 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-03-20 10:28:58 +0000 |
commit | b2f8318dbda8a09fa312663d14fcaf057ee5069d (patch) | |
tree | 1f06862395db47ed52450a0cb5425cc9463f5e27 | |
parent | 04032bd6062638f6945e3911a491fa311404c507 (diff) |
simplify OUString assignments
Change-Id: Ieffd80aa84c9a041785bb81b3a904a32d00cb2bb
Reviewed-on: https://gerrit.libreoffice.org/2863
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
20 files changed, 93 insertions, 97 deletions
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx index aea6c35f3760..4abcf6c00468 100644 --- a/basegfx/test/basegfx2d.cxx +++ b/basegfx/test/basegfx2d.cxx @@ -65,18 +65,15 @@ public: void setUp() { // simple rectangle - aPath0 = ::rtl::OUString( - "M 10 10-10 10-10-10 10-10Z" ); + aPath0 = "M 10 10-10 10-10-10 10-10Z"; // simple bezier polygon - aPath1 = ::rtl::OUString( - "m11430 0c-8890 3810 5715 6985 5715 6985 " + aPath1 = "m11430 0c-8890 3810 5715 6985 5715 6985 " "0 0-17145-1905-17145-1905 0 0 22860-10160 " - "16510 6350-6350 16510-3810-11430-3810-11430z" ); + "16510 6350-6350 16510-3810-11430-3810-11430z"; // '@' as a bezier polygon - aPath2 = ::rtl::OUString( - "m1917 1114c-89-189-233-284-430-284-167 " + aPath2 = "m1917 1114c-89-189-233-284-430-284-167 " "0-306 91-419 273-113 182-170 370-170 564 " "0 145 33 259 98 342 65 84 150 126 257 126 " "77 0 154-19 231-57 77-38 147-97 210-176 63" @@ -98,11 +95,10 @@ public: "-215-201-487-301-816-301-395 0-715 124-960 " "373-245 249-368 569-368 958 0 385 119 685 " "357 900 237 216 557 324 958 325 189-1 389-27 " - "600-77 211-52 378-110 503-174 27 70 54 140 81 210z" ); + "600-77 211-52 378-110 503-174 27 70 54 140 81 210z"; // first part of 'Hello World' as a line polygon - aPath3 = ::rtl::OUString( - "m1598 125h306v2334h-306v-1105h-1293v1105h-305v" + aPath3 = "m1598 125h306v2334h-306v-1105h-1293v1105h-305v" "-2334h305v973h1293zm2159 1015 78-44 85 235-91 " "47-91 40-90 34-90 29-89 21-88 16-88 10-88 3-102" "-4-97-12-91-19-85-26-40-16-39-18-38-20-36-22-34" @@ -133,7 +129,7 @@ public: "-26-29-28-28-30-26-32-25-32-23-35-21-35-38-74-30-80" "-24-85-17-89-11-95-3-100 3-101 11-95 17-90 24-85 30" "-79 38-75 21-35 23-35 25-32 26-32 28-30 29-28 30-26 " - "31-24 33-22 34-20 35-18 36-16 37-15 39-12 40-11z" ); + "31-24 33-22 34-20 35-18 36-16 37-15 39-12 40-11z"; } void tearDown() diff --git a/chart2/source/controller/main/ConfigurationAccess.cxx b/chart2/source/controller/main/ConfigurationAccess.cxx index 621e918a8e97..812dbe58a050 100644 --- a/chart2/source/controller/main/ConfigurationAccess.cxx +++ b/chart2/source/controller/main/ConfigurationAccess.cxx @@ -76,11 +76,11 @@ FieldUnit CalcConfigItem::getFieldUnit() { FieldUnit eResult( FUNIT_CM ); - uno::Sequence< ::rtl::OUString > aNames( 1 ); + uno::Sequence< OUString > aNames( 1 ); if( lcl_IsMetric() ) - aNames[ 0 ] = ::rtl::OUString( "Other/MeasureUnit/Metric" ); + aNames[ 0 ] = "Other/MeasureUnit/Metric"; else - aNames[ 0 ] = ::rtl::OUString( "Other/MeasureUnit/NonMetric" ); + aNames[ 0 ] = "Other/MeasureUnit/NonMetric"; uno::Sequence< uno::Any > aResult( GetProperties( aNames )); sal_Int32 nValue = 0; diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx index 8f449b5caa6a..ad55865f6982 100644 --- a/comphelper/source/container/embeddedobjectcontainer.cxx +++ b/comphelper/source/container/embeddedobjectcontainer.cxx @@ -1032,7 +1032,7 @@ sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < e pImpl->mxTempStorage = ::comphelper::OStorageHelper::GetTemporaryStorage(); uno::Sequence < beans::PropertyValue > aSeq; - ::rtl::OUString aTmpPersistName = ::rtl::OUString( "Object " ); + OUString aTmpPersistName = "Object "; aTmpPersistName += ::rtl::OUString::valueOf( (sal_Int32) pImpl->maTempObjectContainer.size() ); xPersist->storeAsEntry( pImpl->mxTempStorage, aTmpPersistName, aSeq, aSeq ); diff --git a/comphelper/source/misc/locale.cxx b/comphelper/source/misc/locale.cxx index f11a13d94461..d1d528c4d6a7 100644 --- a/comphelper/source/misc/locale.cxx +++ b/comphelper/source/misc/locale.cxx @@ -124,9 +124,9 @@ void Locale::setVariant(const ::rtl::OUString& sVariant) void Locale::fromISO(const ::rtl::OUString& sISO) throw(Locale::MalFormedLocaleException) { - m_sLanguage = ::rtl::OUString(); - m_sCountry = ::rtl::OUString(); - m_sVariant = ::rtl::OUString(); + m_sLanguage = ""; + m_sCountry = ""; + m_sVariant = ""; ::rtl::OUString sParser(sISO); sParser = sParser.trim(); diff --git a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx index 6b8f9c0e7a93..284d2cff0505 100644 --- a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx +++ b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx @@ -821,10 +821,10 @@ void SAL_CALL ODatabaseMetaDataResultSet::initialize( const Sequence< Any >& _aA return ::rtl::OUString("org.openoffice.comp.helper.DatabaseMetaDataResultSet"); } //------------------------------------------------------------------------------ - Sequence< ::rtl::OUString > ODatabaseMetaDataResultSet::getSupportedServiceNames_Static( ) throw (RuntimeException) + Sequence< OUString > ODatabaseMetaDataResultSet::getSupportedServiceNames_Static( ) throw (RuntimeException) { - Sequence< ::rtl::OUString > aSNS( 1 ); - aSNS[0] = ::rtl::OUString("com.sun.star.sdbc.ResultSet"); + Sequence< OUString > aSNS( 1 ); + aSNS[0] = "com.sun.star.sdbc.ResultSet"; return aSNS; } //------------------------------------------------------------------ diff --git a/connectivity/source/commontools/ParamterSubstitution.cxx b/connectivity/source/commontools/ParamterSubstitution.cxx index 91fa458de183..aa487606b5d0 100644 --- a/connectivity/source/commontools/ParamterSubstitution.cxx +++ b/connectivity/source/commontools/ParamterSubstitution.cxx @@ -65,10 +65,10 @@ namespace connectivity return getSupportedServiceNames_Static(); } //------------------------------------------------------------------ - Sequence< ::rtl::OUString > ParameterSubstitution::getSupportedServiceNames_Static( ) throw (RuntimeException) + Sequence< OUString > ParameterSubstitution::getSupportedServiceNames_Static( ) throw (RuntimeException) { - Sequence< ::rtl::OUString > aSNS( 1 ); - aSNS[0] = ::rtl::OUString("com.sun.star.sdb.ParameterSubstitution"); + Sequence< OUString > aSNS( 1 ); + aSNS[0] = "com.sun.star.sdb.ParameterSubstitution"; return aSNS; } diff --git a/connectivity/source/commontools/TPrivilegesResultSet.cxx b/connectivity/source/commontools/TPrivilegesResultSet.cxx index 8a4baa2fa147..3aec1f8aa7c6 100644 --- a/connectivity/source/commontools/TPrivilegesResultSet.cxx +++ b/connectivity/source/commontools/TPrivilegesResultSet.cxx @@ -38,11 +38,11 @@ OResultSetPrivileges::OResultSetPrivileges( const Reference< XDatabaseMetaData>& osl_atomic_increment( &m_refCount ); { ::rtl::OUString sUserWorkingFor; - Sequence< ::rtl::OUString > sTableTypes(3); + Sequence< OUString > sTableTypes(3); // we want all catalogues, all schemas, all tables - sTableTypes[0] = ::rtl::OUString("VIEW"); - sTableTypes[1] = ::rtl::OUString("TABLE"); - sTableTypes[2] = ::rtl::OUString("%"); // just to be sure to include anything else .... + sTableTypes[0] = "VIEW"; + sTableTypes[1] = "TABLE"; + sTableTypes[2] = "%"; // just to be sure to include anything else .... try { m_xTables = _rxMeta->getTables(catalog,schemaPattern,tableNamePattern,sTableTypes); diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 499e6b23ca83..8e6513dc7abd 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -429,9 +429,9 @@ SharedConnection lcl_connectRowSet(const Reference< XRowSet>& _rxRowSet, const R if (!sUser.isEmpty()) { // use user and pwd together with the url Sequence< PropertyValue> aInfo(2); - aInfo.getArray()[0].Name = ::rtl::OUString("user"); + aInfo.getArray()[0].Name = "user"; aInfo.getArray()[0].Value <<= sUser; - aInfo.getArray()[1].Name = ::rtl::OUString("password"); + aInfo.getArray()[1].Name = "password"; aInfo.getArray()[1].Value <<= sPwd; xPureConnection = xDriverManager->getConnectionWithInfo( sURL, aInfo ); } diff --git a/testtools/source/bridgetest/constructors.cxx b/testtools/source/bridgetest/constructors.cxx index a4cf91077601..8627e2932a6e 100644 --- a/testtools/source/bridgetest/constructors.cxx +++ b/testtools/source/bridgetest/constructors.cxx @@ -450,9 +450,9 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL create( "comp.test.testtools.bridgetest.Constructors"); } -css::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() { - css::uno::Sequence< ::rtl::OUString > s(1); - s[0] = ::rtl::OUString("test.testtools.bridgetest.Constructors"); +css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() { + css::uno::Sequence< OUString > s(1); + s[0] = "test.testtools.bridgetest.Constructors"; return s; } @@ -469,9 +469,9 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL create2( "comp.test.testtools.bridgetest.Constructors2"); } -css::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames2() { - css::uno::Sequence< ::rtl::OUString > s(1); - s[0] = ::rtl::OUString("test.testtools.bridgetest.Constructors2"); +css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames2() { + css::uno::Sequence< OUString > s(1); + s[0] = "test.testtools.bridgetest.Constructors2"; return s; } diff --git a/ucb/source/ucp/webdav/webdavresponseparser.cxx b/ucb/source/ucp/webdav/webdavresponseparser.cxx index 01240d495179..32489d3a6ee4 100644 --- a/ucb/source/ucp/webdav/webdavresponseparser.cxx +++ b/ucb/source/ucp/webdav/webdavresponseparser.cxx @@ -230,7 +230,7 @@ namespace void WebDAVContext::splitName(const ::rtl::OUString& rSource) { const sal_Int32 nLen(rSource.getLength()); - maNamespace = ::rtl::OUString(); + maNamespace = ""; maName = rSource; if(nLen) @@ -453,7 +453,7 @@ namespace case WebDAVName_response: { // response start, reset Href and status and maResponseProperties - maHref = maStatus = ::rtl::OUString(); + maHref = maStatus = ""; if(isCollectingProperties()) { diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx index 2d31a5fb6f62..e0152939d109 100644 --- a/unotools/source/config/moduleoptions.cxx +++ b/unotools/source/config/moduleoptions.cxx @@ -104,20 +104,20 @@ struct FactoryInfo // easy way to reset struct member! void free() { - bInstalled = sal_False ; - sFactory = ::rtl::OUString() ; - sShortName = ::rtl::OUString() ; - sTemplateFile = ::rtl::OUString() ; - sWindowAttributes = ::rtl::OUString() ; - sEmptyDocumentURL = ::rtl::OUString() ; - sDefaultFilter = ::rtl::OUString() ; - nIcon = 0 ; - bChangedTemplateFile = sal_False ; - bChangedWindowAttributes = sal_False ; - bChangedEmptyDocumentURL = sal_False ; - bChangedDefaultFilter = sal_False ; - bChangedIcon = sal_False ; - bDefaultFilterReadonly = sal_False ; + bInstalled = sal_False; + sFactory = ""; + sShortName = ""; + sTemplateFile = ""; + sWindowAttributes = ""; + sEmptyDocumentURL = ""; + sDefaultFilter = ""; + nIcon = 0; + bChangedTemplateFile = sal_False; + bChangedWindowAttributes = sal_False; + bChangedEmptyDocumentURL = sal_False; + bChangedDefaultFilter = sal_False; + bChangedIcon = sal_False; + bDefaultFilterReadonly = sal_False; } //--------------------------------------------------------------------------------------------------------- @@ -610,28 +610,28 @@ sal_Bool SvtModuleOptions_Impl::IsModuleInstalled( SvtModuleOptions::EModule eMo //return m_lFactories[eFactory].sShortName; - ::rtl::OUString sShortName; + OUString sShortName; switch( eFactory ) { - case SvtModuleOptions::E_WRITER : sShortName = ::rtl::OUString("swriter"); + case SvtModuleOptions::E_WRITER : sShortName = "swriter"; break; - case SvtModuleOptions::E_WRITERWEB : sShortName = ::rtl::OUString("swriter/web"); + case SvtModuleOptions::E_WRITERWEB : sShortName = "swriter/web"; break; - case SvtModuleOptions::E_WRITERGLOBAL : sShortName = ::rtl::OUString("swriter/GlobalDocument"); + case SvtModuleOptions::E_WRITERGLOBAL : sShortName = "swriter/GlobalDocument"; break; - case SvtModuleOptions::E_CALC : sShortName = ::rtl::OUString("scalc"); + case SvtModuleOptions::E_CALC : sShortName = "scalc"; break; - case SvtModuleOptions::E_DRAW : sShortName = ::rtl::OUString("sdraw"); + case SvtModuleOptions::E_DRAW : sShortName = "sdraw"; break; - case SvtModuleOptions::E_IMPRESS : sShortName = ::rtl::OUString("simpress"); + case SvtModuleOptions::E_IMPRESS : sShortName = "simpress"; break; - case SvtModuleOptions::E_MATH : sShortName = ::rtl::OUString("smath"); + case SvtModuleOptions::E_MATH : sShortName = "smath"; break; - case SvtModuleOptions::E_CHART : sShortName = ::rtl::OUString("schart"); + case SvtModuleOptions::E_CHART : sShortName = "schart"; break; - case SvtModuleOptions::E_BASIC : sShortName = ::rtl::OUString("sbasic"); + case SvtModuleOptions::E_BASIC : sShortName = "sbasic"; break; - case SvtModuleOptions::E_DATABASE : sShortName = ::rtl::OUString("sdatabase"); + case SvtModuleOptions::E_DATABASE : sShortName = "sdatabase"; break; default: OSL_FAIL( "unknown factory" ); @@ -662,28 +662,28 @@ sal_Bool SvtModuleOptions_Impl::IsModuleInstalled( SvtModuleOptions::EModule eMo //return m_lFactories[eFactory].getEmptyDocumentURL(); - ::rtl::OUString sURL; + OUString sURL; switch( eFactory ) { - case SvtModuleOptions::E_WRITER : sURL = ::rtl::OUString("private:factory/swriter"); + case SvtModuleOptions::E_WRITER : sURL = "private:factory/swriter"; break; - case SvtModuleOptions::E_WRITERWEB : sURL = ::rtl::OUString("private:factory/swriter/web"); + case SvtModuleOptions::E_WRITERWEB : sURL = "private:factory/swriter/web"; break; - case SvtModuleOptions::E_WRITERGLOBAL : sURL = ::rtl::OUString("private:factory/swriter/GlobalDocument"); + case SvtModuleOptions::E_WRITERGLOBAL : sURL = "private:factory/swriter/GlobalDocument"; break; - case SvtModuleOptions::E_CALC : sURL = ::rtl::OUString("private:factory/scalc"); + case SvtModuleOptions::E_CALC : sURL = "private:factory/scalc"; break; - case SvtModuleOptions::E_DRAW : sURL = ::rtl::OUString("private:factory/sdraw"); + case SvtModuleOptions::E_DRAW : sURL = "private:factory/sdraw"; break; - case SvtModuleOptions::E_IMPRESS : sURL = ::rtl::OUString("private:factory/simpress?slot=6686"); + case SvtModuleOptions::E_IMPRESS : sURL = "private:factory/simpress?slot=6686"; break; - case SvtModuleOptions::E_MATH : sURL = ::rtl::OUString("private:factory/smath"); + case SvtModuleOptions::E_MATH : sURL = "private:factory/smath"; break; - case SvtModuleOptions::E_CHART : sURL = ::rtl::OUString("private:factory/schart"); + case SvtModuleOptions::E_CHART : sURL = "private:factory/schart"; break; - case SvtModuleOptions::E_BASIC : sURL = ::rtl::OUString("private:factory/sbasic"); + case SvtModuleOptions::E_BASIC : sURL = "private:factory/sbasic"; break; - case SvtModuleOptions::E_DATABASE : sURL = ::rtl::OUString("private:factory/sdatabase?Interactive"); + case SvtModuleOptions::E_DATABASE : sURL = "private:factory/sdatabase?Interactive"; break; default: OSL_FAIL( "unknown factory" ); diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx index fd949ce641fe..1ddbbbce8900 100644 --- a/unoxml/source/rdf/CBlankNode.cxx +++ b/unoxml/source/rdf/CBlankNode.cxx @@ -128,10 +128,10 @@ namespace comp_CBlankNode { return ::rtl::OUString( "CBlankNode"); } -css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames() +css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames() { - css::uno::Sequence< ::rtl::OUString > s(1); - s[0] = ::rtl::OUString( "com.sun.star.rdf.BlankNode"); + css::uno::Sequence< OUString > s(1); + s[0] = "com.sun.star.rdf.BlankNode"; return s; } diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx index 2261d45819bd..272f6d207cd9 100644 --- a/unoxml/source/rdf/CLiteral.cxx +++ b/unoxml/source/rdf/CLiteral.cxx @@ -191,10 +191,10 @@ namespace comp_CLiteral { return ::rtl::OUString( "CLiteral"); } -css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames() +css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames() { - css::uno::Sequence< ::rtl::OUString > s(1); - s[0] = ::rtl::OUString( "com.sun.star.rdf.Literal"); + css::uno::Sequence< OUString > s(1); + s[0] = "com.sun.star.rdf.Literal"; return s; } diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx index d0955378e60f..c275b6861b3f 100644 --- a/unoxml/source/rdf/CURI.cxx +++ b/unoxml/source/rdf/CURI.cxx @@ -752,7 +752,7 @@ void SAL_CALL CURI::initialize(const css::uno::Sequence< ::com::sun::star::uno:: } // just append the parameters and then split them again; seems simplest arg0 = arg0 + arg1; - arg1 = ::rtl::OUString(); + arg1 = ""; } // split parameter @@ -819,10 +819,10 @@ namespace comp_CURI { "CURI"); } -css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames() +css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames() { - css::uno::Sequence< ::rtl::OUString > s(1); - s[0] = ::rtl::OUString( "com.sun.star.rdf.URI"); + css::uno::Sequence< OUString > s(1); + s[0] = "com.sun.star.rdf.URI"; return s; } diff --git a/xmloff/source/chart/PropertyMaps.cxx b/xmloff/source/chart/PropertyMaps.cxx index 5b1809b325e3..0831d3a05944 100644 --- a/xmloff/source/chart/PropertyMaps.cxx +++ b/xmloff/source/chart/PropertyMaps.cxx @@ -217,24 +217,24 @@ void XMLChartExportPropertyMapper::ContextFilter( // if Auto... is set the corresponding properties mustn't be exported case XML_SCH_CONTEXT_MIN: bCheckAuto = sal_True; - aAutoPropName = ::rtl::OUString( "AutoMin" ); + aAutoPropName = "AutoMin"; break; case XML_SCH_CONTEXT_MAX: bCheckAuto = sal_True; - aAutoPropName = ::rtl::OUString( "AutoMax" ); + aAutoPropName = "AutoMax"; break; case XML_SCH_CONTEXT_STEP_MAIN: bCheckAuto = sal_True; - aAutoPropName = ::rtl::OUString( "AutoStepMain" ); + aAutoPropName = "AutoStepMain"; break; case XML_SCH_CONTEXT_STEP_HELP_COUNT: bCheckAuto = sal_True; - aAutoPropName = ::rtl::OUString( "AutoStepHelp" ); + aAutoPropName = "AutoStepHelp"; break; case XML_SCH_CONTEXT_ORIGIN: bCheckAuto = sal_True; - aAutoPropName = ::rtl::OUString( "AutoOrigin" ); + aAutoPropName = "AutoOrigin"; break; // the following property is deprecated diff --git a/xmloff/source/chart/SchXMLChartContext.cxx b/xmloff/source/chart/SchXMLChartContext.cxx index 0632b6b84fd4..cf3d3cc30ce2 100644 --- a/xmloff/source/chart/SchXMLChartContext.cxx +++ b/xmloff/source/chart/SchXMLChartContext.cxx @@ -774,7 +774,7 @@ void SchXMLChartContext::EndElement() xNewDoc->createInternalDataProvider( sal_False /* bCloneExistingData */ ); } if( bHasOwnData ) - msChartAddress = ::rtl::OUString( "all" ); + msChartAddress = "all"; bool bSwitchRangesFromOuterToInternalIfNecessary = false; if( !bHasOwnData && mbAllRangeAddressesAvailable ) @@ -821,7 +821,7 @@ void SchXMLChartContext::EndElement() if(!bHasOwnData) { bHasOwnData = true; - msChartAddress = ::rtl::OUString( "all" ); + msChartAddress = "all"; if( !xNewDoc->hasInternalDataProvider() ) { xNewDoc->createInternalDataProvider( sal_False /* bCloneExistingData */ ); diff --git a/xmloff/source/forms/eventexport.cxx b/xmloff/source/forms/eventexport.cxx index 88cf80c078bb..0cd93ed2b570 100644 --- a/xmloff/source/forms/eventexport.cxx +++ b/xmloff/source/forms/eventexport.cxx @@ -55,7 +55,7 @@ namespace xmloff Sequence< PropertyValue >& rMappedEvent = m_aMappedEvents[sName]; sLocalMacroName = pEvents->ScriptCode; - sLibrary = ::rtl::OUString(); + sLibrary = ""; if (pEvents->ScriptType.equals(EVENT_STARBASIC)) { // for StarBasic, the library name is part of the ScriptCode sal_Int32 nPrefixLen = sLocalMacroName.indexOf( ':' ); diff --git a/xmloff/source/text/XMLTextListBlockContext.cxx b/xmloff/source/text/XMLTextListBlockContext.cxx index 827d575a816c..0efd44f557d8 100644 --- a/xmloff/source/text/XMLTextListBlockContext.cxx +++ b/xmloff/source/text/XMLTextListBlockContext.cxx @@ -202,7 +202,7 @@ XMLTextListBlockContext::XMLTextListBlockContext( { if ( !rTextListsHelper.IsListProcessed( msContinueListId ) ) { - msContinueListId = ::rtl::OUString(); + msContinueListId = ""; } else { diff --git a/xmloff/source/text/XMLTextMarkImportContext.cxx b/xmloff/source/text/XMLTextMarkImportContext.cxx index 8320329f3f75..2e6823000fd9 100644 --- a/xmloff/source/text/XMLTextMarkImportContext.cxx +++ b/xmloff/source/text/XMLTextMarkImportContext.cxx @@ -176,7 +176,7 @@ void XMLTextMarkImportContext::StartElement( { if (m_sBookmarkName.isEmpty()) { - m_sBookmarkName = ::rtl::OUString("Unknown"); + m_sBookmarkName = "Unknown"; } m_rHelper.pushFieldCtx( m_sBookmarkName, m_sFieldName ); } diff --git a/xmloff/source/text/XMLTextNumRuleInfo.hxx b/xmloff/source/text/XMLTextNumRuleInfo.hxx index 81c650c6c44e..255bb335850f 100644 --- a/xmloff/source/text/XMLTextNumRuleInfo.hxx +++ b/xmloff/source/text/XMLTextNumRuleInfo.hxx @@ -163,15 +163,15 @@ inline XMLTextNumRuleInfo& XMLTextNumRuleInfo::operator=( inline void XMLTextNumRuleInfo::Reset() { mxNumRules = 0; - msNumRulesName = ::rtl::OUString(); - msListId = ::rtl::OUString(); + msNumRulesName = ""; + msListId = ""; mnListStartValue = -1; mnListLevel = 0; // Written OpenDocument file format doesn't fit to the created text document (#i69627#) mbIsNumbered = mbIsRestart = mbOutlineStyleAsNormalListStyle = sal_False; mbContinueingPreviousSubTree = sal_False; - msListLabelString = ::rtl::OUString(); + msListLabelString = ""; } #endif // _XMLOFF_XMLTEXTNUMRULEINFO_HXX |