Kaydet (Commit) 120d1614 authored tarafından Caolán McNamara's avatar Caolán McNamara

can go behind appropiate ifdef

üst 4847ef98
...@@ -487,6 +487,7 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, sal_Bool bInfoBox ) ...@@ -487,6 +487,7 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, sal_Bool bInfoBox )
InfoBox(0, String( RTL_CONSTASCII_USTRINGPARAM( "D:\\DEBUG.LOG !" ) ) ).Execute(); InfoBox(0, String( RTL_CONSTASCII_USTRINGPARAM( "D:\\DEBUG.LOG !" ) ) ).Execute();
} }
#if OSL_DEBUG_LEVEL > 2
sal_Bool ParaPortion::DbgCheckTextPortions() sal_Bool ParaPortion::DbgCheckTextPortions()
{ {
// check, if Portion length ok: // check, if Portion length ok:
...@@ -495,6 +496,7 @@ sal_Bool ParaPortion::DbgCheckTextPortions() ...@@ -495,6 +496,7 @@ sal_Bool ParaPortion::DbgCheckTextPortions()
nXLen = nXLen + aTextPortionList[nPortion]->GetLen(); nXLen = nXLen + aTextPortionList[nPortion]->GetLen();
return nXLen == pNode->Len() ? sal_True : sal_False; return nXLen == pNode->Len() ? sal_True : sal_False;
} }
#endif
sal_Bool CheckOrderedList( CharAttribArray& rAttribs, sal_Bool bStart ) sal_Bool CheckOrderedList( CharAttribArray& rAttribs, sal_Bool bStart )
{ {
......
...@@ -627,8 +627,9 @@ public: ...@@ -627,8 +627,9 @@ public:
short GetInvalidDiff() const { return nInvalidDiff; } short GetInvalidDiff() const { return nInvalidDiff; }
void CorrectValuesBehindLastFormattedLine( sal_uInt16 nLastFormattedLine ); void CorrectValuesBehindLastFormattedLine( sal_uInt16 nLastFormattedLine );
#if OSL_DEBUG_LEVEL > 2
sal_Bool DbgCheckTextPortions(); sal_Bool DbgCheckTextPortions();
#endif
}; };
typedef ParaPortion* ParaPortionPtr; typedef ParaPortion* ParaPortionPtr;
......
...@@ -342,9 +342,9 @@ OutputDevice::PixelToLogic(basegfx::B2DPolyPolygon const&) const ...@@ -342,9 +342,9 @@ OutputDevice::PixelToLogic(basegfx::B2DPolyPolygon const&) const
OutputDevice::PixelToLogic(basegfx::B2DPolygon const&) const OutputDevice::PixelToLogic(basegfx::B2DPolygon const&) const
PageSpan::getMarginLeft() const PageSpan::getMarginLeft() const
PageSpan::getMarginRight() const PageSpan::getMarginRight() const
ParaPortion::DbgCheckTextPortions()
ParaPortionList::DbgCheck(EditDoc&) ParaPortionList::DbgCheck(EditDoc&)
ParagraphObj::ParagraphObj(ParagraphObj&) ParagraphObj::ParagraphObj(ParagraphObj&)
ParagraphStyleManager::get(WPXString const&) const
PathDialog::SetPath(Edit const&) PathDialog::SetPath(Edit const&)
PatternBox::GetString(unsigned short) const PatternBox::GetString(unsigned short) const
PatternBox::GetStringPos(String const&) const PatternBox::GetStringPos(String const&) const
...@@ -743,6 +743,7 @@ SotFactory::TestInvariant() ...@@ -743,6 +743,7 @@ SotFactory::TestInvariant()
SotObject::RemoveOwnerLock() SotObject::RemoveOwnerLock()
SotStorage::GetProperty(String const&, String const&, com::sun::star::uno::Any&) SotStorage::GetProperty(String const&, String const&, com::sun::star::uno::Any&)
SourceTreeIterator::EndExecute() SourceTreeIterator::EndExecute()
SpanStyleManager::get(WPXString const&) const
SpinButton::SpinButton(Window*, ResId const&) SpinButton::SpinButton(Window*, ResId const&)
SplitWindow::CalcWindowSizePixel(Size const&, WindowAlign, long, unsigned char) SplitWindow::CalcWindowSizePixel(Size const&, WindowAlign, long, unsigned char)
SplitWindow::GetItemWindow(unsigned short) const SplitWindow::GetItemWindow(unsigned short) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment