diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/dptabres.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/dputil.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/excel/xichart.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/excel/xiescher.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xcl97/xcl97esc.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaname.cxx | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx index 7cc25bc3073b..21e1486bf55c 100644 --- a/sc/source/core/data/dptabres.cxx +++ b/sc/source/core/data/dptabres.cxx @@ -883,7 +883,7 @@ OUString ScDPResultData::GetMeasureDimensionName(long nMeasure) const if ( nMeasure < 0 ) { OSL_FAIL("GetMeasureDimensionName: negative"); - return OUString::createFromAscii("***"); + return OUString("***"); } return mrSource.GetDataDimName(nMeasure); diff --git a/sc/source/core/data/dputil.cxx b/sc/source/core/data/dputil.cxx index 896d13e07012..d7bf56fee780 100644 --- a/sc/source/core/data/dputil.cxx +++ b/sc/source/core/data/dputil.cxx @@ -132,7 +132,7 @@ OUString ScDPUtil::getDateGroupName( OSL_FAIL("invalid date part"); } - return OUString::createFromAscii("FIXME: unhandled value"); + return OUString("FIXME: unhandled value"); } double ScDPUtil::getNumGroupStartValue(double fValue, const ScDPNumGroupInfo& rInfo) diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx index 83f73a9b4cc3..7acb546a1a32 100644 --- a/sc/source/filter/excel/xichart.cxx +++ b/sc/source/filter/excel/xichart.cxx @@ -846,7 +846,7 @@ Reference< XDataSequence > XclImpChSourceLink::CreateDataSequence( const OUStrin { try { - OUString aString = OUString::createFromAscii("\""); + OUString aString("\""); xDataSeq = xDataProv->createDataSequenceByRangeRepresentation( aString + mxString->GetText() + aString ); // set sequence role ScfPropertySet aSeqProp( xDataSeq ); diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index 89d384013602..06f0cd6810b0 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -485,7 +485,7 @@ SdrObject* XclImpDrawObjBase::CreateSdrObject( XclImpDffConverter& rDffConv, con { Reference< XControlModel > xCtrlModel = pSdrUnoObj->GetUnoControlModel(); Reference< XPropertySet > xPropSet(xCtrlModel,UNO_QUERY); - const static rtl::OUString sPropertyName = rtl::OUString::createFromAscii("ControlTypeinMSO"); + const static rtl::OUString sPropertyName("ControlTypeinMSO"); enum { eCreateFromOffice = 0, eCreateFromMSTBXControl, eCreateFromMSOCXControl }; @@ -507,7 +507,7 @@ SdrObject* XclImpDrawObjBase::CreateSdrObject( XclImpDffConverter& rDffConv, con if( mnObjType == 8 )//OCX { //Need summary type for export - const static rtl::OUString sObjIdPropertyName = rtl::OUString::createFromAscii("ObjIDinMSO"); + const static rtl::OUString sObjIdPropertyName("ObjIDinMSO"); const XclImpPictureObj* const pObj = dynamic_cast< const XclImpPictureObj* const >(this); if( pObj != NULL && pObj->IsOcxControl() ) { diff --git a/sc/source/filter/xcl97/xcl97esc.cxx b/sc/source/filter/xcl97/xcl97esc.cxx index 8e380d4e3098..70c8a10520f0 100644 --- a/sc/source/filter/xcl97/xcl97esc.cxx +++ b/sc/source/filter/xcl97/xcl97esc.cxx @@ -250,7 +250,7 @@ EscherExHostAppData* XclEscherEx::StartShape( const Reference< XShape >& rxShape Any aAny; try { - aAny = xPropSet->getPropertyValue(rtl::OUString::createFromAscii("ControlTypeinMSO")); + aAny = xPropSet->getPropertyValue("ControlTypeinMSO"); aAny >>= nMsCtlType; } catch(const Exception&) @@ -332,7 +332,7 @@ EscherExHostAppData* XclEscherEx::StartShape( const Reference< XShape >& rxShape Any aAny; try { - aAny = xPropSet->getPropertyValue(rtl::OUString::createFromAscii("ObjIDinMSO")); + aAny = xPropSet->getPropertyValue("ObjIDinMSO"); } catch(const Exception&) { diff --git a/sc/source/ui/vba/vbaname.cxx b/sc/source/ui/vba/vbaname.cxx index 9721b73ed5d2..f7ce25376d3f 100644 --- a/sc/source/ui/vba/vbaname.cxx +++ b/sc/source/ui/vba/vbaname.cxx @@ -108,7 +108,7 @@ OUString ScVbaName::getContent( const formula::FormulaGrammar::Grammar eGrammar, if ( bPrependEquals ) { if (aContent.indexOf('=') != 0) - aContent = OUString::createFromAscii("=") + aContent; + aContent = "=" + aContent; } return aContent; } |