summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-02 11:27:49 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-02 14:21:52 +0000
commit95493cd49f4a80624220c2be6a787b7531f60b8e (patch)
tree38c255cda167a2d0c20cc5a9d21f915b6af3fe23 /dbaccess
parentab86a53623c9bf5d3abc7149aa85d0e0c8d7fd98 (diff)
V813: Decreased performance
Change-Id: I6a988077a3a2e2adf33a2c00a84b929e8133133f
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/inc/UITools.hxx2
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/inc/UITools.hxx b/dbaccess/source/ui/inc/UITools.hxx
index b828f20a1160..81808470d6fb 100644
--- a/dbaccess/source/ui/inc/UITools.hxx
+++ b/dbaccess/source/ui/inc/UITools.hxx
@@ -222,7 +222,7 @@ namespace dbaui
*/
void notifySystemWindow(vcl::Window* _pWindow,
vcl::Window* _pToRegister,
- ::comphelper::mem_fun1_t<TaskPaneList,vcl::Window*> _rMemFunc);
+ const ::comphelper::mem_fun1_t<TaskPaneList,vcl::Window*>& _rMemFunc);
/** adjustToolBoxSize checks if the size of the ToolBox is still valid. If not it will be resized.
@param _pToolBox
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index f83050cfb427..b51ae0bb4430 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -956,7 +956,7 @@ bool appendToFilter(const Reference<XConnection>& _xConnection,
return bRet;
}
-void notifySystemWindow(vcl::Window* _pWindow, vcl::Window* _pToRegister, ::comphelper::mem_fun1_t<TaskPaneList,vcl::Window*> _rMemFunc)
+void notifySystemWindow(vcl::Window* _pWindow, vcl::Window* _pToRegister, const ::comphelper::mem_fun1_t<TaskPaneList,vcl::Window*>& _rMemFunc)
{
OSL_ENSURE(_pWindow,"Window can not be null!");
SystemWindow* pSystemWindow = _pWindow ? _pWindow->GetSystemWindow() : NULL;