summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 14:04:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:07:35 +0200
commit37a2fda3563c8518543c22ff640b9dc3c035de1b (patch)
tree74f1f1fd825617abe0df7f09a45e69ebaa1dc161 /sd/source/ui
parent2acedec56df2695e561aaab95dbbda6976fbd7b3 (diff)
ClientBox::CalcActiveHeight parameter nPos is unused
...ever since the code's introduction in 2d63c4689a13599ec9389c370726005f01fea08c "Basic Impress Remote + linking of dialog and server." Change-Id: I312315263fbb73dea421ddeb16381318a6fd8bec
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/dlg/RemoteDialogClientBox.cxx5
-rw-r--r--sd/source/ui/dlg/RemoteDialogClientBox.hxx2
2 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
index d0583395923f..fa97922690b9 100644
--- a/sd/source/ui/dlg/RemoteDialogClientBox.cxx
+++ b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
@@ -137,9 +137,8 @@ void ClientBox::dispose()
}
// Title + description
-void ClientBox::CalcActiveHeight( const long nPos )
+void ClientBox::CalcActiveHeight()
{
- (void) nPos;
const ::osl::MutexGuard aGuard( m_entriesMutex );
// get title height
@@ -342,7 +341,7 @@ void ClientBox::DrawRow(vcl::RenderContext& rRenderContext, const ::tools::Recta
void ClientBox::RecalcAll()
{
if ( m_bHasActive )
- CalcActiveHeight( m_nActive );
+ CalcActiveHeight();
SetupScrollBar();
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.hxx b/sd/source/ui/dlg/RemoteDialogClientBox.hxx
index 156ffc48e5f5..f5c194efd358 100644
--- a/sd/source/ui/dlg/RemoteDialogClientBox.hxx
+++ b/sd/source/ui/dlg/RemoteDialogClientBox.hxx
@@ -117,7 +117,7 @@ class ClientBox : public Control
std::vector< TClientBoxEntry > m_vEntries;
std::vector< TClientBoxEntry > m_vRemovedEntries;
- void CalcActiveHeight( const long nPos );
+ void CalcActiveHeight();
long GetTotalHeight() const;
void SetupScrollBar();
void DrawRow(vcl::RenderContext& rRenderContext, const ::tools::Rectangle& rRect, const TClientBoxEntry& rEntry);