summaryrefslogtreecommitdiff
path: root/extra/libreoffice/remove_unused_vars.diff
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libreoffice/remove_unused_vars.diff')
-rw-r--r--extra/libreoffice/remove_unused_vars.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/libreoffice/remove_unused_vars.diff b/extra/libreoffice/remove_unused_vars.diff
new file mode 100644
index 000000000..7970b913c
--- /dev/null
+++ b/extra/libreoffice/remove_unused_vars.diff
@@ -0,0 +1,26 @@
+From 305bf19e390aebdf2d20ea052a92f782e8d1185c Mon Sep 17 00:00:00 2001
+From: Thomas Arnhold <thomas@arnhold.org>
+Date: Sun, 24 Feb 2013 17:39:08 +0000
+Subject: loplugin: unused variables
+
+And some fallout.
+
+Change-Id: I8dfc12f3566e72d79d4f9930284c92577aa485a1
+---
+(limited to 'sd/source/ui/toolpanel/controls/MasterPageObserver.cxx')
+
+diff --git a/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx b/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx
+index 1d27c9d..cd7df65 100644
+--- a/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx
++++ b/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx
+@@ -226,8 +226,6 @@ void MasterPageObserver::Implementation::AddEventListener (
+ // Tell the new listener about all the master pages that are
+ // currently in use.
+ typedef ::std::vector<String> StringList;
+- StringList aNewMasterPages;
+- StringList aRemovedMasterPages;
+ MasterPageContainer::iterator aDocumentIterator;
+ for (aDocumentIterator=maUsedMasterPages.begin();
+ aDocumentIterator!=maUsedMasterPages.end();
+--
+cgit v0.9.0.2-2-gbebe