summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbaparagraph.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbaparagraph.cxx')
-rw-r--r--sw/source/ui/vba/vbaparagraph.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbaparagraph.cxx b/sw/source/ui/vba/vbaparagraph.cxx
index da478a8ac2f3..abcb5484caba 100644
--- a/sw/source/ui/vba/vbaparagraph.cxx
+++ b/sw/source/ui/vba/vbaparagraph.cxx
@@ -100,7 +100,7 @@ public:
while( xParEnum->hasMoreElements() )
{
uno::Reference< lang::XServiceInfo > xServiceInfo( xParEnum->nextElement(), uno::UNO_QUERY_THROW );
- if( xServiceInfo->supportsService( OUString("com.sun.star.text.Paragraph") ) )
+ if( xServiceInfo->supportsService("com.sun.star.text.Paragraph") )
{
nCount++;
}
@@ -116,7 +116,7 @@ public:
while( xParEnum->hasMoreElements() )
{
uno::Reference< lang::XServiceInfo > xServiceInfo( xParEnum->nextElement(), uno::UNO_QUERY_THROW );
- if( xServiceInfo->supportsService( OUString("com.sun.star.text.Paragraph") ) )
+ if( xServiceInfo->supportsService("com.sun.star.text.Paragraph") )
{
if( Index == nCount )
return uno::makeAny( xServiceInfo );