[Libreoffice-commits] .: sc/source
Markus Mohrhard
mmohrhard at kemper.freedesktop.org
Thu Jan 12 21:34:47 PST 2012
sc/source/core/data/dpsdbtab.cxx | 2 +-
sc/source/core/data/dpshttab.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 98038f308984841752449346f4f3de6d4859dc1d
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Fri Jan 13 06:31:43 2012 +0100
change debug statements to fix build
diff --git a/sc/source/core/data/dpsdbtab.cxx b/sc/source/core/data/dpsdbtab.cxx
index 1cfa2f8..75dd964 100644
--- a/sc/source/core/data/dpsdbtab.cxx
+++ b/sc/source/core/data/dpsdbtab.cxx
@@ -140,7 +140,7 @@ void ScDatabaseDPData::CreateCacheTable()
if (!aCacheTable.hasCache())
{
- fprintf(stdout, "ScDatabaseDPData::CreateCacheTable: NOT GOOD!\n");
+ OSL_FAIL("ScDatabaseDPData::CreateCacheTable: NOT GOOD!");
// This better not happen!! Cache table should be created with a live
// data cache instance at all times.
return;
diff --git a/sc/source/core/data/dpshttab.cxx b/sc/source/core/data/dpshttab.cxx
index 60db27b..cde9a27 100644
--- a/sc/source/core/data/dpshttab.cxx
+++ b/sc/source/core/data/dpshttab.cxx
@@ -192,7 +192,7 @@ void ScSheetDPData::CreateCacheTable()
if (!aCacheTable.hasCache())
{
- fprintf(stdout, "ScSheetDPData::CreateCacheTable: NOT GOOD!!!\n");
+ OSL_FAIL("ScSheetDPData::CreateCacheTable: NOT GOOD!!!");
// This better not happen!! The cache table should be created with a
// live data cache at all times.
return;
More information about the Libreoffice-commits
mailing list