summaryrefslogtreecommitdiff
path: root/sfx2/source/statbar
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2015-11-07 14:43:19 +0100
committerOliver Specht <oliver.specht@cib.de>2015-11-11 10:49:30 +0000
commitfa91dd31f39a24329d288d4e1cda28db3a16af0d (patch)
tree603d7c206ac0ec1f1a08cc9f3bf8835bd8d2fb2f /sfx2/source/statbar
parentc21ddcdb30b8dd7be56176e00bc2d4780cb342e1 (diff)
5th step to remove tools/rtti.hxx
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'sfx2/source/statbar')
-rw-r--r--sfx2/source/statbar/stbitem.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index 3417c09fa27c..4c0d962a3383 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -604,7 +604,7 @@ SfxStatusBarControl* SfxStatusBarControl::CreateControl
else
pSlotPool = &SfxSlotPool::GetSlotPool();
- TypeId aSlotType = pSlotPool->GetSlotType(nSlotID);
+ const std::type_info* aSlotType = pSlotPool->GetSlotType(nSlotID);
if ( aSlotType )
{
if ( pMod )
@@ -614,7 +614,7 @@ SfxStatusBarControl* SfxStatusBarControl::CreateControl
{
SfxStbCtrlFactArr_Impl &rFactories = *pFactories;
for ( size_t nFactory = 0; nFactory < rFactories.size(); ++nFactory )
- if ( rFactories[nFactory].nTypeId == aSlotType &&
+ if ( rFactories[nFactory].nTypeId == *aSlotType &&
( ( rFactories[nFactory].nSlotId == 0 ) ||
( rFactories[nFactory].nSlotId == nSlotID) ) )
return rFactories[nFactory].pCtor( nSlotID, nStbId, *pBar );
@@ -623,7 +623,7 @@ SfxStatusBarControl* SfxStatusBarControl::CreateControl
SfxStbCtrlFactArr_Impl &rFactories = pApp->GetStbCtrlFactories_Impl();
for ( size_t nFactory = 0; nFactory < rFactories.size(); ++nFactory )
- if ( rFactories[nFactory].nTypeId == aSlotType &&
+ if ( rFactories[nFactory].nTypeId == *aSlotType &&
( ( rFactories[nFactory].nSlotId == 0 ) ||
( rFactories[nFactory].nSlotId == nSlotID) ) )
return rFactories[nFactory].pCtor( nSlotID, nStbId, *pBar );