summaryrefslogtreecommitdiff
path: root/sc/source/core/data/documen5.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/documen5.cxx')
-rw-r--r--sc/source/core/data/documen5.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/documen5.cxx b/sc/source/core/data/documen5.cxx
index 5a994713244a..31eaf827911f 100644
--- a/sc/source/core/data/documen5.cxx
+++ b/sc/source/core/data/documen5.cxx
@@ -659,7 +659,7 @@ uno::Reference< embed::XEmbeddedObject >
void ScDocument::UpdateChartListenerCollection()
{
- assert(pChartListenerCollection);
+ OSL_ASSERT(pChartListenerCollection);
bChartListenerCollectionNeedsUpdate = false;
if (!pDrawLayer)
@@ -735,7 +735,7 @@ void ScDocument::UpdateChartListenerCollection()
void ScDocument::AddOLEObjectToCollection(const OUString& rName)
{
- assert(pChartListenerCollection);
+ OSL_ASSERT(pChartListenerCollection);
ScChartListenerCollection::StringSetType& rNonOleObjects =
pChartListenerCollection->getNonOleObjectNames();