diff options
Diffstat (limited to 'odk/examples/cpp/custompanel/ctp_factory.cxx')
-rw-r--r-- | odk/examples/cpp/custompanel/ctp_factory.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/odk/examples/cpp/custompanel/ctp_factory.cxx b/odk/examples/cpp/custompanel/ctp_factory.cxx index f6723f52afcf..0999666406ba 100644 --- a/odk/examples/cpp/custompanel/ctp_factory.cxx +++ b/odk/examples/cpp/custompanel/ctp_factory.cxx @@ -118,8 +118,7 @@ namespace sd { namespace colortoolpanel Sequence< OUString > SAL_CALL ToolPanelFactory::getSupportedServiceNames_static() throw (RuntimeException) { - Sequence< OUString > aServiceNames(1); - aServiceNames[0] = "org.openoffice.example.colorpanel.ToolPanelFactory"; + Sequence< OUString > aServiceNames { "org.openoffice.example.colorpanel.ToolPanelFactory" }; return aServiceNames; } |