[Libreoffice-commits] core.git: sfx2/source

Stephan Bergmann sbergman at redhat.com
Tue Feb 23 13:24:40 UTC 2016


 sfx2/source/view/classificationhelper.cxx |   32 +++++++++++++++---------------
 1 file changed, 16 insertions(+), 16 deletions(-)

New commits:
commit 527386ee702faac907d66c363956a87348abf6a2
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Feb 23 14:24:13 2016 +0100

    loplugin:stringconstant
    
    Change-Id: I30b8c029e1f4aca5f9838475402df427519e5908

diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx
index 6c42c21..2ae3415 100644
--- a/sfx2/source/view/classificationhelper.cxx
+++ b/sfx2/source/view/classificationhelper.cxx
@@ -148,22 +148,22 @@ throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
             rCategory.m_aLabels["urn:bails:IntellectualProperty:BusinessAuthorizationCategory:Locator"] = "None";
             rCategory.m_aLabels["urn:bails:IntellectualProperty:BusinessAuthorization:Locator"] = "None";
             rCategory.m_aLabels["urn:bails:IntellectualProperty:MarkingPrecedence"] = "None";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-summary"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-warning-statement"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-warning-statement:ext:2"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-warning-statement:ext:3"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-warning-statement:ext:4"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-distribution-statement"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-distribution-statement:ext:2"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-distribution-statement:ext:3"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-distribution-statement:ext:4"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:document-footer"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:document-header"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:document-watermark"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:email-first-line-of-text"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:email-last-line-of-text"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:email-subject-prefix"] = "";
-            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:email-subject-suffix"] = "";
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-summary"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-warning-statement"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-warning-statement:ext:2"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-warning-statement:ext:3"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-warning-statement:ext:4"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-distribution-statement"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-distribution-statement:ext:2"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-distribution-statement:ext:3"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:general-distribution-statement:ext:4"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:document-footer"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:document-header"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:document-watermark"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:email-first-line-of-text"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:email-last-line-of-text"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:email-subject-prefix"].clear();
+            rCategory.m_aLabels["urn:bails:IntellectualProperty:Marking:email-subject-suffix"].clear();
             rCategory.m_aLabels["urn:bails:IntellectualProperty:Authorization:StartValidity"] = "None";
             rCategory.m_aLabels["urn:bails:IntellectualProperty:Authorization:StopValidity"] = "None";
             m_pCategory = &rCategory;


More information about the Libreoffice-commits mailing list