summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/dialog/tabdlg.cxx3
-rw-r--r--sw/source/ui/chrdlg/pardlg.cxx2
2 files changed, 4 insertions, 1 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 1481fbd7de22..d533f3571a3b 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -551,7 +551,8 @@ void SfxTabDialog::SetApplyHandler(const Link& _rHdl)
void SfxTabDialog::Start_Impl()
{
- DBG_ASSERT( pImpl->aData.size() == m_pTabCtrl->GetPageCount(), "not all pages registered" );
+ assert(pImpl->aData.size() == m_pTabCtrl->GetPageCount()
+ && "not all pages registered");
sal_uInt16 nActPage = m_pTabCtrl->GetPageId( 0 );
// load old settings, when exists
diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx
index 58b4a43187b9..3b007cabcc04 100644
--- a/sw/source/ui/chrdlg/pardlg.cxx
+++ b/sw/source/ui/chrdlg/pardlg.cxx
@@ -129,6 +129,8 @@ SwParaDlg::SwParaDlg(vcl::Window *pParent,
RemoveTabPage("labelTP_DROPCAPS");
RemoveTabPage("labelTP_BACKGROUND");
RemoveTabPage("labelTP_BORDER");
+ RemoveTabPage("area");
+ RemoveTabPage("transparence");
}
else
{