summaryrefslogtreecommitdiff
path: root/tools/source/ref/globname.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/ref/globname.cxx')
-rw-r--r--tools/source/ref/globname.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/ref/globname.cxx b/tools/source/ref/globname.cxx
index 6cbff020669c..eed9b8fd5a04 100644
--- a/tools/source/ref/globname.cxx
+++ b/tools/source/ref/globname.cxx
@@ -227,7 +227,7 @@ bool SvGlobalName::MakeId( const OUString & rIdStr )
OUString SvGlobalName::GetHexName() const
{
- OStringBuffer aHexBuffer;
+ OStringBuffer aHexBuffer(36);
sal_Char buf[ 10 ];
sprintf( buf, "%8.8" SAL_PRIXUINT32, pImp->szData.Data1 );