]> granicus.if.org Git - taglib/commitdiff
Minor style fixes
authorSander Jansen <s.jansen@gmail.com>
Sun, 17 May 2015 02:32:50 +0000 (21:32 -0500)
committerSander Jansen <s.jansen@gmail.com>
Thu, 12 Nov 2015 14:50:34 +0000 (08:50 -0600)
taglib/ogg/xiphcomment.cpp
tests/test_bytevector.cpp

index 6b87e3ea2d45fd7274d860221ac918efe0626024..cb607ce423b837adede3f5318da56edcc7e7e97f 100644 (file)
@@ -361,7 +361,7 @@ ByteVector Ogg::XiphComment::render(bool addFramingBit) const
 
   for(PictureList::ConstIterator it = d->pictureList.begin(); it != d->pictureList.end(); ++it) {
     ByteVector picture = (*it)->render().toBase64();
-    data.append(ByteVector::fromUInt(picture.size()+23,false));
+    data.append(ByteVector::fromUInt(picture.size() + 23, false));
     data.append("METADATA_BLOCK_PICTURE=");
     data.append(picture);
   }
@@ -445,7 +445,7 @@ void Ogg::XiphComment::parse(const ByteVector &data)
 
       // Parse key and value
       String key = String(entry.mid(0, sep), String::UTF8);
-      String value = String(entry.mid(sep+1), String::UTF8);
+      String value = String(entry.mid(sep + 1), String::UTF8);
       addField(key, value, false);
     }
   }
index 450402e38b3f317ca3fa2c3ab5d0ae1caf323a5b..8d23b82b84da037d16bb75eae730968c10d7d306 100644 (file)
@@ -25,7 +25,6 @@
 #include <cstring>
 #include <tbytevector.h>
 #include <tbytevectorlist.h>
-#include <tstring.h>
 #include <cppunit/extensions/HelperMacros.h>
 
 using namespace std;