diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-06 18:10:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-06 18:10:32 +0200 |
commit | 57440dfcbd552f1e601d74d888f3887b126f8cb1 (patch) | |
tree | 5a0356708470ed1d4f4c5584a8dd3e9bfdd9c08c /libreofficekit/qa | |
parent | 7eaf8b17dd3020c54ab58ae513c1175c95d5ccce (diff) |
clang-tidy performance-faster-string-find
Change-Id: Ia645dd9c5301d93abea90646ad32e94b8cb8ce17
Diffstat (limited to 'libreofficekit/qa')
-rw-r--r-- | libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx index a264af94833e..f0aabdfc9b84 100644 --- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx @@ -890,7 +890,7 @@ static void signalCommand(LOKDocView* pLOKDocView, char* pPayload, gpointer /*pD TiledWindow& rWindow = lcl_getTiledWindow(GTK_WIDGET(pLOKDocView)); std::string aPayload(pPayload); - size_t nPosition = aPayload.find("="); + size_t nPosition = aPayload.find('='); if (nPosition != std::string::npos) { std::string aKey = aPayload.substr(0, nPosition); |