diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-24 15:03:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-24 16:36:02 +0000 |
commit | 0b3e6b79af3721f51569d2b7090713f41d522ece (patch) | |
tree | 217126655d07c0e4d65bfffda67affae5a9db408 /sfx2/source/control/dispatch.cxx | |
parent | 6283d3d4c3019c3435a7465ad7b072f83b0e7cc9 (diff) |
ResId return from GetObjectBarResId is only used for its numerical id
Change-Id: I173d20d68b25a614e25b1c933cc5f18f7116ab9c
Diffstat (limited to 'sfx2/source/control/dispatch.cxx')
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index de2a3b43e614..7ee9f083bda5 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -1328,7 +1328,7 @@ void SfxDispatcher::_Update_Impl( bool bUIActive, bool bIsMDIApp, bool bIsIPOwne SfxObjectBars_Impl& rBar = pImp->aObjBars[nPos & SFX_POSITION_MASK]; rBar.nMode = nPos; - rBar.nResId = pIFace->GetObjectBarResId(nNo).GetId(); + rBar.nResId = pIFace->GetObjectBarId(nNo); rBar.pIFace = pIFace; if ( bUIActive || bIsActive ) |