summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dochdl/gloshdl.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-07-26 14:23:59 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-07-26 14:25:33 +0200
commit20f6cf03770d8c5ca343287a42dc58df3091ef32 (patch)
treedbcbfa94c38def0078c100a8d900699312329135 /sw/source/uibase/dochdl/gloshdl.cxx
parent044159d82d8551a41c1ffad9fe897932f64e8d39 (diff)
Massive 'Dialogdiet fail' and similar to 'Dialog creation failed'
Change-Id: I6ca6914e80c186699df42253de46a3690c5130f2
Diffstat (limited to 'sw/source/uibase/dochdl/gloshdl.cxx')
-rw-r--r--sw/source/uibase/dochdl/gloshdl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/dochdl/gloshdl.cxx b/sw/source/uibase/dochdl/gloshdl.cxx
index b5c403beb36c..3ab01b141698 100644
--- a/sw/source/uibase/dochdl/gloshdl.cxx
+++ b/sw/source/uibase/dochdl/gloshdl.cxx
@@ -75,9 +75,9 @@ typedef boost::ptr_vector<TextBlockInfo_Impl> TextBlockInfoArr;
void SwGlossaryHdl::GlossaryDlg()
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
- assert(pFact && "Dialogdiet fail!");
+ assert(pFact && "Dialog creation failed!");
boost::scoped_ptr<AbstractGlossaryDlg> pDlg(pFact->CreateGlossaryDlg(pViewFrame, this, pWrtShell));
- assert(pDlg && "Dialogdiet fail!");
+ assert(pDlg && "Dialog creation failed!");
OUString sName;
OUString sShortName;
@@ -361,9 +361,9 @@ bool SwGlossaryHdl::ExpandGlossary()
OSL_ENSURE(pWrtShell->CanInsert(), "illegal");
SwTextBlocks *pGlossary;
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
- assert(pFact && "Dialogdiet fail!");
+ assert(pFact && "Dialog creation failed!");
::GlossaryGetCurrGroup fnGetCurrGroup = pFact->GetGlossaryCurrGroupFunc();
- assert(fnGetCurrGroup && "Dialogdiet fail!");
+ assert(fnGetCurrGroup && "Dialog creation failed!");
OUString sGroupName( (*fnGetCurrGroup)() );
if (sGroupName.indexOf(GLOS_DELIM)<0)
FindGroupName(sGroupName);
@@ -450,7 +450,7 @@ bool SwGlossaryHdl::Expand( const OUString& rShortName,
assert(pFact && "SwAbstractDialogFactory fail!");
boost::scoped_ptr<AbstractSwSelGlossaryDlg> pDlg(pFact->CreateSwSelGlossaryDlg(0, aShortName));
- assert(pDlg && "Dialogdiet fail!");
+ assert(pDlg && "Dialog creation failed!");
for(sal_uInt16 i = 0; i < aFoundArr.size(); ++i)
{
TextBlockInfo_Impl* pData = &aFoundArr[i];