vcl/workben/pasteboard.mm |   26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

New commits:
commit 5f787d7f9d9d28df6090554c66b9934d0a4904c1
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Thu Jan 14 21:50:14 2021 +0200
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Thu Jan 14 21:40:46 2021 +0100

    Run through clang-format and fix a typo
    
    Change-Id: I24e5fd839fa9ab7d7496180c6d6fdaa89774c94a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109312
    Tested-by: Tor Lillqvist <t...@collabora.com>
    Reviewed-by: Tor Lillqvist <t...@collabora.com>

diff --git a/vcl/workben/pasteboard.mm b/vcl/workben/pasteboard.mm
index 3d523afeb383..4b003358f8c5 100644
--- a/vcl/workben/pasteboard.mm
+++ b/vcl/workben/pasteboard.mm
@@ -19,11 +19,11 @@
 
 static void usage()
 {
-    std::cout <<
-        "Usage: pastebord\n"
-        "        --List the types on the pasteboard and in each pasteboard 
item.\n"
-        "       pasteboard -t type\n"
-        "        --Output the data for the type in question to stdout. Note: 
output will in many cases be binary.\n";
+    std::cout << "Usage: pasteboard\n"
+                 "        --List the types on the pasteboard and in each 
pasteboard item.\n"
+                 "       pasteboard -t type\n"
+                 "        --Output the data for the type in question to 
stdout. Note: output will "
+                 "in many cases be binary.\n";
 }
 
 int main(int argc, char** argv)
@@ -36,12 +36,12 @@ int main(int argc, char** argv)
     {
         switch (ch)
         {
-        case 't':
-            requestedType = [NSString stringWithUTF8String:optarg];
-            break;
-        case '?':
-            usage();
-            break;
+            case 't':
+                requestedType = [NSString stringWithUTF8String:optarg];
+                break;
+            case '?':
+                usage();
+                break;
         }
     }
 
@@ -58,9 +58,9 @@ int main(int argc, char** argv)
 
     if ([requestedType length] > 0)
     {
-        NSData *data = [pb dataForType:requestedType];
+        NSData* data = [pb dataForType:requestedType];
 
-        std::cout.write((const char *)[data bytes], [data length]);
+        std::cout.write((const char*)[data bytes], [data length]);
 
         return 0;
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to