diff options
Diffstat (limited to 'svx/source/sidebar/graphic/GraphicPropertyPanel.cxx')
-rw-r--r-- | svx/source/sidebar/graphic/GraphicPropertyPanel.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx index e56ae685ea3a..aa4149416ccb 100644 --- a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx +++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx @@ -32,8 +32,6 @@ using namespace css; using namespace cssu; using ::sfx2::sidebar::Theme; -#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString))) - ////////////////////////////////////////////////////////////////////////////// // namespace open @@ -229,11 +227,11 @@ GraphicPropertyPanel* GraphicPropertyPanel::Create ( SfxBindings* pBindings) { if (pParent == NULL) - throw lang::IllegalArgumentException(A2S("no parent Window given to GraphicPropertyPanel::Create"), NULL, 0); + throw lang::IllegalArgumentException("no parent Window given to GraphicPropertyPanel::Create", NULL, 0); if ( ! rxFrame.is()) - throw lang::IllegalArgumentException(A2S("no XFrame given to GraphicPropertyPanel::Create"), NULL, 1); + throw lang::IllegalArgumentException("no XFrame given to GraphicPropertyPanel::Create", NULL, 1); if (pBindings == NULL) - throw lang::IllegalArgumentException(A2S("no SfxBindings given to GraphicPropertyPanel::Create"), NULL, 2); + throw lang::IllegalArgumentException("no SfxBindings given to GraphicPropertyPanel::Create", NULL, 2); return new GraphicPropertyPanel( pParent, |