diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-10-29 01:57:43 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-10-29 01:59:43 +0100 |
commit | 586b35a178b9e74354e1b95dd2fdd7f5c1638905 (patch) | |
tree | d0c52944fccbf530f726fd8afaf213b28ad9f605 /sw/source/uibase/sidebar | |
parent | 65f98610ddb9b3847aad0566e15b6087d0149464 (diff) |
evil error description is misleading
Change-Id: I2b8332e8346fbbbb3270e53102e5e3a51cbd6df7
Diffstat (limited to 'sw/source/uibase/sidebar')
-rw-r--r-- | sw/source/uibase/sidebar/StylePresetsPanel.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.cxx b/sw/source/uibase/sidebar/StylePresetsPanel.cxx index 8351617a40ba..71aa566c7c9f 100644 --- a/sw/source/uibase/sidebar/StylePresetsPanel.cxx +++ b/sw/source/uibase/sidebar/StylePresetsPanel.cxx @@ -148,11 +148,11 @@ VclPtr<vcl::Window> StylePresetsPanel::Create (vcl::Window* pParent, SfxBindings* pBindings) { 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()) - 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) - 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); } |