diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-03-08 00:20:05 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-03-12 13:35:56 +0100 |
commit | 8c5e68b0f649b1694531811b2fd5d32ab75a201e (patch) | |
tree | cebb522de55f674b30399957529abe7c80f2aaf1 /sal/inc/rtl | |
parent | 715bdfdd8f994607f07bb577c727189a3a434607 (diff) |
make the OUString unittest ctor contain garbage
this will make it easier to detect errors, rather than making it empty
Diffstat (limited to 'sal/inc/rtl')
-rw-r--r-- | sal/inc/rtl/ustring.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx index bb22619b6c69..b6cd1e28eded 100644 --- a/sal/inc/rtl/ustring.hxx +++ b/sal/inc/rtl/ustring.hxx @@ -212,8 +212,8 @@ public: #else { (void) value; // unused - pData = 0; // for the unittest create an empty string - rtl_uString_new( &pData ); + pData = 0; + rtl_uString_newFromLiteral( &pData, "!!br0ken!!", 10 ); // set to garbage } #endif @@ -226,7 +226,7 @@ public: OUString( T ) { pData = 0; - rtl_uString_new( &pData ); + rtl_uString_newFromLiteral( &pData, "!!br0ken!!", 10 ); // set to garbage } #endif |