summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-26 17:21:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-26 20:37:39 +0100
commit225d50da607a8a4115f45b2c433cb280fac70361 (patch)
treec41a2f2d1423cb0b37efce53c3898986d2b85b8a /sfx2
parente8be58a10bce944525b4186db64629f526cf20ce (diff)
convert GetSelectEntry family to OUString
Change-Id: Id3282e2efd6573bed7fd172021dae9aee9342fae
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/new.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index cb25ce948373..d27c475be4ae 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -372,7 +372,7 @@ IMPL_LINK_NOARG_INLINE_END(SfxNewFileDialog_Impl, LoadFile)
sal_uInt16 SfxNewFileDialog_Impl::GetSelectedTemplatePos() const
{
sal_uInt16 nEntry=aTemplateLb.GetSelectEntryPos();
- String aSel=aRegionLb.GetSelectEntry().Copy();
+ String aSel=aRegionLb.GetSelectEntry();
sal_uInt16 nc=aSel.Search('(');
if (nc-1&&nc!=STRING_NOTFOUND)
aSel.Erase(nc-1);