summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-03 13:01:13 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:50:40 +0100
commitf9273f454bf18ee9451b8d5dc844fc8ea6e43c95 (patch)
treeedcc3041cf6c7234a3b42d3f54fea5cdc5c83cda /svx/source/svdraw
parent5bc917e58e4ae486046151741e12488d83aa293c (diff)
Move DBG_ERROR to OSL_FAIL for strings GetBuffer()
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdedtv.cxx2
-rw-r--r--svx/source/svdraw/svdmodel.cxx2
-rw-r--r--svx/source/svdraw/svdpage.cxx2
-rw-r--r--svx/source/svdraw/svdxcgv.cxx4
4 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx
index 9d44dbde6565..e73c600ab089 100644
--- a/svx/source/svdraw/svdedtv.cxx
+++ b/svx/source/svdraw/svdedtv.cxx
@@ -986,7 +986,7 @@ void SdrEditView::CopyMarkedObj()
}
aStr += " Objektverbindungen werden nicht mitkopiert.";
- DBG_ERROR(aStr.GetBuffer());
+ OSL_FAIL(aStr.GetBuffer());
#endif
}
MarkListHasChanged();
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index 0440a9fe0bb7..f846a68337d9 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -311,7 +311,7 @@ SdrModel::~SdrModel()
aStr += ByteString(pAktUndoGroup->GetComment(), gsl_getSystemTextEncoding());
aStr += '\"';
- DBG_ERROR(aStr.GetBuffer());
+ OSL_FAIL(aStr.GetBuffer());
}
#endif
if (pAktUndoGroup!=NULL)
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx
index d7bcaa2727b5..6c3718d9be8d 100644
--- a/svx/source/svdraw/svdpage.cxx
+++ b/svx/source/svdraw/svdpage.cxx
@@ -242,7 +242,7 @@ void SdrObjList::CopyObjects(const SdrObjList& rSrcList)
aStr += " Objektverbindungen werden nicht mitkopiert.";
- DBG_ERROR(aStr.GetBuffer());
+ OSL_FAIL(aStr.GetBuffer());
#endif
}
}
diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx
index 8d163331bd99..662ad81c6bed 100644
--- a/svx/source/svdraw/svdxcgv.cxx
+++ b/svx/source/svdraw/svdxcgv.cxx
@@ -463,7 +463,7 @@ BOOL SdrExchangeView::Paste(const SdrModel& rMod, const Point& rPos, SdrObjList*
aStr += " Objektverbindungen werden nicht mitkopiert.";
- DBG_ERROR(aStr.GetBuffer());
+ OSL_FAIL(aStr.GetBuffer());
#endif
}
}
@@ -849,7 +849,7 @@ SdrModel* SdrExchangeView::GetMarkedObjModel() const
aStr += " Objektverbindungen werden nicht mitkopiert.";
- DBG_ERROR(aStr.GetBuffer());
+ OSL_FAIL(aStr.GetBuffer());
#endif
}
}