summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbawindow.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-04 08:37:36 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-04 08:01:56 +0000
commitbe91a4725d851c05ea8a9ca2eb9ef01954aa06ec (patch)
tree0c13e06f0598bd84c958fb6851e69d608de2650d /sc/source/ui/vba/vbawindow.cxx
parent81824d135987712b57e3c81a26f72ae4fabb4031 (diff)
loplugin:stringconstant
Change-Id: I9d3b60bb9f0d8c09968e2be1035fb8e654ac9c95 Reviewed-on: https://gerrit.libreoffice.org/19769 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/vba/vbawindow.cxx')
-rw-r--r--sc/source/ui/vba/vbawindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx
index bdbebac2f32a..b18184d78398 100644
--- a/sc/source/ui/vba/vbawindow.cxx
+++ b/sc/source/ui/vba/vbawindow.cxx
@@ -340,7 +340,7 @@ ScVbaWindow::getCaption() throw (uno::RuntimeException, std::exception)
void SAL_CALL
ScVbaWindow::setCaption( const uno::Any& _caption ) throw (uno::RuntimeException, std::exception)
{
- getFrameProps()->setPropertyValue( OUString( SC_UNONAME_TITLE ), _caption );
+ getFrameProps()->setPropertyValue( SC_UNONAME_TITLE, _caption );
}
uno::Any SAL_CALL