diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/CustomAnimationPreset.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sd/source/core/CustomAnimationPreset.cxx b/sd/source/core/CustomAnimationPreset.cxx index 35bb383dfbe6..502ed08a6bb5 100644 --- a/sd/source/core/CustomAnimationPreset.cxx +++ b/sd/source/core/CustomAnimationPreset.cxx @@ -472,13 +472,8 @@ void CustomAnimationPresets::importPresets( const Reference< XMultiServiceFactor } #ifdef DEBUG - if( !aMissedPresetIds.isEmpty() ) - { - OStringBuffer aTmp("sd::CustomAnimationPresets::importPresets(), invalid preset id!\n"); - aTmp.append(OUStringToOString(aMissedPresetIds, - RTL_TEXTENCODING_ASCII_US)); - OSL_FAIL(aTmp.getStr()); - } + SAL_WARN_IF(!aMissedPresetIds.isEmpty(), "sd", "sd::CustomAnimationPresets::importPresets(), invalid preset id: " + << aMissedPresetIds); #endif } |