diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 20:42:46 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-27 03:51:41 -0600 |
commit | d39d80a52642489207fc4f7d384a3474e6d20136 (patch) | |
tree | 66a4ff6273062b56399c8583dc2117763a0ed3a9 /store/workben | |
parent | a463234e8893b349f99bef899e71709f3ab82cd6 (diff) |
Remove visual noise from store
Change-Id: I6753eb480618af747ecf4a3ae3c666257761ce70
Reviewed-on: https://gerrit.libreoffice.org/8317
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'store/workben')
-rw-r--r-- | store/workben/t_base.cxx | 10 | ||||
-rw-r--r-- | store/workben/t_file.cxx | 1 | ||||
-rw-r--r-- | store/workben/t_page.cxx | 2 | ||||
-rw-r--r-- | store/workben/t_store.cxx | 2 |
4 files changed, 1 insertions, 14 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; diff --git a/store/workben/t_file.cxx b/store/workben/t_file.cxx index 62b7540c363b..78127c11483b 100644 --- a/store/workben/t_file.cxx +++ b/store/workben/t_file.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include "sal/types.h" #include "osl/thread.h" #include "rtl/ustring.hxx" diff --git a/store/workben/t_page.cxx b/store/workben/t_page.cxx index 5fa7ca62bc29..54a32e15f2b1 100644 --- a/store/workben/t_page.cxx +++ b/store/workben/t_page.cxx @@ -1163,7 +1163,6 @@ storeError MemoryPageAccess::peekAt_Impl (sal_uInt32 nOffset, void * pBuffer, sa if (!(dst_lo <= dst_hi)) return store_E_InvalidParameter; - // ... sal_uInt8 const * src_lo = m_pData + nOffset; if (!(src_lo <= m_pData + m_nSize)) return store_E_CantSeek; @@ -1191,7 +1190,6 @@ storeError MemoryPageAccess::pokeAt_Impl (sal_uInt32 nOffset, void const * pBuff if (uSize > SAL_MAX_UINT32) return store_E_CantSeek; - // ... if (uSize > m_nSize) { // increase size. diff --git a/store/workben/t_store.cxx b/store/workben/t_store.cxx index 9009100814e4..7a44fb9a3704 100644 --- a/store/workben/t_store.cxx +++ b/store/workben/t_store.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #define _T_STORE_CXX #include <sal/types.h> #include <osl/diagnose.h> @@ -37,7 +36,6 @@ extern "C" } #endif /* PROFILE */ - /*======================================================================== * * Internals. |