diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-30 07:56:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-01 09:27:23 +0000 |
commit | 120d1614d3267d9f2844391c72024b61f97348e4 (patch) | |
tree | 04f16ec200266f994d88daa0fae5264ce6b922b0 /editeng | |
parent | 4847ef98f6a9448c3c4a52eacd8dd540e59fea4e (diff) |
can go behind appropiate ifdef
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editdbg.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editdoc.hxx | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/editeng/source/editeng/editdbg.cxx b/editeng/source/editeng/editdbg.cxx index 80193d018589..764ecead5e96 100644 --- a/editeng/source/editeng/editdbg.cxx +++ b/editeng/source/editeng/editdbg.cxx @@ -487,6 +487,7 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, sal_Bool bInfoBox ) InfoBox(0, String( RTL_CONSTASCII_USTRINGPARAM( "D:\\DEBUG.LOG !" ) ) ).Execute(); } +#if OSL_DEBUG_LEVEL > 2 sal_Bool ParaPortion::DbgCheckTextPortions() { // check, if Portion length ok: @@ -495,6 +496,7 @@ sal_Bool ParaPortion::DbgCheckTextPortions() nXLen = nXLen + aTextPortionList[nPortion]->GetLen(); return nXLen == pNode->Len() ? sal_True : sal_False; } +#endif sal_Bool CheckOrderedList( CharAttribArray& rAttribs, sal_Bool bStart ) { diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx index a51d07122f37..a8e29bc28454 100644 --- a/editeng/source/editeng/editdoc.hxx +++ b/editeng/source/editeng/editdoc.hxx @@ -627,8 +627,9 @@ public: short GetInvalidDiff() const { return nInvalidDiff; } void CorrectValuesBehindLastFormattedLine( sal_uInt16 nLastFormattedLine ); - +#if OSL_DEBUG_LEVEL > 2 sal_Bool DbgCheckTextPortions(); +#endif }; typedef ParaPortion* ParaPortionPtr; |