summaryrefslogtreecommitdiff
path: root/svx/source/unodraw
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r--svx/source/unodraw/UnoNamespaceMap.cxx3
-rw-r--r--svx/source/unodraw/unobtabl.cxx3
-rw-r--r--svx/source/unodraw/unoctabl.cxx3
-rw-r--r--svx/source/unodraw/unodtabl.cxx3
-rw-r--r--svx/source/unodraw/unogtabl.cxx3
-rw-r--r--svx/source/unodraw/unohtabl.cxx3
-rw-r--r--svx/source/unodraw/unomtabl.cxx3
-rw-r--r--svx/source/unodraw/unopage.cxx3
-rw-r--r--svx/source/unodraw/unopool.cxx3
-rw-r--r--svx/source/unodraw/unottabl.cxx3
10 files changed, 10 insertions, 20 deletions
diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx
index 0db90fa6ad40..066c1df4e02c 100644
--- a/svx/source/unodraw/UnoNamespaceMap.cxx
+++ b/svx/source/unodraw/UnoNamespaceMap.cxx
@@ -79,8 +79,7 @@ namespace svx
Sequence< OUString > SAL_CALL NamespaceMap_getSupportedServiceNames()
throw()
{
- Sequence< OUString > aSupportedServiceNames( 1 );
- aSupportedServiceNames[0] = "com.sun.star.xml.NamespaceMap";
+ Sequence<OUString> aSupportedServiceNames { "com.sun.star.xml.NamespaceMap" };
return aSupportedServiceNames;
}
diff --git a/svx/source/unodraw/unobtabl.cxx b/svx/source/unodraw/unobtabl.cxx
index 7b0c9ba1d6ac..342b08282ea7 100644
--- a/svx/source/unodraw/unobtabl.cxx
+++ b/svx/source/unodraw/unobtabl.cxx
@@ -85,8 +85,7 @@ OUString SAL_CALL SvxUnoBitmapTable::getImplementationName() throw( uno::Runtime
uno::Sequence< OUString > SAL_CALL SvxUnoBitmapTable::getSupportedServiceNames( )
throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aSNS( 1 );
- aSNS[0] = "com.sun.star.drawing.BitmapTable";
+ uno::Sequence<OUString> aSNS { "com.sun.star.drawing.BitmapTable" };
return aSNS;
}
diff --git a/svx/source/unodraw/unoctabl.cxx b/svx/source/unodraw/unoctabl.cxx
index aca0ca617884..bda46f67def5 100644
--- a/svx/source/unodraw/unoctabl.cxx
+++ b/svx/source/unodraw/unoctabl.cxx
@@ -82,8 +82,7 @@ OUString SAL_CALL SvxUnoColorTable::getImplementationName() throw( uno::RuntimeE
uno::Sequence< OUString > SAL_CALL SvxUnoColorTable::getSupportedServiceNames()
throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aSNS( 1 );
- aSNS.getArray()[0] = "com.sun.star.drawing.ColorTable";
+ uno::Sequence<OUString> aSNS { "com.sun.star.drawing.ColorTable" };
return aSNS;
}
diff --git a/svx/source/unodraw/unodtabl.cxx b/svx/source/unodraw/unodtabl.cxx
index 952369390aaf..cc7ce2f0e6fc 100644
--- a/svx/source/unodraw/unodtabl.cxx
+++ b/svx/source/unodraw/unodtabl.cxx
@@ -66,8 +66,7 @@ OUString SAL_CALL SvxUnoDashTable::getImplementationName() throw( uno::RuntimeEx
uno::Sequence< OUString > SAL_CALL SvxUnoDashTable::getSupportedServiceNames( )
throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aSNS( 1 );
- aSNS.getArray()[0] = "com.sun.star.drawing.DashTable";
+ uno::Sequence<OUString> aSNS { "com.sun.star.drawing.DashTable" };
return aSNS;
}
diff --git a/svx/source/unodraw/unogtabl.cxx b/svx/source/unodraw/unogtabl.cxx
index 13f11ac93dbf..fc1b394851c8 100644
--- a/svx/source/unodraw/unogtabl.cxx
+++ b/svx/source/unodraw/unogtabl.cxx
@@ -65,8 +65,7 @@ OUString SAL_CALL SvxUnoGradientTable::getImplementationName() throw( uno::Runti
uno::Sequence< OUString > SAL_CALL SvxUnoGradientTable::getSupportedServiceNames( )
throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aSNS( 1 );
- aSNS.getArray()[0] = "com.sun.star.drawing.GradientTable";
+ uno::Sequence<OUString> aSNS { "com.sun.star.drawing.GradientTable" };
return aSNS;
}
diff --git a/svx/source/unodraw/unohtabl.cxx b/svx/source/unodraw/unohtabl.cxx
index e510e186d39f..4d182766ea31 100644
--- a/svx/source/unodraw/unohtabl.cxx
+++ b/svx/source/unodraw/unohtabl.cxx
@@ -65,8 +65,7 @@ OUString SAL_CALL SvxUnoHatchTable::getImplementationName() throw( uno::RuntimeE
uno::Sequence< OUString > SAL_CALL SvxUnoHatchTable::getSupportedServiceNames( )
throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aSNS( 1 );
- aSNS.getArray()[0] = "com.sun.star.drawing.HatchTable";
+ uno::Sequence<OUString> aSNS { "com.sun.star.drawing.HatchTable" };
return aSNS;
}
diff --git a/svx/source/unodraw/unomtabl.cxx b/svx/source/unodraw/unomtabl.cxx
index 0b200a17a80f..23723cb68247 100644
--- a/svx/source/unodraw/unomtabl.cxx
+++ b/svx/source/unodraw/unomtabl.cxx
@@ -141,8 +141,7 @@ OUString SAL_CALL SvxUnoMarkerTable::getImplementationName() throw( uno::Runtime
uno::Sequence< OUString > SAL_CALL SvxUnoMarkerTable::getSupportedServiceNames( )
throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aSNS( 1 );
- aSNS.getArray()[0] = "com.sun.star.drawing.MarkerTable";
+ uno::Sequence<OUString> aSNS { "com.sun.star.drawing.MarkerTable" };
return aSNS;
}
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index 0cee1fef5c2a..7376b8e8172e 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -865,8 +865,7 @@ sal_Bool SAL_CALL SvxDrawPage::supportsService( const OUString& ServiceName )
uno::Sequence< OUString > SAL_CALL SvxDrawPage::getSupportedServiceNames() throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aSeq( 1 );
- aSeq.getArray()[0] = "com.sun.star.drawing.ShapeCollection";
+ uno::Sequence<OUString> aSeq { "com.sun.star.drawing.ShapeCollection" };
return aSeq;
}
diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx
index aae498f1cd9d..3d63ff953bc1 100644
--- a/svx/source/unodraw/unopool.cxx
+++ b/svx/source/unodraw/unopool.cxx
@@ -404,8 +404,7 @@ OUString SAL_CALL SvxUnoDrawPool::getImplementationName() throw( uno::RuntimeExc
uno::Sequence< OUString > SAL_CALL SvxUnoDrawPool::getSupportedServiceNames( )
throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aSNS( 1 );
- aSNS.getArray()[0] = "com.sun.star.drawing.Defaults";
+ uno::Sequence<OUString> aSNS { "com.sun.star.drawing.Defaults" };
return aSNS;
}
diff --git a/svx/source/unodraw/unottabl.cxx b/svx/source/unodraw/unottabl.cxx
index e380d51f63b8..0986195da6ad 100644
--- a/svx/source/unodraw/unottabl.cxx
+++ b/svx/source/unodraw/unottabl.cxx
@@ -65,8 +65,7 @@ OUString SAL_CALL SvxUnoTransGradientTable::getImplementationName() throw( uno::
uno::Sequence< OUString > SAL_CALL SvxUnoTransGradientTable::getSupportedServiceNames( )
throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aSNS( 1 );
- aSNS.getArray()[0] = "com.sun.star.drawing.TransparencyGradientTable";
+ uno::Sequence<OUString> aSNS { "com.sun.star.drawing.TransparencyGradientTable" };
return aSNS;
}