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, 2 insertions, 1 deletions
diff --git a/odk/examples/cpp/custompanel/ctp_factory.cxx b/odk/examples/cpp/custompanel/ctp_factory.cxx index 2b2387d53106..e2e29ee0d53b 100644 --- a/odk/examples/cpp/custompanel/ctp_factory.cxx +++ b/odk/examples/cpp/custompanel/ctp_factory.cxx @@ -108,7 +108,8 @@ namespace sd { namespace colortoolpanel Sequence< OUString > SAL_CALL ToolPanelFactory::getSupportedServiceNames_static() throw (RuntimeException) { - Sequence< OUString > aServiceNames { "org.openoffice.example.colorpanel.ToolPanelFactory" }; + Sequence< OUString > aServiceNames(1); + aServiceNames[0] = "org.openoffice.example.colorpanel.ToolPanelFactory"; return aServiceNames; } |