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 21:16:39 +0100
commitf509e2ec91b138114c43134dd2df3e0b99adcc31 (patch)
tree3c68a31c74621e9d23bbe616feff82b62f96a48d /sfx2
parentb0f40d0252f94f01965035313f0f91bf2a3775e6 (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 (cherry picked from commit 5c31a1b5474f5284cf694d04de5734921891915c)
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