style cleanup
[blender.git] / source / blender / collada / collada_utils.cpp
index 27af5c0aba2916e3d06d65eac49078fe2bb3839a..ab8491dde01bccd70fb81c2dc22112a212707402 100644 (file)
@@ -295,11 +295,11 @@ std::string bc_url_encode(std::string data) {
 }
 
 std::string bc_replace_string(std::string data, const std::string& pattern,
-                          const std::string& replacement) {
-    size_t pos = 0;
-    while((pos = data.find(pattern, pos)) != std::string::npos) {
-         data.replace(pos, pattern.length(), replacement);
-         pos += replacement.length();
-    }
-    return data;
-}
\ No newline at end of file
+                              const std::string& replacement) {
+       size_t pos = 0;
+       while ((pos = data.find(pattern, pos)) != std::string::npos) {
+               data.replace(pos, pattern.length(), replacement);
+               pos += replacement.length();
+       }
+       return data;
+}