From 586b35a178b9e74354e1b95dd2fdd7f5c1638905 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Thu, 29 Oct 2015 01:57:43 +0100 Subject: evil error description is misleading Change-Id: I2b8332e8346fbbbb3270e53102e5e3a51cbd6df7 --- sw/source/uibase/sidebar/StylePresetsPanel.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/uibase/sidebar') 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 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::Create(pParent, rxFrame, pBindings); } -- cgit