summaryrefslogtreecommitdiff
path: root/store/workben/t_base.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'store/workben/t_base.cxx')
-rw-r--r--store/workben/t_base.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/store/workben/t_base.cxx b/store/workben/t_base.cxx
index 99320b7052a6..badefe84fa0c 100644
--- a/store/workben/t_base.cxx
+++ b/store/workben/t_base.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <string.h>
#include "sal/types.h"
#include "osl/diagnose.h"
@@ -237,7 +236,7 @@ struct MyFindData
static void __store_testUnicode (const sal_Char *pszFilename)
{
- // ...
+
rtl_TextToUnicodeConverter hConvert;
hConvert = rtl_createTextToUnicodeConverter (RTL_TEXTENCODING_UTF8);
@@ -255,13 +254,11 @@ static void __store_testUnicode (const sal_Char *pszFilename)
rtl_destroyTextToUnicodeConverter (hConvert);
- // ...
rtl_String *pszFileA = NULL;
rtl_uString *pszFileW = NULL;
// rtl_uString_newFromAscii (&pszFileW, pszFilename);
- // ...
rtl_string_newFromStr (&pszFileA, pszFilename);
rtl_string2UString (
@@ -272,11 +269,9 @@ static void __store_testUnicode (const sal_Char *pszFilename)
rtl_string_release (pszFileA);
- // ...
OStorePageKey aKey;
__store_namei (pszFileW->buffer, pszFileW->buffer, aKey);
- // ...
rtl_uString2String (
&pszFileA,
pszFileW->buffer, pszFileW->length,
@@ -285,7 +280,6 @@ static void __store_testUnicode (const sal_Char *pszFilename)
rtl_uString_release (pszFileW);
- // ...
rtl_string_release (pszFileA);
}
@@ -313,14 +307,12 @@ int SAL_CALL main (int argc, char **argv)
if (eErrCode != store_E_None)
return eErrCode;
-
rtl::Reference<OTestObject> xObject (new OTestObject());
__store_test_handle (&*xObject);
rtl::Reference<OTestBIOS> xBIOS (new OTestBIOS());
__store_test_handle (&*xBIOS);
-
if (!xBIOS.is())
return 0;