[Libreoffice-commits] .: sc/qa

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Sun Feb 5 06:40:25 PST 2012


 sc/qa/unit/filters-test.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 22dc17dc0a86c892476d04f0c4e6b17e1b65346f
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Fri Feb 3 17:12:27 2012 +0100

    variable is unused ATM
    
    this variable is onyl used if you have a set of know files that should
    all correctly import in filters-test

diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 2a0b3e2..3697c39 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -210,8 +210,8 @@ void ScFiltersTest::testDir(osl::Directory& rDir, sal_uInt32 nType)
         aItem.getFileStatus(aFileStatus);
         rtl::OUString sURL = aFileStatus.getFileURL();
         std::cout << "File: " << rtl::OUStringToOString(sURL, RTL_TEXTENCODING_UTF8).getStr() << std::endl;
-        rtl::OStringBuffer aMessage("Failed loading: ");
-        aMessage.append(rtl::OUStringToOString(sURL, RTL_TEXTENCODING_UTF8));
+        //rtl::OStringBuffer aMessage("Failed loading: ");
+        //aMessage.append(rtl::OUStringToOString(sURL, RTL_TEXTENCODING_UTF8));
         ScDocShellRef xDocSh = load( aFilterName,sURL, rtl::OUString(),aFilterType, aFileFormats[nType].nFormatType);
         // use this only if you're sure that all files can be loaded
         // pay attention to lock files


More information about the Libreoffice-commits mailing list