summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtparae.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/txtparae.cxx')
-rw-r--r--xmloff/source/text/txtparae.cxx4
1 files changed, 2 insertions, 2 deletions
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() )