summaryrefslogtreecommitdiff
path: root/filter/source/msfilter/msdffimp.cxx
diff options
context:
space:
mode:
authorRohan Kumar <rohankanojia420@gmail.com>2016-03-03 16:19:27 +0530
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2016-04-05 12:09:42 +0000
commitbc504b08f008b1813a29bb90c226340407c2077b (patch)
tree3f7ca8974d5752e52a7b3ac1227ab7a045f47b2b /filter/source/msfilter/msdffimp.cxx
parent931d003ade7c4a88f46be1e89b32d58e5eb9d083 (diff)
tdf#91794 OSL_DEBUG_LEVEL > 1 removed in libo/filter module
I replaced the occurences of OSL_DEBUG_LEVEL > 1 with the debug macro DEBUG_{module}_{area}. Change-Id: Ibbf7345d3dc43354ff80a8ceafb4a812749513c7 Reviewed-on: https://gerrit.libreoffice.org/22355 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'filter/source/msfilter/msdffimp.cxx')
-rw-r--r--filter/source/msfilter/msdffimp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 85955a447979..c8fd4dce63b3 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -6373,7 +6373,7 @@ bool SvxMSDffManager::GetBLIPDirect( SvStream& rBLIPStream, Graphic& rData, Rect
pGrStream = xOut.get();
}
-#if OSL_DEBUG_LEVEL > 2
+#ifdef DEBUG_FILTER_MSDFFIMP
// extract graphics from ole storage into "dbggfxNNN.*"
static sal_Int32 nGrfCount;
@@ -6417,7 +6417,7 @@ bool SvxMSDffManager::GetBLIPDirect( SvStream& rBLIPStream, Graphic& rData, Rect
sal_Int32 nDbgLen = nLength - nSkip;
if ( nDbgLen )
{
- std::std::unique_ptr<sal_Char[]> xDat(new sal_Char[ nDbgLen ]);
+ std::unique_ptr<sal_Char[]> xDat(new sal_Char[ nDbgLen ]);
pGrStream->Read( xDat.get(), nDbgLen );
pDbgOut->Write( xDat.get(), nDbgLen );
pGrStream->SeekRel( -nDbgLen );
@@ -6936,7 +6936,7 @@ css::uno::Reference < css::embed::XEmbeddedObject > SvxMSDffManager::CheckForCo
pFilter = aMatch.GetFilter4EA( aType );
}
-#if OSL_DEBUG_LEVEL > 2
+#ifdef DEBUG_FILTER_MSFILTER
// extract embedded ole streams into "/tmp/embedded_stream_NNN"
static sal_Int32 nOleCount(0);
OUString aTmpName("/tmp/embedded_stream_");