summaryrefslogtreecommitdiff
path: root/vcl/source/window/syswin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/syswin.cxx')
-rw-r--r--vcl/source/window/syswin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index c6ecb2109a74..62ceb456c8a6 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -548,7 +548,7 @@ OString ImplWindowStateToStr(const WindowStateData& rData)
if ( nValidMask == WindowStateMask::NONE )
return OString();
- OStringBuffer rStrBuf;
+ OStringBuffer rStrBuf(64);
if ( nValidMask & WindowStateMask::X )
rStrBuf.append(static_cast<sal_Int32>(rData.GetX()));