diff options
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/uiconfiguration/CommandImageResolver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uiconfiguration/CommandImageResolver.cxx b/framework/source/uiconfiguration/CommandImageResolver.cxx index c95ddeb56e76..3822f7eb2fa3 100644 --- a/framework/source/uiconfiguration/CommandImageResolver.cxx +++ b/framework/source/uiconfiguration/CommandImageResolver.cxx @@ -34,7 +34,7 @@ OUString lclConvertToCanonicalName(const OUString& rFileName) sal_Int32 nLength = rFileName.getLength(); const sal_Unicode* pString = rFileName.getStr(); - OUStringBuffer aBuffer(nLength); + OUStringBuffer aBuffer(nLength*2); for (sal_Int32 i = 0; i < nLength; i++) { |