summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterProtocolHandler.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-27 11:56:10 +0200
committerNoel Grandin <noel@peralex.com>2015-03-30 10:44:59 +0200
commit3a2baade81036015eefeec9978ef00f76113ac54 (patch)
tree3e1f29c807030a62a5c0382a268413cd877ede16 /sdext/source/presenter/PresenterProtocolHandler.cxx
parent7fbfd04c2e348dbebd7d97ceecfcbea547de5b52 (diff)
loplugin:staticfunction
Change-Id: I4b7b04031fa74956379c5a1b21abe10b0717f3e9
Diffstat (limited to 'sdext/source/presenter/PresenterProtocolHandler.cxx')
-rw-r--r--sdext/source/presenter/PresenterProtocolHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx
index c18625492d74..60a762632aef 100644
--- a/sdext/source/presenter/PresenterProtocolHandler.cxx
+++ b/sdext/source/presenter/PresenterProtocolHandler.cxx
@@ -115,7 +115,7 @@ namespace {
private:
bool mbOn;
rtl::Reference<PresenterController> mpPresenterController;
- bool IsActive (const ::rtl::Reference<PresenterWindowManager>& rpWindowManager) const;
+ static bool IsActive (const ::rtl::Reference<PresenterWindowManager>& rpWindowManager);
};
class SetSlideSorterCommand : public Command
@@ -651,7 +651,7 @@ Any SetNotesViewCommand::GetState (void) const
}
bool SetNotesViewCommand::IsActive (
- const ::rtl::Reference<PresenterWindowManager>& rpWindowManager) const
+ const ::rtl::Reference<PresenterWindowManager>& rpWindowManager)
{
return rpWindowManager->GetViewMode() == PresenterWindowManager::VM_Notes;
}