diff options
author | August Sodora <augsod@gmail.com> | 2011-11-22 00:20:15 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-11-22 00:21:13 -0500 |
commit | 8061b40349c1251362c984b76aaa90b9510fba4f (patch) | |
tree | 9d773dd613ba7f2c4beea017cdb583b73c05e75d /basctl/source/basicide/bastype3.cxx | |
parent | ea0b60c82e35c4289d2a36198c3d053aabade9c3 (diff) |
String->OUString
Diffstat (limited to 'basctl/source/basicide/bastype3.cxx')
-rw-r--r-- | basctl/source/basicide/bastype3.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/basctl/source/basicide/bastype3.cxx b/basctl/source/basicide/bastype3.cxx index 267ff9457863..bbd45bd4cbd3 100644 --- a/basctl/source/basicide/bastype3.cxx +++ b/basctl/source/basicide/bastype3.cxx @@ -430,10 +430,9 @@ bool BasicTreeListBox::IsValidEntry( SvLBoxEntry* pEntry ) { case OBJ_TYPE_DOCUMENT: { - bIsValid = aDocument.isAlive() - && ( aDocument.isApplication() - || GetRootEntryName( aDocument, eLocation ) == GetEntryText( pEntry ) - ); + bIsValid = aDocument.isAlive() + && (aDocument.isApplication() + || GetRootEntryName(aDocument, eLocation).equals(GetEntryText(pEntry))); } break; case OBJ_TYPE_LIBRARY: |