summaryrefslogtreecommitdiff
path: root/sfx2/source/statbar
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/statbar')
-rw-r--r--sfx2/source/statbar/stbitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index 4c0d962a3383..4b3b9c042f4f 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -633,9 +633,9 @@ SfxStatusBarControl* SfxStatusBarControl::CreateControl
}
-void SfxStatusBarControl::RegisterStatusBarControl(SfxModule* pMod, SfxStbCtrlFactory* pFact)
+void SfxStatusBarControl::RegisterStatusBarControl(SfxModule* pMod, const SfxStbCtrlFactory& rFact)
{
- SfxGetpApp()->RegisterStatusBarControl_Impl( pMod, pFact );
+ SfxGetpApp()->RegisterStatusBarControl_Impl( pMod, rFact );
}