summaryrefslogtreecommitdiff
path: root/sdext/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-09-08 22:11:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-09 08:25:30 +0200
commitf2517e82904b92989ed7e38a070c18234f460b33 (patch)
tree2b9bb63f3865670ad250f9fd706a577d1696d88f /sdext/source
parent1159f58831c69680e9f10767d5358e13b66579dd (diff)
improve loplugin:unusedvarsglobal
to find any global variable, was checking the wrong property of VarDecl Change-Id: I454b4e0c1701bb0771768a1ee10cd738c4ab0726 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102278 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source')
-rw-r--r--sdext/source/presenter/PresenterHelper.cxx3
-rw-r--r--sdext/source/presenter/PresenterHelper.hxx3
-rw-r--r--sdext/source/presenter/PresenterPaneFactory.cxx5
-rw-r--r--sdext/source/presenter/PresenterPaneFactory.hxx2
4 files changed, 0 insertions, 13 deletions
diff --git a/sdext/source/presenter/PresenterHelper.cxx b/sdext/source/presenter/PresenterHelper.cxx
index 8b8f57ea3dcc..4df88fd764a6 100644
--- a/sdext/source/presenter/PresenterHelper.cxx
+++ b/sdext/source/presenter/PresenterHelper.cxx
@@ -29,12 +29,9 @@ using namespace ::com::sun::star::presentation;
namespace sdext::presenter {
const OUStringLiteral PresenterHelper::msPaneURLPrefix( u"private:resource/pane/");
-const OUString PresenterHelper::msCenterPaneURL( msPaneURLPrefix + "CenterPane");
const OUString PresenterHelper::msFullScreenPaneURL( msPaneURLPrefix + "FullScreenPane");
const OUStringLiteral PresenterHelper::msViewURLPrefix( u"private:resource/view/");
-const OUString PresenterHelper::msPresenterScreenURL( msViewURLPrefix + "PresenterScreen");
-const OUString PresenterHelper::msSlideSorterURL( msViewURLPrefix + "SlideSorter");
Reference<presentation::XSlideShowController> PresenterHelper::GetSlideShowController (
const Reference<frame::XController>& rxController)
diff --git a/sdext/source/presenter/PresenterHelper.hxx b/sdext/source/presenter/PresenterHelper.hxx
index 0f84bdfd3555..8ba29e20e170 100644
--- a/sdext/source/presenter/PresenterHelper.hxx
+++ b/sdext/source/presenter/PresenterHelper.hxx
@@ -31,12 +31,9 @@ namespace sdext::presenter {
namespace PresenterHelper
{
extern const OUStringLiteral msPaneURLPrefix;
- extern const OUString msCenterPaneURL;
extern const OUString msFullScreenPaneURL;
extern const OUStringLiteral msViewURLPrefix;
- extern const OUString msPresenterScreenURL;
- extern const OUString msSlideSorterURL;
/** Return the slide show controller of a running presentation that has
the same document as the given framework controller.
diff --git a/sdext/source/presenter/PresenterPaneFactory.cxx b/sdext/source/presenter/PresenterPaneFactory.cxx
index b1568431febd..14cf0ab92a69 100644
--- a/sdext/source/presenter/PresenterPaneFactory.cxx
+++ b/sdext/source/presenter/PresenterPaneFactory.cxx
@@ -43,11 +43,6 @@ const OUStringLiteral PresenterPaneFactory::msToolBarPaneURL(
u"private:resource/pane/Presenter/Pane4");
const OUStringLiteral PresenterPaneFactory::msSlideSorterPaneURL(
u"private:resource/pane/Presenter/Pane5");
-const OUStringLiteral PresenterPaneFactory::msHelpPaneURL(
- u"private:resource/pane/Presenter/Pane6");
-
-const OUStringLiteral PresenterPaneFactory::msOverlayPaneURL(
- u"private:resource/pane/Presenter/Overlay");
//===== PresenterPaneFactory ==================================================
diff --git a/sdext/source/presenter/PresenterPaneFactory.hxx b/sdext/source/presenter/PresenterPaneFactory.hxx
index 495aa9ad74d0..3a12481636ce 100644
--- a/sdext/source/presenter/PresenterPaneFactory.hxx
+++ b/sdext/source/presenter/PresenterPaneFactory.hxx
@@ -54,8 +54,6 @@ public:
static const OUStringLiteral msNotesPaneURL;
static const OUStringLiteral msToolBarPaneURL;
static const OUStringLiteral msSlideSorterPaneURL;
- static const OUStringLiteral msHelpPaneURL;
- static const OUStringLiteral msOverlayPaneURL;
/** Create a new instance of this class and register it as resource
factory in the drawing framework of the given controller.