summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-01-23 15:40:46 +0100
committerMichael Stahl <mstahl@redhat.com>2015-01-23 15:50:28 +0100
commit9964b4087924777d2bd585a5d6ce5c088ef65b65 (patch)
tree2de4c6af498fdc9fe90433f9c1c1269f8b5e11c2 /editeng
parent4c752c44f8a0857c4f2dbd61aff6b2d10cf3b5e5 (diff)
fix 64-bit build after OUStringBuffer change
Change-Id: I6c5295110292ae48ff0cb3472e4dbea287645d2a
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index 7ded8e74d116..23441a90d5f9 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -2206,7 +2206,7 @@ OUString EditDoc::GetText( LineEnd eEnd ) const
const OUString aSep = EditDoc::GetSepStr( eEnd );
const sal_Int32 nSepSize = aSep.getLength();
- const sal_uLong nLen = GetTextLen() + (nNodes - 1)*nSepSize;
+ const sal_uInt32 nLen = GetTextLen() + (nNodes - 1)*nSepSize;
OUStringBuffer aBuffer(nLen + 16); // leave some slack