[Libreoffice-commits] .: sc/qa

Joseph Powers jpowers at kemper.freedesktop.org
Tue Apr 19 21:09:22 PDT 2011


 sc/qa/unit/ucalc.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit e0ebd97511366d70af1c056693d25070ab46ce58
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Tue Apr 19 21:09:12 2011 -0700

    Fix compile issue.

diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index b077047..0d0ac8c 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -489,7 +489,7 @@ void Test::recursiveScan(const rtl::OUString &rFilter, const rtl::OUString &rURL
 
     CPPUNIT_ASSERT(osl::FileBase::E_None == aDir.open());
     osl::DirectoryItem aItem;
-    osl::FileStatus aFileStatus(FileStatusMask_FileURL|FileStatusMask_Type);
+    osl::FileStatus aFileStatus(osl_FileStatus_Mask_FileURL|osl_FileStatus_Mask_Type);
     while (aDir.getNextItem(aItem) == osl::FileBase::E_None)
     {
         aItem.getFileStatus(aFileStatus);
@@ -708,7 +708,7 @@ void Test::testDataPilot()
     SCCOL nCol1 = 0, nCol2 = 0;
     m_pDoc->GetDataArea(0, nCol1, nRow1, nCol2, nRow2, true, false);
     CPPUNIT_ASSERT_MESSAGE("Data is expected to start from (col=0,row=0).", nCol1 == 0 && nRow1 == 0);
-    CPPUNIT_ASSERT_MESSAGE("Unexpected data range.", 
+    CPPUNIT_ASSERT_MESSAGE("Unexpected data range.",
                            nCol2 == static_cast<SCCOL>(nFieldCount - 1) && nRow2 == static_cast<SCROW>(nDataCount));
 
     SheetPrinter printer(nRow2 - nRow1 + 1, nCol2 - nCol1 + 1);
@@ -857,7 +857,7 @@ void Test::testDataPilot()
 
     // Now, delete the datapilot object.
     pDPs->FreeTable(pDPObj);
-    CPPUNIT_ASSERT_MESSAGE("There shouldn't be any data pilot table stored with the document.", 
+    CPPUNIT_ASSERT_MESSAGE("There shouldn't be any data pilot table stored with the document.",
                            pDPs->GetCount() == 0);
 
     m_pDoc->DeleteTab(1);


More information about the Libreoffice-commits mailing list