summaryrefslogtreecommitdiffstats
path: root/odk/examples/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/cpp')
-rw-r--r--odk/examples/cpp/custompanel/ctp_factory.cxx2
-rw-r--r--odk/examples/cpp/custompanel/ctp_panel.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/cpp/custompanel/ctp_factory.cxx b/odk/examples/cpp/custompanel/ctp_factory.cxx
index e2829029f168..2915c85737ee 100644
--- a/odk/examples/cpp/custompanel/ctp_factory.cxx
+++ b/odk/examples/cpp/custompanel/ctp_factory.cxx
@@ -123,7 +123,7 @@ namespace sd { namespace colortoolpanel
Sequence< OUString > SAL_CALL ToolPanelFactory::getSupportedServiceNames_static() throw (RuntimeException)
{
Sequence< OUString > aServiceNames(1);
- aServiceNames[0] = OUString( "org.openoffice.example.colorpanel.ToolPanelFactory" );
+ aServiceNames[0] = "org.openoffice.example.colorpanel.ToolPanelFactory";
return aServiceNames;
}
diff --git a/odk/examples/cpp/custompanel/ctp_panel.cxx b/odk/examples/cpp/custompanel/ctp_panel.cxx
index 6848f3557359..c84c13c77a09 100644
--- a/odk/examples/cpp/custompanel/ctp_panel.cxx
+++ b/odk/examples/cpp/custompanel/ctp_panel.cxx
@@ -84,7 +84,7 @@ namespace sd { namespace colortoolpanel
WindowDescriptor aWindow;
aWindow.Type = WindowClass_SIMPLE;
- aWindow.WindowServiceName = OUString( "window" );
+ aWindow.WindowServiceName = "window";
aWindow.Parent = i_rParentWindow;
aWindow.WindowAttributes = WindowAttribute::BORDER;