Kaydet (Commit) d8adfa8e authored tarafından Miklos Vajna's avatar Miklos Vajna

writerfilter: drop global 'using css' from WrapPolygonHandler.hxx

Change-Id: Ibecc12f74e55360ee03baf7d170ab5589d3ed3ab
üst ab06a1b7
...@@ -37,8 +37,6 @@ namespace dmapper ...@@ -37,8 +37,6 @@ namespace dmapper
{ {
class DomainMapper; class DomainMapper;
using namespace std;
struct SettingsTable_Impl; struct SettingsTable_Impl;
class SettingsTable : public LoggedProperties, public LoggedTable class SettingsTable : public LoggedProperties, public LoggedTable
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
namespace writerfilter { namespace writerfilter {
using resourcemodel::resolveSprmProps; using resourcemodel::resolveSprmProps;
using namespace com::sun::star;
namespace dmapper { namespace dmapper {
......
...@@ -28,13 +28,12 @@ ...@@ -28,13 +28,12 @@
namespace writerfilter { namespace writerfilter {
namespace dmapper { namespace dmapper {
using namespace ::com::sun::star;
using resourcemodel::Fraction; using resourcemodel::Fraction;
class WrapPolygon class WrapPolygon
{ {
public: public:
typedef ::std::deque<awt::Point> Points_t; typedef ::std::deque<css::awt::Point> Points_t;
typedef ::boost::shared_ptr<WrapPolygon> Pointer_t; typedef ::boost::shared_ptr<WrapPolygon> Pointer_t;
private: private:
...@@ -44,7 +43,7 @@ public: ...@@ -44,7 +43,7 @@ public:
WrapPolygon(); WrapPolygon();
virtual ~WrapPolygon(); virtual ~WrapPolygon();
void addPoint(const awt::Point & rPoint); void addPoint(const css::awt::Point & rPoint);
Points_t::const_iterator begin() const; Points_t::const_iterator begin() const;
Points_t::const_iterator end() const; Points_t::const_iterator end() const;
...@@ -53,10 +52,10 @@ public: ...@@ -53,10 +52,10 @@ public:
size_t size() const; size_t size() const;
WrapPolygon::Pointer_t move(const awt::Point & rMove); WrapPolygon::Pointer_t move(const css::awt::Point & rMove);
WrapPolygon::Pointer_t scale(const Fraction & rFractionX, const Fraction & rFractionY); WrapPolygon::Pointer_t scale(const Fraction & rFractionX, const Fraction & rFractionY);
WrapPolygon::Pointer_t correctWordWrapPolygon(const awt::Size & rSrcSize); WrapPolygon::Pointer_t correctWordWrapPolygon(const css::awt::Size & rSrcSize);
drawing::PointSequenceSequence getPointSequenceSequence() const; css::drawing::PointSequenceSequence getPointSequenceSequence() const;
}; };
class WrapPolygonHandler : public LoggedProperties class WrapPolygonHandler : public LoggedProperties
......
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