summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-29 09:40:01 +0200
committerNoel Grandin <noel@peralex.com>2016-07-29 10:32:41 +0200
commit8ff6ba3da87a6ae8c36e8c9e44e66147c4dfb4e1 (patch)
treef265d8e514c659e6a85700bd14de7dedb64bfc10 /sfx2
parentfftester: another null DestinationText (diff)
downloadcore-8ff6ba3da87a6ae8c36e8c9e44e66147c4dfb4e1.tar.gz
core-8ff6ba3da87a6ae8c36e8c9e44e66147c4dfb4e1.zip
loplugin:cstylecast
Change-Id: I3adb510be10b12953e2889d0d3b74402479194ee
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/emojiview.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/emojiview.cxx b/sfx2/source/control/emojiview.cxx
index c9f2e2959af4..6f6008660c58 100644
--- a/sfx2/source/control/emojiview.cxx
+++ b/sfx2/source/control/emojiview.cxx
@@ -128,11 +128,11 @@ void EmojiView::Populate ()
node prop = value.child(paramVal);
//get values of parameters in AppendItem() function
- if(paramVal == (const char*) "unicode")
+ if(paramVal == "unicode")
{
sTitle = OUString::createFromAscii(prop.string_value().get());
}
- else if(paramVal == (const char*)"category")
+ else if(paramVal == "category")
{
sCategory = OUString::createFromAscii(prop.string_value().get());
}