diff options
Diffstat (limited to 'include/sfx2/viewsh.hxx')
-rw-r--r-- | include/sfx2/viewsh.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index 1709b8699099..53dcd84115ae 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -169,10 +169,10 @@ protected: public: // Iteration - static SfxViewShell* GetFirst( bool bOnlyVisible = true, std::function<bool ( const SfxViewShell* )> isViewShell = nullptr ); + static SfxViewShell* GetFirst( bool bOnlyVisible = true, const std::function<bool ( const SfxViewShell* )>& isViewShell = nullptr ); static SfxViewShell* GetNext( const SfxViewShell& rPrev, bool bOnlyVisible = true, - std::function<bool ( const SfxViewShell* )> isViewShell = nullptr ); + const std::function<bool ( const SfxViewShell* )>& isViewShell = nullptr ); static SfxViewShell* Current(); static SfxViewShell* Get( const css::uno::Reference< css::frame::XController>& i_rController ); |