summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/ProfUNO/CppBinding/string_samples.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/ProfUNO/CppBinding/string_samples.cxx')
-rw-r--r--odk/examples/DevelopersGuide/ProfUNO/CppBinding/string_samples.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/ProfUNO/CppBinding/string_samples.cxx b/odk/examples/DevelopersGuide/ProfUNO/CppBinding/string_samples.cxx
index 5fd930c0fb94..ef35e3be855d 100644
--- a/odk/examples/DevelopersGuide/ProfUNO/CppBinding/string_samples.cxx
+++ b/odk/examples/DevelopersGuide/ProfUNO/CppBinding/string_samples.cxx
@@ -40,6 +40,8 @@
#include <stdio.h>
+#include <sal/main.h>
+
#include <rtl/ustrbuf.hxx>
#include <rtl/string.hxx>
@@ -47,7 +49,7 @@ using rtl::OUString;
using rtl::OUStringBuffer;
using rtl::OString;
-int main( int argc, char * argv [] )
+SAL_IMPLEMENT_MAIN()
{
// string concatination