diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-03-02 20:36:58 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-03-02 20:36:58 +0100 |
commit | 3b2efb2043dd6871d5025b41936b6069a8dfda13 (patch) | |
tree | 62836bb4af09b81e39e50f31b352634434b15c3c /odk/examples/DevelopersGuide/ProfUNO | |
parent | 13b487277ae9a2f29964885bc3d2d7dd6d222813 (diff) |
Remove "using namespace ::rtl"
Notes
Notes:
split repo tag: sdk_LO-BASE-INTEGRATION-DEV300_M101
Diffstat (limited to 'odk/examples/DevelopersGuide/ProfUNO')
-rw-r--r-- | odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx | 4 | ||||
-rw-r--r-- | odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp/SimpleBootstrap_cpp.cxx | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx b/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx index a02b184047da..49519dc2ac5f 100644 --- a/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx +++ b/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx @@ -45,9 +45,11 @@ using namespace com::sun::star::uno; using namespace com::sun::star::lang; using namespace com::sun::star::bridge; -using namespace rtl; using namespace cppu; +using ::rtl::OUString; +using ::rtl::OUStringToOString; + SAL_IMPLEMENT_MAIN() { // create the initial component context diff --git a/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp/SimpleBootstrap_cpp.cxx b/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp/SimpleBootstrap_cpp.cxx index 32388bb3cded..e76f64a05a24 100644 --- a/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp/SimpleBootstrap_cpp.cxx +++ b/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp/SimpleBootstrap_cpp.cxx @@ -41,11 +41,12 @@ #include <com/sun/star/frame/XComponentLoader.hpp> #include <com/sun/star/lang/XMultiComponentFactory.hpp> -using namespace rtl; using namespace com::sun::star::uno; using namespace com::sun::star::lang; using namespace com::sun::star::frame; +using ::rtl::OUString; +using ::rtl::OUStringToOString; SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { |