summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-24 17:40:26 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-24 18:06:18 +0100
commit5c31a1b5474f5284cf694d04de5734921891915c (patch)
treecaebf1ffe12229d2370c76ad1fa0ae50e77c285f /sfx2
parentb94c9e0d82c7430ad7c2f3b10b60651a141100a2 (diff)
fdo#86633: sw: remove bad tab pages from SwParaDlg for drawing objects
"Area" and "Transparence" only supported by Writer paragraphs. (regression from 7d9bb549d498d6beed2c4050c402d09643febdfa) Change-Id: I732e8d40fdeafaebf219fc7c5ddd53b850d8eca6
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx3
1 files changed, 2 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