diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/CustomAnimationPreset.cxx | 6 | ||||
-rw-r--r-- | sd/source/filter/eppt/pptx-epptooxml.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/framework/module/ShellStackGuard.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/core/CustomAnimationPreset.cxx b/sd/source/core/CustomAnimationPreset.cxx index 0fc8e6b82c70..1d63b5d217b9 100644 --- a/sd/source/core/CustomAnimationPreset.cxx +++ b/sd/source/core/CustomAnimationPreset.cxx @@ -337,7 +337,7 @@ void CustomAnimationPresets::importResources() void CustomAnimationPresets::importPresets( const Reference< XMultiServiceFactory >& xConfigProvider, const OUString& rNodePath, PresetCategoryList& rPresetMap ) { -#ifdef DEBUG +#if OSL_DEBUG_LEVEL >= 2 OUString aMissedPresetIds; #endif @@ -370,7 +370,7 @@ void CustomAnimationPresets::importPresets( const Reference< XMultiServiceFactor { aEffectsList.push_back( pEffect ); } -#ifdef DEBUG +#if OSL_DEBUG_LEVEL >= 2 else { aMissedPresetIds += OUString(rEffectName); @@ -388,7 +388,7 @@ void CustomAnimationPresets::importPresets( const Reference< XMultiServiceFactor TOOLS_WARN_EXCEPTION( "sd", "sd::CustomAnimationPresets::importPresets()" ); } -#ifdef DEBUG +#if OSL_DEBUG_LEVEL >= 2 SAL_WARN_IF(!aMissedPresetIds.isEmpty(), "sd", "sd::CustomAnimationPresets::importPresets(), invalid preset id: " << aMissedPresetIds); #endif diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 2cfd29be0fcc..e4e0b617d198 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -1585,7 +1585,7 @@ void PowerPointExport::ImplWritePPTXLayout(sal_Int32 nOffset, sal_uInt32 nMaster Reference< drawing::XDrawPages > xDrawPages = xDPS->getDrawPages(); Reference< drawing::XDrawPage > xSlide = xDrawPages->insertNewByIndex(xDrawPages->getCount()); -#ifdef DEBUG +#if OSL_DEBUG_LEVEL >= 2 if (xSlide.is()) printf("new page created\n"); #endif diff --git a/sd/source/ui/framework/module/ShellStackGuard.cxx b/sd/source/ui/framework/module/ShellStackGuard.cxx index d7dcfb0f2923..3a3f31a01e1f 100644 --- a/sd/source/ui/framework/module/ShellStackGuard.cxx +++ b/sd/source/ui/framework/module/ShellStackGuard.cxx @@ -107,7 +107,7 @@ void SAL_CALL ShellStackGuard::disposing ( IMPL_LINK(ShellStackGuard, TimeoutHandler, Timer*, pIdle, void) { -#ifdef DEBUG +#if OSL_DEBUG_LEVEL >= 2 OSL_ASSERT(pIdle==&maPrinterPollingIdle); #else (void)pIdle; |