summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/macrofld.cxx
diff options
context:
space:
mode:
authorJacek Wolszczak <shutdownrunner@gmail.com>2011-05-08 22:14:45 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-05-09 15:06:56 +0200
commit4cf350c27fbe9c84ec38daeffe2b57ebc515f8c2 (patch)
treede43a2b56eeb5717374c41844f90320502aaa76d /sw/source/core/fields/macrofld.cxx
parentce0a87b004a37e9a2f2da41d6e811e9bdba82eda (diff)
REPLACE DBG_stuff with OSL_ASSERT and OSL_FAIL
Diffstat (limited to 'sw/source/core/fields/macrofld.cxx')
-rw-r--r--sw/source/core/fields/macrofld.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/fields/macrofld.cxx b/sw/source/core/fields/macrofld.cxx
index 023eb68f800c..20a069d16ed9 100644
--- a/sw/source/core/fields/macrofld.cxx
+++ b/sw/source/core/fields/macrofld.cxx
@@ -105,7 +105,7 @@ String SwMacroField::GetLibName() const
return aMacro.Copy(0, nPos );
}
- DBG_ASSERT(0, "Kein Macroname vorhanden");
+ OSL_FAIL("Kein Macroname vorhanden");
return aEmptyStr;
}
@@ -128,7 +128,7 @@ String SwMacroField::GetMacroName() const
}
}
- DBG_ASSERT(0, "Kein Macroname vorhanden");
+ OSL_FAIL("Kein Macroname vorhanden");
return aEmptyStr;
}