From d8e5a0db64fa022b54bddc42b1b1db0c1ddfe2d1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 13 Jul 2017 12:44:52 +0200 Subject: use more OUString::operator== in sc Change-Id: I1a7691fe59e5e93c15bd812f03366da814f9f3db Reviewed-on: https://gerrit.libreoffice.org/39900 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/vba/vbawindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/vba/vbawindow.cxx') diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx index 5586c9347daa..5f6629597606 100644 --- a/sc/source/ui/vba/vbawindow.cxx +++ b/sc/source/ui/vba/vbawindow.cxx @@ -319,7 +319,7 @@ ScVbaWindow::getCaption() // name == title + extension ( .csv, ,odt, .xls ) // etc. then also use the name - if ( !sTitle.equals( sName ) ) + if ( sTitle != sName ) { // starts with title if ( sName.startsWith( sTitle ) ) -- cgit