summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-02-11 16:00:20 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-02-11 16:06:03 +0100
commit59adfe22eef256f26804d469b497872db638908b (patch)
treec71f24da5c0b39ce2f1ed4e9e3052da23e6e99f7 /desktop
parentd6eaa8d863f5bc352ce6a06c910dc3a0fd0216f7 (diff)
loplugin:stringconstant
Change-Id: I78f28906c3ceae323b608018f929c66358e9aa39
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index e2365950eb66..b24fbbcdaaab 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -668,7 +668,7 @@ static int doc_saveAs(LibreOfficeKitDocument* pThis, const char* sUrl, const cha
if (aFilterOptions == "TakeOwnership")
{
bTakeOwnership = true;
- aFilterOptions = "";
+ aFilterOptions.clear();
}
else if ((nIndex = aFilterOptions.indexOf(",TakeOwnership")) >= 0 || (nIndex = aFilterOptions.indexOf("TakeOwnership,")) >= 0)
{