Kaydet (Commit) 586b35a1 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

evil error description is misleading

Change-Id: I2b8332e8346fbbbb3270e53102e5e3a51cbd6df7
üst 65f98610
...@@ -148,11 +148,11 @@ VclPtr<vcl::Window> StylePresetsPanel::Create (vcl::Window* pParent, ...@@ -148,11 +148,11 @@ VclPtr<vcl::Window> StylePresetsPanel::Create (vcl::Window* pParent,
SfxBindings* pBindings) SfxBindings* pBindings)
{ {
if (pParent == NULL) if (pParent == NULL)
throw css::lang::IllegalArgumentException("no parent Window given to PagePropertyPanel::Create", NULL, 0); throw css::lang::IllegalArgumentException("no parent Window given to StylePresetsPanel::Create", NULL, 0);
if (!rxFrame.is()) if (!rxFrame.is())
throw css::lang::IllegalArgumentException("no XFrame given to PagePropertyPanel::Create", NULL, 1); throw css::lang::IllegalArgumentException("no XFrame given to StylePresetsPanel::Create", NULL, 1);
if (pBindings == NULL) if (pBindings == NULL)
throw css::lang::IllegalArgumentException("no SfxBindings given to PagePropertyPanel::Create", NULL, 2); throw css::lang::IllegalArgumentException("no SfxBindings given to StylePresetsPanel::Create", NULL, 2);
return VclPtr<StylePresetsPanel>::Create(pParent, rxFrame, pBindings); return VclPtr<StylePresetsPanel>::Create(pParent, rxFrame, pBindings);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment