[Libreoffice-commits] core.git: sw/source

Bjoern Michaelsen bjoern.michaelsen at canonical.com
Wed Oct 28 18:11:39 PDT 2015


 sw/source/uibase/sidebar/StylePresetsPanel.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 586b35a178b9e74354e1b95dd2fdd7f5c1638905
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date:   Thu Oct 29 01:57:43 2015 +0100

    evil error description is misleading
    
    Change-Id: I2b8332e8346fbbbb3270e53102e5e3a51cbd6df7

diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.cxx b/sw/source/uibase/sidebar/StylePresetsPanel.cxx
index 8351617..71aa566 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);
 }


More information about the Libreoffice-commits mailing list