summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/SvgNumber.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/source/svgreader/SvgNumber.cxx')
-rw-r--r--svgio/source/svgreader/SvgNumber.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svgio/source/svgreader/SvgNumber.cxx b/svgio/source/svgreader/SvgNumber.cxx
index 8254b45b035f..9a11c1979962 100644
--- a/svgio/source/svgreader/SvgNumber.cxx
+++ b/svgio/source/svgreader/SvgNumber.cxx
@@ -27,7 +27,7 @@ double SvgNumber::solveNonPercentage(const InfoProvider& rInfoProvider) const
{
if (!isSet())
{
- assert(false && "SvgNumber not set (!)");
+ SAL_WARN("svgio", "SvgNumber not set (!)");
return 0.0;
}
@@ -56,7 +56,7 @@ double SvgNumber::solveNonPercentage(const InfoProvider& rInfoProvider) const
}
case SvgUnit::percent:
{
- assert(false && "Do not use with percentage!");
+ SAL_WARN("svgio", "Do not use with percentage!");
break;
}
}
@@ -68,7 +68,7 @@ double SvgNumber::solve(const InfoProvider& rInfoProvider, NumberType aNumberTyp
{
if (!isSet())
{
- assert(false && "SvgNumber not set (!)");
+ SAL_WARN("svgio", "SvgNumber not set (!)");
return 0.0;
}