summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodestylesettings.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2012-11-22 10:29:58 +0200
committerOrgad Shaneh <orgads@gmail.com>2012-11-22 09:36:09 +0100
commitf0ef96ef0c37b5903bda18e2af80c82f14f30181 (patch)
tree755da2a91de4b40cd822a3198d6717e3ebb53010 /src/plugins/cpptools/cppcodestylesettings.cpp
parent75a3728254bc4016451038d519e7d078304e585a (diff)
downloadqt-creator-f0ef96ef0c37b5903bda18e2af80c82f14f30181.tar.gz
Replace some const char * with const char[]
Change-Id: I7657792d9ebfcaede7b719400d239f837074290b Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodestylesettings.cpp')
-rw-r--r--src/plugins/cpptools/cppcodestylesettings.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/plugins/cpptools/cppcodestylesettings.cpp b/src/plugins/cpptools/cppcodestylesettings.cpp
index c2e7703d21..6295a9f22d 100644
--- a/src/plugins/cpptools/cppcodestylesettings.cpp
+++ b/src/plugins/cpptools/cppcodestylesettings.cpp
@@ -31,23 +31,23 @@
#include <utils/settingsutils.h>
-static const char *groupPostfix = "IndentSettings";
-static const char *indentBlockBracesKey = "IndentBlockBraces";
-static const char *indentBlockBodyKey = "IndentBlockBody";
-static const char *indentClassBracesKey = "IndentClassBraces";
-static const char *indentEnumBracesKey = "IndentEnumBraces";
-static const char *indentNamespaceBracesKey = "IndentNamespaceBraces";
-static const char *indentNamespaceBodyKey = "IndentNamespaceBody";
-static const char *indentAccessSpecifiersKey = "IndentAccessSpecifiers";
-static const char *indentDeclarationsRelativeToAccessSpecifiersKey = "IndentDeclarationsRelativeToAccessSpecifiers";
-static const char *indentFunctionBodyKey = "IndentFunctionBody";
-static const char *indentFunctionBracesKey = "IndentFunctionBraces";
-static const char *indentSwitchLabelsKey = "IndentSwitchLabels";
-static const char *indentStatementsRelativeToSwitchLabelsKey = "IndentStatementsRelativeToSwitchLabels";
-static const char *indentBlocksRelativeToSwitchLabelsKey = "IndentBlocksRelativeToSwitchLabels";
-static const char *indentControlFlowRelativeToSwitchLabelsKey = "IndentControlFlowRelativeToSwitchLabels";
-static const char *extraPaddingForConditionsIfConfusingAlignKey = "ExtraPaddingForConditionsIfConfusingAlign";
-static const char *alignAssignmentsKey = "AlignAssignments";
+static const char groupPostfix[] = "IndentSettings";
+static const char indentBlockBracesKey[] = "IndentBlockBraces";
+static const char indentBlockBodyKey[] = "IndentBlockBody";
+static const char indentClassBracesKey[] = "IndentClassBraces";
+static const char indentEnumBracesKey[] = "IndentEnumBraces";
+static const char indentNamespaceBracesKey[] = "IndentNamespaceBraces";
+static const char indentNamespaceBodyKey[] = "IndentNamespaceBody";
+static const char indentAccessSpecifiersKey[] = "IndentAccessSpecifiers";
+static const char indentDeclarationsRelativeToAccessSpecifiersKey[] = "IndentDeclarationsRelativeToAccessSpecifiers";
+static const char indentFunctionBodyKey[] = "IndentFunctionBody";
+static const char indentFunctionBracesKey[] = "IndentFunctionBraces";
+static const char indentSwitchLabelsKey[] = "IndentSwitchLabels";
+static const char indentStatementsRelativeToSwitchLabelsKey[] = "IndentStatementsRelativeToSwitchLabels";
+static const char indentBlocksRelativeToSwitchLabelsKey[] = "IndentBlocksRelativeToSwitchLabels";
+static const char indentControlFlowRelativeToSwitchLabelsKey[] = "IndentControlFlowRelativeToSwitchLabels";
+static const char extraPaddingForConditionsIfConfusingAlignKey[] = "ExtraPaddingForConditionsIfConfusingAlign";
+static const char alignAssignmentsKey[] = "AlignAssignments";
using namespace CppTools;