re-add the #ifdef DBG_UTIL that seems to have accidentally been removed.

This commit is contained in:
Norbert Thiebaud 2011-12-20 01:48:35 -06:00
parent b77902d38d
commit 149968b4b1
3 changed files with 9 additions and 0 deletions

View file

@ -1729,6 +1729,8 @@ void SwRedlineOptionsTabPage::InitFontStyle(SvxFontPrevWindow& rExampleWin)
}
#ifdef DBG_UTIL
void lcl_SetPosSize(Window& rWin, Point aPos, Size aSize)
{
aPos = rWin.LogicToPixel(aPos, MAP_APPFONT);
@ -1861,6 +1863,8 @@ IMPL_LINK_INLINE_START( SwTestTabPage, AutoClickHdl, CheckBox *, EMPTYARG )
return 0;
}
IMPL_LINK_INLINE_END( SwTestTabPage, AutoClickHdl, CheckBox *, EMPTYARG )
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -1645,7 +1645,9 @@ CreateTabPage SwAbstractDialogFactory_Impl::GetTabPageCreatorFunc( sal_uInt16 nI
break;
case RID_SW_TP_OPTTEST_PAGE :
case TP_OPTTEST_PAGE :
#ifdef DBG_UTIL
pRet = SwTestTabPage::Create;
#endif
break;
case TP_OPTPRINT_PAGE :
case RID_SW_TP_HTML_OPTPRINT_PAGE:

View file

@ -361,6 +361,8 @@ public:
TabPage test settings for SW
--------------------------------------------------------- */
#ifdef DBG_UTIL
class SwTestTabPage : public SfxTabPage
{
public:
@ -392,6 +394,7 @@ private:
DECL_LINK( AutoClickHdl, CheckBox * );
};
#endif // DBG_UTIL
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */