path: root/bin/count-todo-dialogs
diff options
authorCaolán McNamara <>2016-10-11 09:05:53 +0100
committerCaolán McNamara <>2016-10-11 09:09:22 +0100
commit411c04c4025b4349df70a2dae723bbeac9f12f57 (patch)
treecf9567965a6a72a7640a8f7e13d024de72f0ed80 /bin/count-todo-dialogs
parent5ab5779bf4a16f4ee4a8d1198ffbd8f842f2edd9 (diff)
repurpose count dialogs
Change-Id: Id19d514f7ccbc69bf5ad0ca63181e2815f067178
Diffstat (limited to 'bin/count-todo-dialogs')
1 files changed, 0 insertions, 41 deletions
diff --git a/bin/count-todo-dialogs b/bin/count-todo-dialogs
deleted file mode 100755
index 09f85c90dbd4..000000000000
--- a/bin/count-todo-dialogs
+++ /dev/null
@@ -1,41 +0,0 @@
-# This file is part of the LibreOffice project.
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at
-# Run this from the source root dir to count:
-# a) the number of .ui files
-# b) the estimated amount of additional .ui files required
-converted=`ls */uiconfig/ui/*.ui */uiconfig/*/ui/*.ui|wc -l`
-echo $converted .ui files currently exist
-dockingwindows=`git grep -h DockingWindow -- *.src|grep -v HelpID|grep -v hrc|cut -d' ' -f2- |sort|uniq|wc -l`
-echo There are $dialogs unconverted dialogs
-echo There are $tabpages unconverted tabpages
-echo There are $errorboxes unconverted errorboxes
-echo There are $infoboxes unconverted infoboxes
-echo There are $queryboxes unconverted queryboxes
-echo There are $warningboxes unconverted warningboxes
-echo There are $msgboxes unconverted msgboxes
-echo There are $floatingwindows unconverted floatingwindows
-echo There are $dockingwindows unconverted dockingwindows
-echo An estimated additional $num .ui are required
-percent=$(($converted * 100 / ($num + $converted)))
-echo We are $percent% of the way through the .ui conversion.