diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-19 12:22:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-19 13:08:29 +0200 |
commit | c8479bdc5b007ca5ffe1d553be3d90fb03424526 (patch) | |
tree | f927ba8085da8c9dc46d1cda669fbac8af724abf /tools/source/generic/color.cxx | |
parent | 39e63bfac528d8c5c002ee8fef4a1e5d7181b826 (diff) |
convert DBG_ASSERTWARNING to SAL_WARN_IF
I know the comment in debug.hxx said to use SAL_INFO, but SAL_WARN makes
much more sense.
Change-Id: I3d81f9db89ef8cebe1e4f2983941d69b4c7e6b7d
Diffstat (limited to 'tools/source/generic/color.cxx')
-rw-r--r-- | tools/source/generic/color.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/generic/color.cxx b/tools/source/generic/color.cxx index 697de7ebc2f8..e85cf9d0b9a8 100644 --- a/tools/source/generic/color.cxx +++ b/tools/source/generic/color.cxx @@ -243,7 +243,7 @@ OUString Color::AsRGBHexString() const SvStream& ReadColor( SvStream& rIStream, Color& rColor ) { - DBG_ASSERTWARNING( rIStream.GetVersion(), "Color::>> - Solar-Version not set on rIStream" ); + SAL_WARN_IF( !rIStream.GetVersion(), "tools", "Color::>> - Solar-Version not set on rIStream" ); sal_uInt16 nColorName; @@ -335,7 +335,7 @@ void Color::ApplyTintOrShade(sal_Int16 n100thPercent) SvStream& WriteColor( SvStream& rOStream, const Color& rColor ) { - DBG_ASSERTWARNING( rOStream.GetVersion(), "Color::<< - Solar-Version not set on rOStream" ); + SAL_WARN_IF( !rOStream.GetVersion(), "tools", "Color::<< - Solar-Version not set on rOStream" ); sal_uInt16 nColorName = COL_NAME_USER; sal_uInt16 nRed = rColor.GetRed(); |