summaryrefslogtreecommitdiff
path: root/svx/source/unodraw
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r--svx/source/unodraw/UnoGraphicExporter.cxx2
-rw-r--r--svx/source/unodraw/XPropertyTable.cxx12
-rw-r--r--svx/source/unodraw/unomod.cxx4
-rw-r--r--svx/source/unodraw/unoshape.cxx4
4 files changed, 11 insertions, 11 deletions
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index 21cf4d5b43fb..c7ad4f6bc0f5 100644
--- a/svx/source/unodraw/UnoGraphicExporter.cxx
+++ b/svx/source/unodraw/UnoGraphicExporter.cxx
@@ -587,7 +587,7 @@ void GraphicExporter::ParseSettings( const Sequence< PropertyValue >& aDescripto
// putting the StatusIndicator that we got from the MediaDescriptor into our local FilterData copy
if ( rSettings.mxStatusIndicator.is() )
{
- rtl::OUString sStatusIndicator( RTL_CONSTASCII_USTRINGPARAM( "StatusIndicator" ) );
+ rtl::OUString sStatusIndicator( "StatusIndicator" );
int i = rSettings.maFilterData.getLength();
rSettings.maFilterData.realloc( i + 1 );
rSettings.maFilterData[ i ].Name = sStatusIndicator;
diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx
index 5258eb8fc86e..1eb1d74c50ac 100644
--- a/svx/source/unodraw/XPropertyTable.cxx
+++ b/svx/source/unodraw/XPropertyTable.cxx
@@ -314,7 +314,7 @@ OUString SAL_CALL SvxUnoXColorTable::getImplementationName( ) throw( uno::Runti
uno::Sequence< OUString > SAL_CALL SvxUnoXColorTable::getSupportedServiceNames( ) throw( uno::RuntimeException)
{
- const OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.ColorTable" ) );
+ const OUString aServiceName( "com.sun.star.drawing.ColorTable" );
uno::Sequence< OUString > aServices( &aServiceName, 1 );
return aServices;
}
@@ -388,7 +388,7 @@ OUString SAL_CALL SvxUnoXLineEndTable::getImplementationName( ) throw( uno::Run
uno::Sequence< OUString > SAL_CALL SvxUnoXLineEndTable::getSupportedServiceNames( ) throw( uno::RuntimeException)
{
- const OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.LineEndTable" ) );
+ const OUString aServiceName( "com.sun.star.drawing.LineEndTable" );
uno::Sequence< OUString > aServices( &aServiceName, 1 );
return aServices;
}
@@ -470,7 +470,7 @@ OUString SAL_CALL SvxUnoXDashTable::getImplementationName( ) throw( uno::Runtim
uno::Sequence< OUString > SAL_CALL SvxUnoXDashTable::getSupportedServiceNames( ) throw( uno::RuntimeException)
{
- const OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.DashTable" ) );
+ const OUString aServiceName( "com.sun.star.drawing.DashTable" );
uno::Sequence< OUString > aServices( &aServiceName, 1 );
return aServices;
}
@@ -547,7 +547,7 @@ OUString SAL_CALL SvxUnoXHatchTable::getImplementationName( ) throw( uno::Runti
uno::Sequence< OUString > SAL_CALL SvxUnoXHatchTable::getSupportedServiceNames( ) throw( uno::RuntimeException)
{
- const OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.HatchTable" ) );
+ const OUString aServiceName( "com.sun.star.drawing.HatchTable" );
uno::Sequence< OUString > aServices( &aServiceName, 1 );
return aServices;
}
@@ -636,7 +636,7 @@ OUString SAL_CALL SvxUnoXGradientTable::getImplementationName( ) throw( uno::Ru
uno::Sequence< OUString > SAL_CALL SvxUnoXGradientTable::getSupportedServiceNames( ) throw( uno::RuntimeException)
{
- const OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.GradientTable" ) );
+ const OUString aServiceName( "com.sun.star.drawing.GradientTable" );
uno::Sequence< OUString > aServices( &aServiceName, 1 );
return aServices;
}
@@ -704,7 +704,7 @@ OUString SAL_CALL SvxUnoXBitmapTable::getImplementationName( ) throw( uno::Runt
uno::Sequence< OUString > SAL_CALL SvxUnoXBitmapTable::getSupportedServiceNames( ) throw( uno::RuntimeException)
{
- const OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.BitmapTable" ) );
+ const OUString aServiceName( "com.sun.star.drawing.BitmapTable" );
uno::Sequence< OUString > aServices( &aServiceName, 1 );
return aServices;
}
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx
index bd51521aa30b..88ec2e8ab8ba 100644
--- a/svx/source/unodraw/unomod.cxx
+++ b/svx/source/unodraw/unomod.cxx
@@ -170,7 +170,7 @@ sal_Bool SvxUnoDrawMSFactory::createEvent( const SdrModel* pDoc, const SdrHint*
uno::Reference< uno::XInterface > SAL_CALL SvxUnoDrawMSFactory::createInstance( const OUString& rServiceSpecifier )
throw( uno::Exception, uno::RuntimeException )
{
- const OUString aDrawingPrefix( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.") );
+ const OUString aDrawingPrefix("com.sun.star.drawing.");
if( rServiceSpecifier.startsWith( aDrawingPrefix ) )
{
@@ -552,7 +552,7 @@ sal_Bool SAL_CALL SvxUnoDrawingModel::supportsService( const OUString& ServiceNa
uno::Sequence< OUString > SAL_CALL SvxUnoDrawingModel::getSupportedServiceNames() throw(uno::RuntimeException)
{
- OUString aSN( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.DrawingDocument"));
+ OUString aSN("com.sun.star.drawing.DrawingDocument");
uno::Sequence< OUString > aSeq( &aSN, 1 );
return aSeq;
}
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 6a945ba9a195..76c46fc1ec80 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -3185,7 +3185,7 @@ uno::Sequence<uno::Any> SvxShape::getPropertyDefaults(
OUString SAL_CALL SvxShape::getImplementationName()
throw(uno::RuntimeException)
{
- static OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM("SvxShape") );
+ static OUString aServiceName("SvxShape");
return aServiceName;
}
@@ -4059,7 +4059,7 @@ void SAL_CALL SvxShapeText::release() throw()
//----------------------------------------------------------------------
OUString SAL_CALL SvxShapeText::getImplementationName() throw( uno::RuntimeException )
{
- static OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM("SvxShapeText") );
+ static OUString aServiceName("SvxShapeText");
return aServiceName;
}