summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-30 16:13:52 +0200
committerNoel Grandin <noel@peralex.com>2013-09-05 08:54:17 +0200
commitad5a56abf2d28cd5dc019a5081da41fef6253ed6 (patch)
treea57a72965190875d1472a3386d9eae16566f96ac
parentbfd3c3069f1d89a125bce4e0fcebf3636fb5f8af (diff)
convert include/svx/svdovirt.hxx from String to OUString
Change-Id: I3af71e2eae19068c4eafd58d8be3a62506ea28f6
-rw-r--r--include/svx/svdobj.hxx2
-rw-r--r--include/svx/svdocapt.hxx2
-rw-r--r--include/svx/svdocirc.hxx2
-rw-r--r--include/svx/svdoedge.hxx2
-rw-r--r--include/svx/svdomeas.hxx2
-rw-r--r--include/svx/svdopath.hxx2
-rw-r--r--include/svx/svdorect.hxx2
-rw-r--r--include/svx/svdotable.hxx2
-rw-r--r--include/svx/svdotext.hxx2
-rw-r--r--include/svx/svdovirt.hxx2
-rw-r--r--svx/source/svdraw/svdobj.cxx4
-rw-r--r--svx/source/svdraw/svdocapt.cxx2
-rw-r--r--svx/source/svdraw/svdocirc.cxx2
-rw-r--r--svx/source/svdraw/svdoedge.cxx4
-rw-r--r--svx/source/svdraw/svdomeas.cxx5
-rw-r--r--svx/source/svdraw/svdopath.cxx4
-rw-r--r--svx/source/svdraw/svdorect.cxx4
-rw-r--r--svx/source/svdraw/svdotxdr.cxx2
-rw-r--r--svx/source/svdraw/svdovirt.cxx2
-rw-r--r--svx/source/table/svdotable.cxx2
20 files changed, 25 insertions, 26 deletions
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index b705e12b03dd..4ec301b89710 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -636,7 +636,7 @@ public:
virtual bool hasSpecialDrag() const;
virtual bool beginSpecialDrag(SdrDragStat& rDrag) const;
virtual bool applySpecialDrag(SdrDragStat& rDrag);
- virtual String getSpecialDragComment(const SdrDragStat& rDrag) const;
+ virtual OUString getSpecialDragComment(const SdrDragStat& rDrag) const;
virtual basegfx::B2DPolyPolygon getSpecialDragPoly(const SdrDragStat& rDrag) const;
// FullDrag support. This is for standard interactions and for SdrObjOwn
diff --git a/include/svx/svdocapt.hxx b/include/svx/svdocapt.hxx
index 315045eb66af..3e1688f2996a 100644
--- a/include/svx/svdocapt.hxx
+++ b/include/svx/svdocapt.hxx
@@ -105,7 +105,7 @@ public:
virtual bool hasSpecialDrag() const;
virtual bool beginSpecialDrag(SdrDragStat& rDrag) const;
virtual bool applySpecialDrag(SdrDragStat& rDrag);
- virtual String getSpecialDragComment(const SdrDragStat& rDrag) const;
+ virtual OUString getSpecialDragComment(const SdrDragStat& rDrag) const;
virtual bool BegCreate(SdrDragStat& rStat);
virtual bool MovCreate(SdrDragStat& rStat);
diff --git a/include/svx/svdocirc.hxx b/include/svx/svdocirc.hxx
index 6ea0a35fbe06..00db6e1f83a7 100644
--- a/include/svx/svdocirc.hxx
+++ b/include/svx/svdocirc.hxx
@@ -116,7 +116,7 @@ public:
virtual bool hasSpecialDrag() const;
virtual bool beginSpecialDrag(SdrDragStat& rDrag) const;
virtual bool applySpecialDrag(SdrDragStat& rDrag);
- virtual String getSpecialDragComment(const SdrDragStat& rDrag) const;
+ virtual OUString getSpecialDragComment(const SdrDragStat& rDrag) const;
virtual bool BegCreate(SdrDragStat& rStat);
virtual bool MovCreate(SdrDragStat& rStat);
diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx
index 580cf1eb1055..b545615e3f0d 100644
--- a/include/svx/svdoedge.hxx
+++ b/include/svx/svdoedge.hxx
@@ -257,7 +257,7 @@ public:
virtual bool hasSpecialDrag() const;
virtual bool beginSpecialDrag(SdrDragStat& rDrag) const;
virtual bool applySpecialDrag(SdrDragStat& rDrag);
- virtual String getSpecialDragComment(const SdrDragStat& rDrag) const;
+ virtual OUString getSpecialDragComment(const SdrDragStat& rDrag) const;
// FullDrag support
virtual SdrObject* getFullDragClone() const;
diff --git a/include/svx/svdomeas.hxx b/include/svx/svdomeas.hxx
index a6fcdaa839f3..e70d039b133d 100644
--- a/include/svx/svdomeas.hxx
+++ b/include/svx/svdomeas.hxx
@@ -106,7 +106,7 @@ public:
virtual bool hasSpecialDrag() const;
virtual bool beginSpecialDrag(SdrDragStat& rDrag) const;
virtual bool applySpecialDrag(SdrDragStat& rDrag);
- virtual String getSpecialDragComment(const SdrDragStat& rDrag) const;
+ virtual OUString getSpecialDragComment(const SdrDragStat& rDrag) const;
virtual bool BegCreate(SdrDragStat& rStat);
virtual bool MovCreate(SdrDragStat& rStat);
diff --git a/include/svx/svdopath.hxx b/include/svx/svdopath.hxx
index 775cfebd489f..156da2c6a732 100644
--- a/include/svx/svdopath.hxx
+++ b/include/svx/svdopath.hxx
@@ -109,7 +109,7 @@ public:
virtual bool hasSpecialDrag() const;
virtual bool beginSpecialDrag(SdrDragStat& rDrag) const;
virtual bool applySpecialDrag(SdrDragStat& rDrag);
- virtual String getSpecialDragComment(const SdrDragStat& rDrag) const;
+ virtual OUString getSpecialDragComment(const SdrDragStat& rDrag) const;
virtual basegfx::B2DPolyPolygon getSpecialDragPoly(const SdrDragStat& rDrag) const;
virtual bool BegCreate(SdrDragStat& rStat);
diff --git a/include/svx/svdorect.hxx b/include/svx/svdorect.hxx
index bc3f6b74c85d..f3119e02817b 100644
--- a/include/svx/svdorect.hxx
+++ b/include/svx/svdorect.hxx
@@ -99,7 +99,7 @@ public:
virtual bool hasSpecialDrag() const;
virtual bool beginSpecialDrag(SdrDragStat& rDrag) const;
virtual bool applySpecialDrag(SdrDragStat& rDrag);
- virtual String getSpecialDragComment(const SdrDragStat& rDrag) const;
+ virtual OUString getSpecialDragComment(const SdrDragStat& rDrag) const;
virtual basegfx::B2DPolyPolygon TakeCreatePoly(const SdrDragStat& rDrag) const;
virtual Pointer GetCreatePointer() const;
diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx
index bff557663649..4b042cc0ca09 100644
--- a/include/svx/svdotable.hxx
+++ b/include/svx/svdotable.hxx
@@ -230,7 +230,7 @@ public:
virtual bool hasSpecialDrag() const;
virtual bool beginSpecialDrag(SdrDragStat& rDrag) const;
virtual bool applySpecialDrag(SdrDragStat& rDrag);
- virtual String getSpecialDragComment(const SdrDragStat& rDrag) const;
+ virtual OUString getSpecialDragComment(const SdrDragStat& rDrag) const;
virtual basegfx::B2DPolyPolygon getSpecialDragPoly(const SdrDragStat& rDrag) const;
virtual bool BegCreate(SdrDragStat& rStat);
diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx
index 1e876b67c10a..b656777b2167 100644
--- a/include/svx/svdotext.hxx
+++ b/include/svx/svdotext.hxx
@@ -443,7 +443,7 @@ public:
// special drag methods
virtual bool hasSpecialDrag() const;
virtual bool applySpecialDrag(SdrDragStat& rDrag);
- virtual String getSpecialDragComment(const SdrDragStat& rDrag) const;
+ virtual OUString getSpecialDragComment(const SdrDragStat& rDrag) const;
virtual bool BegCreate(SdrDragStat& rStat);
virtual bool MovCreate(SdrDragStat& rStat);
diff --git a/include/svx/svdovirt.hxx b/include/svx/svdovirt.hxx
index 94b5bae802f8..1102ae6cb88b 100644
--- a/include/svx/svdovirt.hxx
+++ b/include/svx/svdovirt.hxx
@@ -86,7 +86,7 @@ public:
virtual bool hasSpecialDrag() const;
virtual bool beginSpecialDrag(SdrDragStat& rDrag) const;
virtual bool applySpecialDrag(SdrDragStat& rDrag);
- virtual String getSpecialDragComment(const SdrDragStat& rDrag) const;
+ virtual OUString getSpecialDragComment(const SdrDragStat& rDrag) const;
virtual basegfx::B2DPolyPolygon getSpecialDragPoly(const SdrDragStat& rDrag) const;
// FullDrag support
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 9f9b45342e1a..0414d038aaa0 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -1407,9 +1407,9 @@ bool SdrObject::applySpecialDrag(SdrDragStat& rDrag)
return true;
}
-String SdrObject::getSpecialDragComment(const SdrDragStat& /*rDrag*/) const
+OUString SdrObject::getSpecialDragComment(const SdrDragStat& /*rDrag*/) const
{
- return String();
+ return OUString();
}
basegfx::B2DPolyPolygon SdrObject::getSpecialDragPoly(const SdrDragStat& /*rDrag*/) const
diff --git a/svx/source/svdraw/svdocapt.cxx b/svx/source/svdraw/svdocapt.cxx
index 9bd598c677ff..b5de9891dd07 100644
--- a/svx/source/svdraw/svdocapt.cxx
+++ b/svx/source/svdraw/svdocapt.cxx
@@ -381,7 +381,7 @@ bool SdrCaptionObj::applySpecialDrag(SdrDragStat& rDrag)
}
}
-String SdrCaptionObj::getSpecialDragComment(const SdrDragStat& rDrag) const
+OUString SdrCaptionObj::getSpecialDragComment(const SdrDragStat& rDrag) const
{
const bool bCreateComment(rDrag.GetView() && this == rDrag.GetView()->GetCreateObj());
diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx
index 9ed310c5d5ce..e7b1dd8981e8 100644
--- a/svx/source/svdraw/svdocirc.cxx
+++ b/svx/source/svdraw/svdocirc.cxx
@@ -558,7 +558,7 @@ bool SdrCircObj::applySpecialDrag(SdrDragStat& rDrag)
}
}
-String SdrCircObj::getSpecialDragComment(const SdrDragStat& rDrag) const
+OUString SdrCircObj::getSpecialDragComment(const SdrDragStat& rDrag) const
{
const bool bCreateComment(rDrag.GetView() && this == rDrag.GetView()->GetCreateObj());
diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx
index afb70f390a3b..ebeea351cf5b 100644
--- a/svx/source/svdraw/svdoedge.cxx
+++ b/svx/source/svdraw/svdoedge.cxx
@@ -1944,13 +1944,13 @@ bool SdrEdgeObj::applySpecialDrag(SdrDragStat& rDragStat)
return true;
}
-String SdrEdgeObj::getSpecialDragComment(const SdrDragStat& rDrag) const
+OUString SdrEdgeObj::getSpecialDragComment(const SdrDragStat& rDrag) const
{
const bool bCreateComment(rDrag.GetView() && this == rDrag.GetView()->GetCreateObj());
if(bCreateComment)
{
- return String();
+ return OUString();
}
else
{
diff --git a/svx/source/svdraw/svdomeas.cxx b/svx/source/svdraw/svdomeas.cxx
index 90fa446be398..a1bce28da556 100644
--- a/svx/source/svdraw/svdomeas.cxx
+++ b/svx/source/svdraw/svdomeas.cxx
@@ -899,10 +899,9 @@ bool SdrMeasureObj::applySpecialDrag(SdrDragStat& rDrag)
return true;
}
-String SdrMeasureObj::getSpecialDragComment(const SdrDragStat& /*rDrag*/) const
+OUString SdrMeasureObj::getSpecialDragComment(const SdrDragStat& /*rDrag*/) const
{
- XubString aStr;
- return aStr;
+ return OUString();
}
void SdrMeasureObj::ImpEvalDrag(ImpMeasureRec& rRec, const SdrDragStat& rDrag) const
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx
index 21b395211699..6b1931fc9a3a 100644
--- a/svx/source/svdraw/svdopath.cxx
+++ b/svx/source/svdraw/svdopath.cxx
@@ -2171,9 +2171,9 @@ bool SdrPathObj::applySpecialDrag(SdrDragStat& rDrag)
return bRetval;
}
-String SdrPathObj::getSpecialDragComment(const SdrDragStat& rDrag) const
+OUString SdrPathObj::getSpecialDragComment(const SdrDragStat& rDrag) const
{
- String aRetval;
+ OUString aRetval;
if(mpDAC)
{
diff --git a/svx/source/svdraw/svdorect.cxx b/svx/source/svdraw/svdorect.cxx
index 6fd3e0354391..1fb7b322fbe7 100644
--- a/svx/source/svdraw/svdorect.cxx
+++ b/svx/source/svdraw/svdorect.cxx
@@ -427,13 +427,13 @@ bool SdrRectObj::applySpecialDrag(SdrDragStat& rDrag)
}
}
-String SdrRectObj::getSpecialDragComment(const SdrDragStat& rDrag) const
+OUString SdrRectObj::getSpecialDragComment(const SdrDragStat& rDrag) const
{
const bool bCreateComment(rDrag.GetView() && this == rDrag.GetView()->GetCreateObj());
if(bCreateComment)
{
- return String();
+ return OUString();
}
else
{
diff --git a/svx/source/svdraw/svdotxdr.cxx b/svx/source/svdraw/svdotxdr.cxx
index 27d033d34750..22a220825360 100644
--- a/svx/source/svdraw/svdotxdr.cxx
+++ b/svx/source/svdraw/svdotxdr.cxx
@@ -171,7 +171,7 @@ bool SdrTextObj::applySpecialDrag(SdrDragStat& rDrag)
return true;
}
-String SdrTextObj::getSpecialDragComment(const SdrDragStat& /*rDrag*/) const
+OUString SdrTextObj::getSpecialDragComment(const SdrDragStat& /*rDrag*/) const
{
OUString aStr;
ImpTakeDescriptionStr(STR_DragRectResize,aStr);
diff --git a/svx/source/svdraw/svdovirt.cxx b/svx/source/svdraw/svdovirt.cxx
index 2a545777be9e..947755eb1921 100644
--- a/svx/source/svdraw/svdovirt.cxx
+++ b/svx/source/svdraw/svdovirt.cxx
@@ -323,7 +323,7 @@ basegfx::B2DPolyPolygon SdrVirtObj::getSpecialDragPoly(const SdrDragStat& rDrag)
// TODO: we don't handle offsets yet!
}
-String SdrVirtObj::getSpecialDragComment(const SdrDragStat& rDrag) const
+OUString SdrVirtObj::getSpecialDragComment(const SdrDragStat& rDrag) const
{
return rRefObj.getSpecialDragComment(rDrag);
}
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index a944f4e8dac5..994076e4f322 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -2348,7 +2348,7 @@ bool SdrTableObj::applySpecialDrag(SdrDragStat& rDrag)
return bRet;
}
-String SdrTableObj::getSpecialDragComment(const SdrDragStat& rDrag) const
+OUString SdrTableObj::getSpecialDragComment(const SdrDragStat& rDrag) const
{
return SdrTextObj::getSpecialDragComment( rDrag );
}