summaryrefslogtreecommitdiffstats
path: root/svtools
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-27 19:07:35 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-28 01:55:00 +0900
commit660e4481a4ab00b1077dbc5e26568b7f6f05b2ba (patch)
tree7c68b7efb5305d692662e7bdae76607cc7b95e67 /svtools
parentfdo44516 cleanup of direct use of color in code (diff)
downloadcore-660e4481a4ab00b1077dbc5e26568b7f6f05b2ba.tar.gz
core-660e4481a4ab00b1077dbc5e26568b7f6f05b2ba.zip
Avoid temporary rtl::OUString
in scripting / sdext / starmath / stoc / svtools / svx
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/fileview.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 495d86bea84f..dc3f727ce175 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -96,7 +96,7 @@ using ::rtl::OUString;
#define COLUMN_SIZE 3
#define COLUMN_DATE 4
-#define aSeparatorStr "----------------------------------"
+#define SEPARATOR_STR "----------------------------------"
#define ROW_HEIGHT 17 // the height of a row has to be a little higher than the bitmap
#define QUICK_SEARCH_TIMEOUT 1500 // time in mSec before the quicksearch string will be reseted
@@ -2329,7 +2329,7 @@ void SvtFileView_Impl::CreateVector_Impl( const Sequence < OUString > &rList )
pEntry->maDisplayText = aDisplayText;
// detect the image
- if( aValue != rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(aSeparatorStr) ) )
+ if( !aValue.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(SEPARATOR_STR)) )
{
INetURLObject aObj( !pEntry->maImageURL.isEmpty() ? pEntry->maImageURL : pEntry->maTargetURL );
pEntry->maImage = SvFileInformationManager::GetImage( aObj, sal_False );