summaryrefslogtreecommitdiff
path: root/framework/source/helper/titlebarupdate.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-09-09 00:58:15 +0300
committerTor Lillqvist <tml@collabora.com>2013-09-09 00:58:15 +0300
commit2b3e2258530b8214229f2c6a8dab385b508eb9bf (patch)
treeac9eeed88f75bca64737b8abced45c983a3f9d14 /framework/source/helper/titlebarupdate.cxx
parent84e981865871ea75d8a2493a8be349b3b93d2e7a (diff)
Bin some uses of the stupid DECLARE_ASCII macro
Change-Id: I076eef8069e848ec3cf9c69f1b489ad44586324e
Diffstat (limited to 'framework/source/helper/titlebarupdate.cxx')
-rw-r--r--framework/source/helper/titlebarupdate.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/helper/titlebarupdate.cxx b/framework/source/helper/titlebarupdate.cxx
index c85c4b63bd4a..3370de420387 100644
--- a/framework/source/helper/titlebarupdate.cxx
+++ b/framework/source/helper/titlebarupdate.cxx
@@ -75,14 +75,14 @@ void SAL_CALL TitleBarUpdate::initialize(const css::uno::Sequence< css::uno::Any
css::uno::Reference< css::frame::XFrame > xFrame;
if (lArguments.getLength() < 1)
throw css::lang::IllegalArgumentException(
- DECLARE_ASCII("Empty argument list!"),
+ "Empty argument list!",
static_cast< ::cppu::OWeakObject* >(this),
1);
lArguments[0] >>= xFrame;
if (!xFrame.is())
throw css::lang::IllegalArgumentException(
- DECLARE_ASCII("No valid frame specified!"),
+ "No valid frame specified!",
static_cast< ::cppu::OWeakObject* >(this),
1);
@@ -292,8 +292,8 @@ void TitleBarUpdate::impl_updateIcon(const css::uno::Reference< css::frame::XFra
try
{
css::uno::Reference< css::beans::XPropertySetInfo > const xPSI( xSet->getPropertySetInfo(), css::uno::UNO_SET_THROW );
- if ( xPSI->hasPropertyByName( DECLARE_ASCII("IconId") ) )
- xSet->getPropertyValue( DECLARE_ASCII("IconId") ) >>= nIcon;
+ if ( xPSI->hasPropertyByName( "IconId" ) )
+ xSet->getPropertyValue( "IconId" ) >>= nIcon;
}
catch(const css::uno::Exception&)
{