summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-12-20 01:48:35 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-12-20 01:48:35 -0600
commit149968b4b1eeeed3669ee4229c753afdc0cd322d (patch)
tree68e56131765e911803b4ff6686a61df68948f9ef /sw
parentb77902d38d06df87694564ded859733bdb1d4fb2 (diff)
re-add the #ifdef DBG_UTIL that seems to have accidentally been removed.
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/config/optpage.cxx4
-rw-r--r--sw/source/ui/dialog/swdlgfact.cxx2
-rw-r--r--sw/source/ui/inc/optpage.hxx3
3 files changed, 9 insertions, 0 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index ecf345a40341..c8be2e244780 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -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: */
diff --git a/sw/source/ui/dialog/swdlgfact.cxx b/sw/source/ui/dialog/swdlgfact.cxx
index 7a636618d9ac..a31db0d97390 100644
--- a/sw/source/ui/dialog/swdlgfact.cxx
+++ b/sw/source/ui/dialog/swdlgfact.cxx
@@ -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:
diff --git a/sw/source/ui/inc/optpage.hxx b/sw/source/ui/inc/optpage.hxx
index a2ebae6fb704..382441962599 100644
--- a/sw/source/ui/inc/optpage.hxx
+++ b/sw/source/ui/inc/optpage.hxx
@@ -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: */