diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-04 12:58:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-04 12:58:45 +0200 |
commit | b2459b05b4a4e9f79ae94260d4e210d3419fa9a0 (patch) | |
tree | 9747b04828e6d67698e499f11b39beba6788304f /sfx2/source/appl/imestatuswindow.cxx | |
parent | f927cf4d23432341921c55e6983edf9c8ebe7ff7 (diff) |
loplugin:stringconstant
Change-Id: I9dde988e95e3c574c6643c4e008a1090270bad5f
Diffstat (limited to 'sfx2/source/appl/imestatuswindow.cxx')
-rw-r--r-- | sfx2/source/appl/imestatuswindow.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/appl/imestatuswindow.cxx b/sfx2/source/appl/imestatuswindow.cxx index 6163ccc2ebab..b8153e9caa44 100644 --- a/sfx2/source/appl/imestatuswindow.cxx +++ b/sfx2/source/appl/imestatuswindow.cxx @@ -95,7 +95,7 @@ void ImeStatusWindow::init() try { bool bShow; - if (getConfig()->getPropertyValue(OUString("ShowStatusWindow")) >>= bShow) + if (getConfig()->getPropertyValue("ShowStatusWindow") >>= bShow) Application::ShowImeStatusWindow(bShow); } catch (css::uno::Exception &) @@ -111,7 +111,7 @@ bool ImeStatusWindow::isShowing() try { bool bShow(false); - if (getConfig()->getPropertyValue(OUString("ShowStatusWindow")) >>= bShow) + if (getConfig()->getPropertyValue("ShowStatusWindow") >>= bShow) return bShow; } catch (css::uno::Exception &) @@ -129,7 +129,7 @@ void ImeStatusWindow::show(bool bShow) { css::uno::Reference< css::beans::XPropertySet > xConfig(getConfig()); xConfig->setPropertyValue( - OUString("ShowStatusWindow"), + "ShowStatusWindow", css::uno::makeAny(bShow)); css::uno::Reference< css::util::XChangesBatch > xCommit( xConfig, css::uno::UNO_QUERY); @@ -158,7 +158,7 @@ ImeStatusWindow::~ImeStatusWindow() try { m_xConfig->removePropertyChangeListener( - OUString("ShowStatusWindow"), + "ShowStatusWindow", m_xConfigListener); } catch (css::uno::Exception &) @@ -232,7 +232,7 @@ css::uno::Reference< css::beans::XPropertySet > ImeStatusWindow::getConfig() // no dispose notifications): m_xConfigListener = new WeakPropertyChangeListener(this); xConfig->addPropertyChangeListener( - OUString("ShowStatusWindow"), + "ShowStatusWindow", m_xConfigListener); } return xConfig; |