summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-03-01 21:12:29 +0200
committerTor Lillqvist <tml@collabora.com>2015-03-01 21:12:34 +0200
commit31d322aa8a57c828dcd339ec6b7b6b63138984a4 (patch)
treea4ed30f925a70d4196e07e1b69ba54e2376306bf /svx
parentc8e23bb389d3ed1c43e45dbbffdec0a418232156 (diff)
WaE: rewrite call of rtl::OUString::operator= with empty string constant ...
... argument as call of rtl::OUString::clear. Change-Id: I3877a7034edc2cff0509c8a57170228fa1c68685
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/Palette.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/Palette.cxx b/svx/source/tbxctrls/Palette.cxx
index e960fbd040f8..b968dc52e288 100644
--- a/svx/source/tbxctrls/Palette.cxx
+++ b/svx/source/tbxctrls/Palette.cxx
@@ -114,7 +114,7 @@ void PaletteASE::LoadPalette()
maName = aName;
// Is there color data? (shouldn't happen in a start block, but check anyway)
if (nChunkSize > ((nChars * 2) + 2))
- aName = "";
+ aName.clear();
else
continue;
}