Kaydet (Commit) 8e234c5b authored tarafından Noel Grandin's avatar Noel Grandin

use initialiser syntax for Sequence<OUString>

replaced using the script:

git grep -lP 'Sequence.*OUString.*\(1\)'
  | xargs perl -0777 -pi
    -e "s/Sequence< OUString > (\w+)\(1\);
.*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g"

Change-Id: I23688a91562051a8eed11fc2a85599545c285c34
Reviewed-on: https://gerrit.libreoffice.org/19967Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 3bdd1767
......@@ -208,8 +208,7 @@ namespace accessibility
Sequence< OUString > AccessibleTabBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleTabBar";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabBar" };
return aNames;
}
......
......@@ -240,8 +240,7 @@ namespace accessibility
Sequence< OUString > AccessibleTabBarPage::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleTabBarPage";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabBarPage" };
return aNames;
}
......
......@@ -390,8 +390,7 @@ namespace accessibility
Sequence< OUString > AccessibleTabBarPageList::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleTabBarPageList";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabBarPageList" };
return aNames;
}
......
......@@ -133,8 +133,7 @@ OUString VCLXAccessibleButton::getImplementationName() throw (RuntimeException,
Sequence< OUString > VCLXAccessibleButton::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleButton";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleButton" };
return aNames;
}
......
......@@ -173,8 +173,7 @@ OUString VCLXAccessibleCheckBox::getImplementationName() throw (RuntimeException
Sequence< OUString > VCLXAccessibleCheckBox::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleCheckBox";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleCheckBox" };
return aNames;
}
......
......@@ -190,8 +190,7 @@ OUString VCLXAccessibleEdit::getImplementationName() throw (RuntimeException, st
Sequence< OUString > VCLXAccessibleEdit::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleEdit";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleEdit" };
return aNames;
}
......
......@@ -64,8 +64,7 @@ OUString VCLXAccessibleFixedHyperlink::getImplementationName() throw (uno::Runti
uno::Sequence< OUString > VCLXAccessibleFixedHyperlink::getSupportedServiceNames() throw (uno::RuntimeException, std::exception)
{
uno::Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleFixedHyperlink";
uno::Sequence< OUString > aNames { "com.sun.star.awt.AccessibleFixedHyperlink" };
return aNames;
}
......
......@@ -76,8 +76,7 @@ OUString VCLXAccessibleFixedText::getImplementationName() throw (RuntimeExceptio
Sequence< OUString > VCLXAccessibleFixedText::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleFixedText";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleFixedText" };
return aNames;
}
......
......@@ -98,8 +98,7 @@ OUString VCLXAccessibleMenu::getImplementationName() throw (RuntimeException, st
Sequence< OUString > VCLXAccessibleMenu::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleMenu";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenu" };
return aNames;
}
......
......@@ -138,8 +138,7 @@ OUString VCLXAccessibleMenuBar::getImplementationName() throw (RuntimeException,
Sequence< OUString > VCLXAccessibleMenuBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleMenuBar";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuBar" };
return aNames;
}
......
......@@ -171,8 +171,7 @@ OUString VCLXAccessibleMenuItem::getImplementationName() throw (RuntimeException
Sequence< OUString > VCLXAccessibleMenuItem::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleMenuItem";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuItem" };
return aNames;
}
......
......@@ -56,8 +56,7 @@ OUString VCLXAccessibleMenuSeparator::getImplementationName() throw (RuntimeExce
Sequence< OUString > VCLXAccessibleMenuSeparator::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleMenuSeparator";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuSeparator" };
return aNames;
}
......
......@@ -63,8 +63,7 @@ OUString VCLXAccessiblePopupMenu::getImplementationName() throw (RuntimeExceptio
Sequence< OUString > VCLXAccessiblePopupMenu::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessiblePopupMenu";
Sequence< OUString > aNames { "com.sun.star.awt.AccessiblePopupMenu" };
return aNames;
}
......
......@@ -148,8 +148,7 @@ OUString VCLXAccessibleRadioButton::getImplementationName() throw (RuntimeExcept
Sequence< OUString > VCLXAccessibleRadioButton::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleRadioButton";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleRadioButton" };
return aNames;
}
......
......@@ -113,8 +113,7 @@ OUString VCLXAccessibleScrollBar::getImplementationName() throw (RuntimeExceptio
Sequence< OUString > VCLXAccessibleScrollBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleScrollBar";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleScrollBar" };
return aNames;
}
......
......@@ -290,8 +290,7 @@ OUString VCLXAccessibleStatusBar::getImplementationName() throw (RuntimeExceptio
Sequence< OUString > VCLXAccessibleStatusBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleStatusBar";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleStatusBar" };
return aNames;
}
......
......@@ -245,8 +245,7 @@ sal_Bool VCLXAccessibleStatusBarItem::supportsService( const OUString& rServiceN
Sequence< OUString > VCLXAccessibleStatusBarItem::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleStatusBarItem";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleStatusBarItem" };
return aNames;
}
......
......@@ -349,8 +349,7 @@ OUString VCLXAccessibleTabControl::getImplementationName() throw (RuntimeExcepti
Sequence< OUString > VCLXAccessibleTabControl::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleTabControl";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabControl" };
return aNames;
}
......
......@@ -277,8 +277,7 @@ sal_Bool VCLXAccessibleTabPage::supportsService( const OUString& rServiceName )
Sequence< OUString > VCLXAccessibleTabPage::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.awt.AccessibleTabPage";
Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabPage" };
return aNames;
}
......
......@@ -218,8 +218,7 @@ sal_Bool SAL_CALL FrameGrabber::supportsService( const OUString& ServiceName )
uno::Sequence< OUString > SAL_CALL FrameGrabber::getSupportedServiceNames()
throw (uno::RuntimeException, std::exception)
{
uno::Sequence< OUString > aRet(1);
aRet[0] = AVMEDIA_GST_FRAMEGRABBER_SERVICENAME;
uno::Sequence< OUString > aRet { AVMEDIA_GST_FRAMEGRABBER_SERVICENAME };
return aRet;
}
......
......@@ -63,8 +63,7 @@ sal_Bool SAL_CALL OGLFrameGrabber::supportsService( const OUString& rServiceName
uno::Sequence< OUString > SAL_CALL OGLFrameGrabber::getSupportedServiceNames()
throw ( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.media.FrameGrabber_OpenGL";
uno::Sequence< OUString > aRet { "com.sun.star.media.FrameGrabber_OpenGL" };
return aRet;
}
......
......@@ -55,8 +55,7 @@ sal_Bool SAL_CALL OGLManager::supportsService( const OUString& rServiceName )
uno::Sequence< OUString > SAL_CALL OGLManager::getSupportedServiceNames()
throw ( uno::RuntimeException, std::exception )
{
::uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.media.Manager_OpenGL";
::uno::Sequence< OUString > aRet { "com.sun.star.media.Manager_OpenGL" };
return aRet;
}
......
......@@ -356,8 +356,7 @@ sal_Bool SAL_CALL OGLPlayer::supportsService( const OUString& rServiceName )
uno::Sequence< OUString > SAL_CALL OGLPlayer::getSupportedServiceNames()
throw ( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.media.Player_OpenGL";
uno::Sequence< OUString > aRet { "com.sun.star.media.Player_OpenGL" };
return aRet;
}
......
......@@ -70,8 +70,7 @@ sal_Bool SAL_CALL OGLWindow::supportsService( const OUString& rServiceName ) thr
uno::Sequence< OUString > SAL_CALL OGLWindow::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.media.Window_OpenGL";
uno::Sequence< OUString > aRet { "com.sun.star.media.Window_OpenGL" };
return aRet;
}
......
......@@ -126,8 +126,7 @@ sal_Bool SAL_CALL VLCFrameGrabber::supportsService( const ::rtl::OUString& servi
::uno::Sequence< ::rtl::OUString > SAL_CALL VLCFrameGrabber::getSupportedServiceNames()
throw ( css::uno::RuntimeException, std::exception )
{
::uno::Sequence< OUString > aRet(1);
aRet[0] = AVMEDIA_VLC_GRABBER_SERVICENAME;
::uno::Sequence< OUString > aRet { AVMEDIA_VLC_GRABBER_SERVICENAME };
return aRet;
}
......
......@@ -121,8 +121,7 @@ sal_Bool SAL_CALL Manager::supportsService( const rtl::OUString& serviceName )
uno::Sequence< rtl::OUString > SAL_CALL Manager::getSupportedServiceNames()
throw (uno::RuntimeException, std::exception)
{
::uno::Sequence< OUString > aRet(1);
aRet[0] = VLC_SERVICENAME;
::uno::Sequence< OUString > aRet { VLC_SERVICENAME };
return aRet;
}
......
......@@ -266,8 +266,7 @@ sal_Bool SAL_CALL VLCPlayer::supportsService( const ::rtl::OUString& serviceName
::uno::Sequence< ::rtl::OUString > SAL_CALL VLCPlayer::getSupportedServiceNames()
throw ( css::uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = AVMEDIA_VLC_PLAYER_SERVICENAME;
uno::Sequence< OUString > aRet { AVMEDIA_VLC_PLAYER_SERVICENAME };
return aRet;
}
......
......@@ -103,8 +103,7 @@ sal_Bool SAL_CALL VLCWindow::supportsService( const ::rtl::OUString& serviceName
uno::Sequence< ::rtl::OUString > SAL_CALL VLCWindow::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
{
uno::Sequence< OUString > aRet(1);
aRet[0] = AVMEDIA_VLC_WINDOW_SERVICENAME;
uno::Sequence< OUString > aRet { AVMEDIA_VLC_WINDOW_SERVICENAME };
return aRet;
}
......
......@@ -475,8 +475,7 @@ OUString Service::getImplementationName_static() {
}
css::uno::Sequence< OUString > Service::getSupportedServiceNames_static() {
css::uno::Sequence< OUString > names(1);
names[0] = "com.sun.star.test.bridges.testacquire";
css::uno::Sequence< OUString > names { "com.sun.star.test.bridges.testacquire" };
return names;
}
......
......@@ -120,8 +120,7 @@ Service::get(OUString const & rName) throw (css::uno::RuntimeException)
css::uno::Sequence< OUString > Service::getSupportedServiceNames_static()
{
css::uno::Sequence< OUString > aNames(1);
aNames[0] = "com.sun.star.test.bridges.testequals";
css::uno::Sequence< OUString > aNames { "com.sun.star.test.bridges.testequals" };
return aNames;
}
......
......@@ -213,8 +213,7 @@ namespace cairocanvas
uno::Sequence< OUString > SAL_CALL CanvasBitmap::getSupportedServiceNames( ) throw (uno::RuntimeException, std::exception)
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.CanvasBitmap";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.CanvasBitmap" };
return aRet;
}
......
......@@ -149,8 +149,7 @@ namespace cairocanvas
uno::Sequence< OUString > SAL_CALL CanvasCustomSprite::getSupportedServiceNames() throw( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.CanvasCustomSprite";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.CanvasCustomSprite" };
return aRet;
}
......
......@@ -149,8 +149,7 @@ namespace cairocanvas
uno::Sequence< OUString > SAL_CALL CanvasFont::getSupportedServiceNames() throw( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.CanvasFont";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.CanvasFont" };
return aRet;
}
......
......@@ -591,8 +591,7 @@ namespace cairocanvas
uno::Sequence< OUString > SAL_CALL TextLayout::getSupportedServiceNames() throw( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.TextLayout";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.TextLayout" };
return aRet;
}
......
......@@ -256,8 +256,7 @@ namespace dxcanvas
uno::Sequence< OUString > SAL_CALL CanvasBitmap::getSupportedServiceNames( ) throw (uno::RuntimeException)
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.CanvasBitmap";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.CanvasBitmap" };
return aRet;
}
......
......@@ -93,8 +93,7 @@ namespace dxcanvas
uno::Sequence< OUString > SAL_CALL CanvasCustomSprite::getSupportedServiceNames() throw( uno::RuntimeException )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.CanvasCustomSprite";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.CanvasCustomSprite" };
return aRet;
}
......
......@@ -134,8 +134,7 @@ namespace dxcanvas
uno::Sequence< OUString > SAL_CALL CanvasFont::getSupportedServiceNames() throw( uno::RuntimeException )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.CanvasFont";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.CanvasFont" };
return aRet;
}
......
......@@ -43,8 +43,7 @@ namespace dxcanvas
{
try
{
uno::Sequence< OUString > aName(1);
aName[0] = "DeviceBlacklist";
uno::Sequence< OUString > aName { "DeviceBlacklist" };
uno::Sequence< uno::Any > aProps( GetProperties( aName ));
uno::Sequence< sal_Int32 > aValues;
......@@ -96,8 +95,7 @@ namespace dxcanvas
try
{
uno::Sequence< OUString > aName(1);
aName[0] = "DeviceBlacklist";
uno::Sequence< OUString > aName { "DeviceBlacklist" };
uno::Sequence< sal_Int32 > aValues( sizeof(DeviceInfo)/sizeof(sal_Int32)*maValues.size() );
......
......@@ -258,8 +258,7 @@ namespace dxcanvas
uno::Sequence< OUString > SAL_CALL TextLayout::getSupportedServiceNames() throw( uno::RuntimeException )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.TextLayout";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.TextLayout" };
return aRet;
}
......
......@@ -91,8 +91,7 @@ namespace canvas
uno::Sequence< OUString > SAL_CALL CachedPrimitiveBase::getSupportedServiceNames( ) throw (uno::RuntimeException, std::exception)
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.CachedBitmap";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.CachedBitmap" };
return aRet;
}
......
......@@ -211,8 +211,7 @@ namespace canvas
uno::Sequence< OUString > SAL_CALL ParametricPolyPolygon::getSupportedServiceNames( ) throw (uno::RuntimeException, std::exception)
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.ParametricPolyPolygon";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.ParametricPolyPolygon" };
return aRet;
}
......
......@@ -86,8 +86,7 @@ namespace vclcanvas
uno::Sequence< OUString > SAL_CALL CanvasBitmap::getSupportedServiceNames( ) throw (uno::RuntimeException, std::exception)
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.CanvasBitmap";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.CanvasBitmap" };
return aRet;
}
......
......@@ -127,8 +127,7 @@ namespace vclcanvas
uno::Sequence< OUString > SAL_CALL CanvasCustomSprite::getSupportedServiceNames() throw( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.CanvasCustomSprite";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.CanvasCustomSprite" };
return aRet;
}
......
......@@ -161,8 +161,7 @@ namespace vclcanvas
uno::Sequence< OUString > SAL_CALL CanvasFont::getSupportedServiceNames() throw( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.CanvasFont";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.CanvasFont" };
return aRet;
}
......
......@@ -472,8 +472,7 @@ namespace vclcanvas
uno::Sequence< OUString > SAL_CALL TextLayout::getSupportedServiceNames() throw( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = "com.sun.star.rendering.TextLayout";
uno::Sequence< OUString > aRet { "com.sun.star.rendering.TextLayout" };
return aRet;
}
......
......@@ -1460,8 +1460,7 @@ uno::Sequence< OUString > SAL_CALL
ChartController::getAvailableServiceNames()
throw (uno::RuntimeException, std::exception)
{
uno::Sequence< OUString > aServiceNames(1);
aServiceNames[0] = CHART_ACCESSIBLE_TEXT_SERVICE_NAME;
uno::Sequence< OUString > aServiceNames { CHART_ACCESSIBLE_TEXT_SERVICE_NAME };
return aServiceNames;
}
......
......@@ -142,8 +142,7 @@ OUString SAL_CALL GL3DBarChartType::getChartType()
uno::Sequence<OUString> GL3DBarChartType::getSupportedPropertyRoles()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
uno::Sequence< OUString > aPropRoles(1);
aPropRoles[0] = "FillColor";
uno::Sequence< OUString > aPropRoles { "FillColor" };
return aPropRoles;
}
......
......@@ -79,8 +79,7 @@ OUString SAL_CALL LogarithmicScaling::getServiceName()
uno::Sequence< OUString > LogarithmicScaling::getSupportedServiceNames_Static()
{
uno::Sequence< OUString > aSeq(1);
aSeq.getArray()[0] = lcl_aServiceName_Logarithmic;
uno::Sequence< OUString > aSeq { lcl_aServiceName_Logarithmic };
return aSeq;
}
......@@ -148,8 +147,7 @@ OUString SAL_CALL ExponentialScaling::getServiceName()
uno::Sequence< OUString > ExponentialScaling::getSupportedServiceNames_Static()
{
uno::Sequence< OUString > aSeq(1);
aSeq.getArray()[0] = lcl_aServiceName_Exponential;
uno::Sequence< OUString > aSeq { lcl_aServiceName_Exponential };
return aSeq;
}
......@@ -221,8 +219,7 @@ OUString SAL_CALL LinearScaling::getServiceName()
uno::Sequence< OUString > LinearScaling::getSupportedServiceNames_Static()
{
uno::Sequence< OUString > aSeq(1);
aSeq.getArray()[0] = lcl_aServiceName_Linear;
uno::Sequence< OUString > aSeq { lcl_aServiceName_Linear };
return aSeq;
}
......@@ -293,8 +290,7 @@ PowerScaling::getServiceName()
uno::Sequence< OUString > PowerScaling::getSupportedServiceNames_Static()
{
uno::Sequence< OUString > aSeq(1);
aSeq.getArray()[0] = lcl_aServiceName_Power;
uno::Sequence< OUString > aSeq { lcl_aServiceName_Power };
return aSeq;
}
......
......@@ -106,8 +106,7 @@ OUString SAL_CALL DateScaling::getServiceName()
uno::Sequence< OUString > DateScaling::getSupportedServiceNames_Static()
{
uno::Sequence< OUString > aSeq(1);
aSeq.getArray()[0] = lcl_aServiceName_DateScaling;
uno::Sequence< OUString > aSeq { lcl_aServiceName_DateScaling };
return aSeq;
}
......