summaryrefslogtreecommitdiff
path: root/xmloff/source/draw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-01 14:57:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-01 20:38:36 +0000
commit376257707de9e6375a913aabde88355bdb42f2ec (patch)
treef85889ff4a185ac3545362336d5d84225f87311d /xmloff/source/draw
parent9d68c1c248c8cab7e8fa257a10a47af684a69b35 (diff)
avoid implicit cast
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r--xmloff/source/draw/ximpstyl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index b848f721a862..e9bd91d34529 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -1276,7 +1276,7 @@ void SdXMLStylesContext::EndElement()
//
void SdXMLStylesContext::SetMasterPageStyles(SdXMLMasterPageContext& rMaster) const
{
- UniString sPrefix(rMaster.GetDisplayName(), (sal_uInt16)rMaster.GetDisplayName().getLength());
+ UniString sPrefix(rMaster.GetDisplayName());
sPrefix += sal_Unicode('-');
if(GetSdImport().GetLocalDocStyleFamilies().is() && GetSdImport().GetLocalDocStyleFamilies()->hasByName(rMaster.GetDisplayName())) try