diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 14:00:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:26 +0200 |
commit | e52779d2f8722c713f72aedbf475267440d729f0 (patch) | |
tree | 0f2f15b2a7645e0b75f8057c96c90e05e1a6e7df /xmloff | |
parent | e9c4ee996d5a6bf895072613ac4e488346ee5b05 (diff) |
remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/unoatrcn.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/sdxmlexp.cxx | 8 | ||||
-rw-r--r-- | xmloff/source/style/prstylei.cxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx index 57ecb5781053..1e2c8643f92f 100644 --- a/xmloff/source/core/unoatrcn.cxx +++ b/xmloff/source/core/unoatrcn.cxx @@ -123,7 +123,7 @@ uno::Any SAL_CALL SvUnoAttributeContainer::getByName(const OUString& aName) xml::AttributeData aData; aData.Namespace = mpContainer->GetAttrNamespace(nAttr); - aData.Type = OUString("CDATA"); + aData.Type = "CDATA"; aData.Value = mpContainer->GetAttrValue(nAttr); uno::Any aAny; diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 58cd9384850b..03b6d7f367bc 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -2525,13 +2525,13 @@ void SdXMLExport::GetViewSettings(uno::Sequence<beans::PropertyValue>& rProps) xPropSet->getPropertyValue("VisibleArea") >>= aVisArea; sal_uInt16 i = 0; - pProps[i].Name = OUString("VisibleAreaTop"); + pProps[i].Name = "VisibleAreaTop"; pProps[i++].Value <<= aVisArea.Y; - pProps[i].Name = OUString("VisibleAreaLeft"); + pProps[i].Name = "VisibleAreaLeft"; pProps[i++].Value <<= aVisArea.X; - pProps[i].Name = OUString("VisibleAreaWidth"); + pProps[i].Name = "VisibleAreaWidth"; pProps[i++].Value <<= aVisArea.Width; - pProps[i].Name = OUString("VisibleAreaHeight"); + pProps[i].Name = "VisibleAreaHeight"; pProps[i++].Value <<= aVisArea.Height; } } diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx index b7a0e6e7dfe5..d99642d62ef2 100644 --- a/xmloff/source/style/prstylei.cxx +++ b/xmloff/source/style/prstylei.cxx @@ -199,7 +199,7 @@ void XMLPropStyleContext::CreateAndInsert( sal_Bool bOverwrite ) if( !sParent.isEmpty() ) sParent = GetImport().GetStyleDisplayName( GetFamily(), sParent ); else - sParent = OUString("Standard"); + sParent = "Standard"; pProps->Value <<= sParent; ++pProps; pProps->Name = "ParaConditionalStyleName"; |