summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 22:30:22 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 22:41:12 +0200
commitf212aa9f84246f9bc1feb3b169885c5e717a10cd (patch)
treec2f8dfc5576a37c9881d0d024a89bbc2fe8d5ff9 /sw/source/ui
parent8d6da3b8aed0b523375e00eb5b5e3c2b4ca89edf (diff)
fix existing comments
Change-Id: I06dca63053dae5d3dceb49bf67adb0c100b56e8b
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/shells/grfsh.cxx4
-rw-r--r--sw/source/ui/uiview/swcli.cxx1
2 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/ui/shells/grfsh.cxx b/sw/source/ui/shells/grfsh.cxx
index a24bae455889..9e2c7649c0aa 100644
--- a/sw/source/ui/shells/grfsh.cxx
+++ b/sw/source/ui/shells/grfsh.cxx
@@ -295,12 +295,12 @@ void SwGrfShell::Execute(SfxRequest &rReq)
aSet.Put(SfxFrameItem( SID_DOCFRAME, &GetView().GetViewFrame()->GetTopFrame()));
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
- OSL_ENSURE(pFact, "Dialogdiet fail!");
+ OSL_ENSURE(pFact, "no dialog factory!");
SfxAbstractTabDialog* pDlg = pFact->CreateFrmTabDialog("PictureDialog",
GetView().GetViewFrame(),
GetView().GetWindow(),
aSet, false);
- OSL_ENSURE(pDlg, "Dialogdiet fail!");
+ OSL_ENSURE(pDlg, "no tab dialog!");
if (nSlot == FN_DRAW_WRAP_DLG)
pDlg->SetCurPageId("wrap");
diff --git a/sw/source/ui/uiview/swcli.cxx b/sw/source/ui/uiview/swcli.cxx
index 817c660d7be0..3ee05fef848a 100644
--- a/sw/source/ui/uiview/swcli.cxx
+++ b/sw/source/ui/uiview/swcli.cxx
@@ -123,7 +123,6 @@ void SwOleClient::ViewChanged()
}
catch (const uno::Exception&)
{
- // this is an error
OSL_FAIL( "Something goes wrong on requesting object size!\n" );
}