summaryrefslogtreecommitdiff
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 09:01:31 +0100
commitd5bd33427f73d01d59e6021c7436d98d8c9fffd2 (patch)
tree4695ed91ac155e06a2e92fd4d6db094215a1815c
parentdf97997452b443f184c07c8cb1eedaaa0621f05f (diff)
Fix MinGW build.
Cherry-picked from libreoffice-3-5 branch, probably a bit more helpful fail message.
-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 75dd9644fafd..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())
{
- OSL_FAIL("ScDatabaseDPData::CreateCacheTable: NOT GOOD!");
+ 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 cde9a2720860..7891eaa74c97 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())
{
- OSL_FAIL("ScSheetDPData::CreateCacheTable: NOT GOOD!!!");
+ 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;