Kaydet (Commit) e35f2f06 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

don't pollute global namespace

Change-Id: Iffeeffb015c59ea787838c737c6a11f6fbef2794
üst 6f906d9c
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#include <vector> #include <vector>
using namespace com::sun::star;
namespace apitest { namespace apitest {
class OOO_DLLPUBLIC_TEST XPropertySet class OOO_DLLPUBLIC_TEST XPropertySet
...@@ -30,7 +28,7 @@ class OOO_DLLPUBLIC_TEST XPropertySet ...@@ -30,7 +28,7 @@ class OOO_DLLPUBLIC_TEST XPropertySet
public: public:
virtual ~XPropertySet(); virtual ~XPropertySet();
virtual uno::Reference<uno::XInterface> init() = 0; virtual css::uno::Reference<css::uno::XInterface> init() = 0;
void testGetPropertySetInfo(); void testGetPropertySetInfo();
void testAddPropertyChangeListener(); void testAddPropertyChangeListener();
...@@ -44,9 +42,9 @@ protected: ...@@ -44,9 +42,9 @@ protected:
virtual bool isPropertyValueChangeable(const OUString& rName); virtual bool isPropertyValueChangeable(const OUString& rName);
private: private:
void fillPropsToTest(const uno::Reference<beans::XPropertySetInfo>& xPropInfo); void fillPropsToTest(const css::uno::Reference<css::beans::XPropertySetInfo>& xPropInfo);
static bool getSinglePropertyValue( static bool getSinglePropertyValue(
const uno::Reference<beans::XPropertySet>& xPropSet, const OUString& rName); const css::uno::Reference<css::beans::XPropertySet>& xPropSet, const OUString& rName);
struct OOO_DLLPUBLIC_TEST PropsToTest struct OOO_DLLPUBLIC_TEST PropsToTest
{ {
......
...@@ -33,11 +33,6 @@ ...@@ -33,11 +33,6 @@
#include <toolkit/controls/controlmodelcontainerbase.hxx> #include <toolkit/controls/controlmodelcontainerbase.hxx>
#include <toolkit/helper/listenermultiplexer.hxx> #include <toolkit/helper/listenermultiplexer.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
// ------------------------------------------------------------------ // ------------------------------------------------------------------
// class ::com::sun::star::awt::tab::UnoControlTabPageContainerModel // class ::com::sun::star::awt::tab::UnoControlTabPageContainerModel
// ------------------------------------------------------------------ // ------------------------------------------------------------------
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
#include <set> #include <set>
using namespace com::sun::star::uno; using namespace css;
using namespace css::uno;
namespace apitest { namespace apitest {
......
...@@ -62,7 +62,10 @@ ...@@ -62,7 +62,10 @@
#include <algorithm> #include <algorithm>
#include <functional> #include <functional>
using namespace ::com::sun::star; using namespace css;
using namespace css::awt;
using namespace css::lang;
using namespace css::uno;
using ::com::sun::star::graphic::XGraphic; using ::com::sun::star::graphic::XGraphic;
using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Reference;
using namespace ::toolkit; using namespace ::toolkit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment