summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-01-13 08:57:46 +0100
committerJan Holesovsky <kendy@suse.cz>2012-01-13 08:57:46 +0100
commitd6f876434ff957ea6b5fd938fb3b779e4527c63f (patch)
treed3ab2ddf4e4a2afa7db68e24f2ba3715cb9e9286 /sc
parentRemoving debug statement. (diff)
downloadcore-d6f876434ff957ea6b5fd938fb3b779e4527c63f.tar.gz
core-d6f876434ff957ea6b5fd938fb3b779e4527c63f.zip
Fix MinGW build.
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/dpsdbtab.cxx2
-rw-r--r--sc/source/core/data/dpshttab.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/dpsdbtab.cxx b/sc/source/core/data/dpsdbtab.cxx
index 1cfa2f8966e7..576beb524249 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("Cache table should be created with a live data cache instance at all times.");
// 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 14a6f7b56f6b..8832b233b782 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("Cache table should be created with a live data cache instance at all times.");
// This better not happen!! The cache table should be created with a
// live data cache at all times.
return;