summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-04 13:41:22 +0200
committerNoel Grandin <noel@peralex.com>2016-03-04 14:01:19 +0200
commit1fd781e7cd33f325ec7e467ecd49e0cb6ff4762b (patch)
tree9ede2ca7b2f7336365f675d9388dafc2a1994be6 /sd/source
parenta4c17041271eca2181cf11e5a0b59f4001c20cee (diff)
loplugin:unuseddefaultparam in oox/reportdesign/sd
Change-Id: Ia26cf182ddc7c903d86bf74a8175858adb88121c
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsClipboard.cxx6
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx
index 3d0cf86eda48..7df784fbc729 100644
--- a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx
@@ -225,7 +225,7 @@ void Clipboard::DoCut ()
}
}
-void Clipboard::DoDelete (vcl::Window* )
+void Clipboard::DoDelete()
{
if (mrSlideSorter.GetModel().GetPageCount() > 1)
{
@@ -233,9 +233,9 @@ void Clipboard::DoDelete (vcl::Window* )
}
}
-void Clipboard::DoCopy (vcl::Window* pWindow )
+void Clipboard::DoCopy ()
{
- CreateSlideTransferable( pWindow, false );
+ CreateSlideTransferable( nullptr, false );
}
void Clipboard::DoPaste ()
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
index 8e3cb0456cf6..53217e2a0325 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
@@ -74,10 +74,10 @@ public:
void DoCut ();
// Exported for unit test
- SD_DLLPUBLIC void DoCopy(vcl::Window* pWindow = nullptr);
+ SD_DLLPUBLIC void DoCopy();
// Exported for unit test
SD_DLLPUBLIC void DoPaste();
- void DoDelete (vcl::Window* pWindow = nullptr);
+ void DoDelete ();
void StartDrag (
const Point& rDragPt,