summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-18 13:15:10 +0200
committerNoel Grandin <noel@peralex.com>2013-09-19 10:54:42 +0200
commit8d620216102b6597d0152135ac10aeff268971d9 (patch)
tree43c4a60d321c9f5f227a7aac271d01fa7718f3ad /sw
parent9f73517e50e464761c60666d9ca930d63ec34efe (diff)
convert sw/inc/unotbl.hxx from String to OUString
Change-Id: Ib9e0324d104401b85cc1472ad7243822fd129c85
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/unotbl.hxx6
-rw-r--r--sw/source/core/unocore/unotbl.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index 38aa412098b0..342759d059b2 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -296,8 +296,8 @@ private:
// Descriptor-interface
SwTableProperties_Impl* pTableProps;
- String m_sTableName;
- sal_Bool bIsDescriptor;
+ OUString m_sTableName;
+ sal_Bool bIsDescriptor;
unsigned short nRows;
unsigned short nColumns;
@@ -388,7 +388,7 @@ public:
sal_uInt16 getRowCount(void);
sal_uInt16 getColumnCount(void);
::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > GetRangeByName(SwFrmFmt* pFmt, SwTable* pTable,
- const String& sTLName, const String& sBRName,
+ const OUString& sTLName, const OUString& sBRName,
SwRangeDescriptor& rDesc);
//SwClient
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 079f37567a25..cb0a359b6e60 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -2338,7 +2338,7 @@ void SwXTextTable::attachToRange(const uno::Reference< text::XTextRange > & xTex
lcl_FormatTable( pTblFmt );
pTblFmt->Add(this);
- if(m_sTableName.Len())
+ if(!m_sTableName.isEmpty())
{
sal_uInt16 nIndex = 1;
const String sTmpName(m_sTableName);
@@ -2441,7 +2441,7 @@ uno::Reference< table::XCell > SwXTextTable::getCellByPosition(sal_Int32 nColum
}
uno::Reference< table::XCellRange > SwXTextTable::GetRangeByName(SwFrmFmt* pFmt, SwTable* pTable,
- const String& rTLName, const String& rBRName,
+ const OUString& rTLName, const OUString& rBRName,
SwRangeDescriptor& rDesc)
{
SolarMutexGuard aGuard;