diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-08-17 13:47:15 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-19 14:24:58 +0000 |
commit | b862b8d5757cd031f361e5960dff8b149d16b615 (patch) | |
tree | b0b0e3e32fc07913bc07b853e0c0bdcb9673a163 /sw/inc/ndole.hxx | |
parent | edba90dc39fc3141a8a9e441aa97b46baa4c6ca2 (diff) |
String to OUString
Change-Id: Ib028b0846fca69ae678ff02d551eb369a59bc129
Reviewed-on: https://gerrit.libreoffice.org/5475
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc/ndole.hxx')
-rw-r--r-- | sw/inc/ndole.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/ndole.hxx b/sw/inc/ndole.hxx index 8c65ae435800..650b1b8d2cb9 100644 --- a/sw/inc/ndole.hxx +++ b/sw/inc/ndole.hxx @@ -73,12 +73,12 @@ class SW_DLLPUBLIC SwOLENode: public SwNoTxtNode friend class SwNodes; mutable SwOLEObj aOLEObj; Graphic* pGraphic; - String sChartTblName; ///< with chart objects: name of referenced table. + OUString sChartTblName; ///< with chart objects: name of referenced table. sal_Bool bOLESizeInvalid; /**< Should be considered at SwDoc::PrtOLENotify (e.g. copied). Is not persistent. */ SwEmbedObjectLink* mpObjectLink; - String maLinkURL; + OUString maLinkURL; SwOLENode( const SwNodeIndex &rWhere, const svt::EmbeddedObjectRef&, @@ -86,7 +86,7 @@ class SW_DLLPUBLIC SwOLENode: public SwNoTxtNode SwAttrSet* pAutoAttr = 0 ); SwOLENode( const SwNodeIndex &rWhere, - const String &rName, + const OUString &rName, sal_Int64 nAspect, SwGrfFmtColl *pGrfColl, SwAttrSet* pAutoAttr = 0 ); @@ -126,7 +126,7 @@ public: /** Remove OLE-object from "memory". inline void Unload() { aOLEObj.Unload(); } */ - String GetDescription() const { return aOLEObj.GetDescription(); } + OUString GetDescription() const { return aOLEObj.GetDescription(); } sal_Bool UpdateLinkURL_Impl(); void BreakFileLink_Impl(); @@ -137,8 +137,8 @@ public: // #i99665# bool IsChart() const; - const String& GetChartTblName() const { return sChartTblName; } - void SetChartTblName( const String& rNm ) { sChartTblName = rNm; } + OUString GetChartTblName() const { return sChartTblName; } + void SetChartTblName( const OUString& rNm ) { sChartTblName = rNm; } }; |