summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-25 10:07:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-25 14:19:02 +0100
commit9928fd7fc600efa620ad7c3b78c0b0051a4fa930 (patch)
treeeacdfa435601f0762d2309d2078280eba8fc347c /svx
parent022b62296c4166486d38f55acf522c62c82894eb (diff)
remove some annoying XubStrings
Change-Id: I8c34a344285b6929091788c6b7a5529b48943f94
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/unoshtxt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
index 6779a018ce6a..f12a7630289c 100644
--- a/svx/source/unodraw/unoshtxt.cxx
+++ b/svx/source/unodraw/unoshtxt.cxx
@@ -657,9 +657,9 @@ SvxTextForwarder* SvxTextEditSourceImpl::GetBackgroundTextForwarder()
if (mpOutliner->GetParagraphCount()==1)
{
// if we only have one paragraph we check if it is empty
- XubString aStr( mpOutliner->GetText( mpOutliner->GetParagraph( 0 ) ) );
+ rtl::OUString aStr(mpOutliner->GetText(mpOutliner->GetParagraph(0)));
- if(!aStr.Len())
+ if (aStr.isEmpty())
{
// its empty, so we have to force the outliner to initialise itself
mpOutliner->SetText( String(), mpOutliner->GetParagraph( 0 ) );