summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-12 13:39:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-12 13:39:45 +0100
commit8bee7215898d8784eb20bc43af1df3ed815288a6 (patch)
tree5d531575f0a88abaf4a89f89ede48e0d3ab9fdce /sw
parent7d042c50f5b8e1d61f0615ae8aff5714840be01b (diff)
misuse of null-terminating requiring string ctor
Change-Id: Ib77d62d6bb9070877943cd686791c9e634718c79
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8par3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx
index 357119b76a1b..6ffa47d2b549 100644
--- a/sw/source/filter/ww8/ww8par3.cxx
+++ b/sw/source/filter/ww8/ww8par3.cxx
@@ -2429,7 +2429,7 @@ sal_Bool WW8FormulaListBox::Import(const uno::Reference <
{
0x2002,0x2002,0x2002,0x2002,0x2002
};
- rSz = rRdr.MiserableDropDownFormHack(String(aBlank), xPropSet);
+ rSz = rRdr.MiserableDropDownFormHack(rtl::OUString(aBlank, SAL_N_ELEMENTS(aBlank)), xPropSet);
}
return sal_True;