summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-09 10:48:58 +0200
committerNoel Grandin <noel@peralex.com>2013-09-11 09:45:33 +0200
commitd178cb406bd08f86ec2cc9ddba35f24901f3f386 (patch)
tree7e344c2cf70da29567c3764b493c6f71cab4068e /sc
parentfbffa4e79a58eb4fe175369945ced653070189f7 (diff)
convert include/editeng/editobj.hxx from String to OUString
Change-Id: I076ae20fb21accf8ff7e7fad096534e97ba7dab4
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/Accessibility/AccessiblePageHeader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePageHeader.cxx b/sc/source/ui/Accessibility/AccessiblePageHeader.cxx
index 0cf9957f1675..824049887371 100644
--- a/sc/source/ui/Accessibility/AccessiblePageHeader.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePageHeader.cxx
@@ -400,7 +400,7 @@ sal_Bool ScAccessiblePageHeader::IsDefunc( const uno::Reference<XAccessibleState
void ScAccessiblePageHeader::AddChild(const EditTextObject* pArea, sal_uInt32 nIndex, SvxAdjust eAdjust)
{
- if (pArea && (pArea->GetText(0).Len() || (pArea->GetParagraphCount() > 1)))
+ if (pArea && (!pArea->GetText(0).isEmpty() || (pArea->GetParagraphCount() > 1)))
{
if (maAreas[nIndex])
{