summaryrefslogtreecommitdiff
path: root/xmloff/source/text
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text')
-rw-r--r--xmloff/source/text/XMLTextColumnsContext.cxx2
-rw-r--r--xmloff/source/text/XMLTextMasterPageContext.cxx2
-rw-r--r--xmloff/source/text/txtexppr.cxx2
-rw-r--r--xmloff/source/text/txtfldi.cxx2
-rw-r--r--xmloff/source/text/txtparae.cxx4
5 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/text/XMLTextColumnsContext.cxx b/xmloff/source/text/XMLTextColumnsContext.cxx
index f046245f557a..9f486d3582d5 100644
--- a/xmloff/source/text/XMLTextColumnsContext.cxx
+++ b/xmloff/source/text/XMLTextColumnsContext.cxx
@@ -391,7 +391,7 @@ void XMLTextColumnsContext::EndElement( )
if( !xFactory.is() )
return;
- Reference<XInterface> xIfc = xFactory->createInstance(OUString("com.sun.star.text.TextColumns"));
+ Reference<XInterface> xIfc = xFactory->createInstance("com.sun.star.text.TextColumns");
if( !xIfc.is() )
return;
diff --git a/xmloff/source/text/XMLTextMasterPageContext.cxx b/xmloff/source/text/XMLTextMasterPageContext.cxx
index 3f2fb301eb8c..8aedf9476f22 100644
--- a/xmloff/source/text/XMLTextMasterPageContext.cxx
+++ b/xmloff/source/text/XMLTextMasterPageContext.cxx
@@ -50,7 +50,7 @@ Reference < XStyle > XMLTextMasterPageContext::Create()
if( xFactory.is() )
{
Reference < XInterface > xIfc =
- xFactory->createInstance(OUString("com.sun.star.style.PageStyle"));
+ xFactory->createInstance("com.sun.star.style.PageStyle");
if( xIfc.is() )
xNewStyle = Reference < XStyle >( xIfc, UNO_QUERY );
}
diff --git a/xmloff/source/text/txtexppr.cxx b/xmloff/source/text/txtexppr.cxx
index eb89488e1054..41c1397b24d9 100644
--- a/xmloff/source/text/txtexppr.cxx
+++ b/xmloff/source/text/txtexppr.cxx
@@ -851,7 +851,7 @@ void XMLTextExportPropertySetMapper::ContextFilter(
pAnchorTypeState->maValue >>= eAnchor;
else if( bNeedsAnchor )
{
- Any aAny = rPropSet->getPropertyValue( OUString( "AnchorType" ) );
+ Any aAny = rPropSet->getPropertyValue("AnchorType");
aAny >>= eAnchor;
}
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index cf6bc1024837..c4af925d8143 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -3959,7 +3959,7 @@ void XMLMeasureFieldImportContext::PrepareField(
{
Any aAny;
aAny <<= mnKind;
- xPropertySet->setPropertyValue(OUString("Kind"), aAny);
+ xPropertySet->setPropertyValue("Kind", aAny);
}
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index d6b309b8edf3..6a529a8addd5 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -1515,7 +1515,7 @@ bool XMLTextParagraphExport::collectTextAutoStylesOptimized( sal_Bool bIsProgres
{
Reference < XPropertySet > xSet( xTextField, UNO_QUERY );
Reference < XText > xText;
- Any a = xSet->getPropertyValue( OUString("TextRange") );
+ Any a = xSet->getPropertyValue("TextRange");
a >>= xText;
if ( xText.is() )
{
@@ -3813,7 +3813,7 @@ void XMLTextParagraphExport::PreventExportOfControlsInMuteSections(
{
// Reference<XPropertySet> xPropSet( xControlShape, UNO_QUERY );
// Reference<XTextContent> xTextContent;
- // xPropSet->getPropertyValue( OUString( "TextRange" ) ) >>= xTextContent;
+ // xPropSet->getPropertyValue("TextRange") >>= xTextContent;
Reference<XTextContent> xTextContent( xControlShape, UNO_QUERY );
if( xTextContent.is() )