Kaydet (Commit) 10407bda authored tarafından Noel Grandin's avatar Noel Grandin

convert include/svx/xln*.hxx from String to OUString

Change-Id: I556383c918556d634fa3bae6144f973c23ceff03
üst ab5070a5
...@@ -32,7 +32,7 @@ public: ...@@ -32,7 +32,7 @@ public:
TYPEINFO(); TYPEINFO();
XLineColorItem() {} XLineColorItem() {}
XLineColorItem(sal_Int32 nIndex, const Color& rTheColor); XLineColorItem(sal_Int32 nIndex, const Color& rTheColor);
XLineColorItem(const String& rName, const Color& rTheColor); XLineColorItem(const OUString& rName, const Color& rTheColor);
XLineColorItem(SvStream& rIn); XLineColorItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const; virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
......
...@@ -37,7 +37,7 @@ class SVX_DLLPUBLIC XLineDashItem : public NameOrIndex ...@@ -37,7 +37,7 @@ class SVX_DLLPUBLIC XLineDashItem : public NameOrIndex
public: public:
TYPEINFO(); TYPEINFO();
XLineDashItem() : NameOrIndex(XATTR_LINEDASH, -1) {} XLineDashItem() : NameOrIndex(XATTR_LINEDASH, -1) {}
XLineDashItem(const String& rName, const XDash& rTheDash); XLineDashItem(const OUString& rName, const XDash& rTheDash);
XLineDashItem(SfxItemPool* pPool, const XDash& rTheDash); XLineDashItem(SfxItemPool* pPool, const XDash& rTheDash);
XLineDashItem(const XLineDashItem& rItem); XLineDashItem(const XLineDashItem& rItem);
XLineDashItem(SvStream& rIn); XLineDashItem(SvStream& rIn);
......
...@@ -36,7 +36,7 @@ class SVX_DLLPUBLIC XLineEndItem : public NameOrIndex ...@@ -36,7 +36,7 @@ class SVX_DLLPUBLIC XLineEndItem : public NameOrIndex
public: public:
TYPEINFO(); TYPEINFO();
XLineEndItem(sal_Int32 nIndex = -1); XLineEndItem(sal_Int32 nIndex = -1);
XLineEndItem(const String& rName, const basegfx::B2DPolyPolygon& rPolyPolygon); XLineEndItem(const OUString& rName, const basegfx::B2DPolyPolygon& rPolyPolygon);
XLineEndItem(SfxItemPool* pPool, const basegfx::B2DPolyPolygon& rPolyPolygon); XLineEndItem(SfxItemPool* pPool, const basegfx::B2DPolyPolygon& rPolyPolygon);
XLineEndItem(const XLineEndItem& rItem); XLineEndItem(const XLineEndItem& rItem);
XLineEndItem(SvStream& rIn); XLineEndItem(SvStream& rIn);
......
...@@ -36,7 +36,7 @@ class SVX_DLLPUBLIC XLineStartItem : public NameOrIndex ...@@ -36,7 +36,7 @@ class SVX_DLLPUBLIC XLineStartItem : public NameOrIndex
public: public:
TYPEINFO(); TYPEINFO();
XLineStartItem(sal_Int32 nIndex = -1); XLineStartItem(sal_Int32 nIndex = -1);
XLineStartItem(const String& rName, const basegfx::B2DPolyPolygon& rPolyPolygon); XLineStartItem(const OUString& rName, const basegfx::B2DPolyPolygon& rPolyPolygon);
XLineStartItem(SfxItemPool* pPool, const basegfx::B2DPolyPolygon& rPolyPolygon); XLineStartItem(SfxItemPool* pPool, const basegfx::B2DPolyPolygon& rPolyPolygon);
XLineStartItem(const XLineStartItem& rItem); XLineStartItem(const XLineStartItem& rItem);
XLineStartItem(SvStream& rIn); XLineStartItem(SvStream& rIn);
......
...@@ -658,7 +658,7 @@ double XDash::CreateDotDashArray(::std::vector< double >& rDotDashArray, double ...@@ -658,7 +658,7 @@ double XDash::CreateDotDashArray(::std::vector< double >& rDotDashArray, double
TYPEINIT1_AUTOFACTORY(XLineDashItem, NameOrIndex); TYPEINIT1_AUTOFACTORY(XLineDashItem, NameOrIndex);
XLineDashItem::XLineDashItem(const XubString& rName, const XDash& rTheDash) : XLineDashItem::XLineDashItem(const OUString& rName, const XDash& rTheDash) :
NameOrIndex(XATTR_LINEDASH, rName), NameOrIndex(XATTR_LINEDASH, rName),
aDash(rTheDash) aDash(rTheDash)
{ {
...@@ -1114,7 +1114,7 @@ XLineColorItem::XLineColorItem(sal_Int32 nIndex, const Color& rTheColor) : ...@@ -1114,7 +1114,7 @@ XLineColorItem::XLineColorItem(sal_Int32 nIndex, const Color& rTheColor) :
{ {
} }
XLineColorItem::XLineColorItem(const XubString& rName, const Color& rTheColor) : XLineColorItem::XLineColorItem(const OUString& rName, const Color& rTheColor) :
XColorItem(XATTR_LINECOLOR, rName, rTheColor) XColorItem(XATTR_LINECOLOR, rName, rTheColor)
{ {
} }
...@@ -1277,7 +1277,7 @@ XLineStartItem::XLineStartItem(sal_Int32 nIndex) ...@@ -1277,7 +1277,7 @@ XLineStartItem::XLineStartItem(sal_Int32 nIndex)
{ {
} }
XLineStartItem::XLineStartItem(const XubString& rName, const basegfx::B2DPolyPolygon& rPolyPolygon) XLineStartItem::XLineStartItem(const OUString& rName, const basegfx::B2DPolyPolygon& rPolyPolygon)
: NameOrIndex(XATTR_LINESTART, rName), : NameOrIndex(XATTR_LINESTART, rName),
maPolyPolygon(rPolyPolygon) maPolyPolygon(rPolyPolygon)
{ {
...@@ -1635,7 +1635,7 @@ XLineEndItem::XLineEndItem(sal_Int32 nIndex) ...@@ -1635,7 +1635,7 @@ XLineEndItem::XLineEndItem(sal_Int32 nIndex)
{ {
} }
XLineEndItem::XLineEndItem(const XubString& rName, const basegfx::B2DPolyPolygon& rPolyPolygon) XLineEndItem::XLineEndItem(const OUString& rName, const basegfx::B2DPolyPolygon& rPolyPolygon)
: NameOrIndex(XATTR_LINEEND, rName), : NameOrIndex(XATTR_LINEEND, rName),
maPolyPolygon(rPolyPolygon) maPolyPolygon(rPolyPolygon)
{ {
......
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