[Libreoffice-commits] core.git: sfx2/source
Julien Nabet
serval2412 at yahoo.fr
Mon May 5 22:39:41 PDT 2014
sfx2/source/statbar/stbitem.cxx | 2 +-
sfx2/source/toolbox/tbxitem.cxx | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 3f569908ac72c20826a45ebed59af9b1e5449207
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Tue May 6 07:39:09 2014 +0200
Remove C11ism
Change-Id: I093ef950f7097021dec3b829d4e11e7b20fc9292
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index 549b46f..df13974 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -286,7 +286,7 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception )
rEvent.State >>= sTemp ;
pItem = new SfxStringItem( nSlotID, sTemp );
}
- else if ( pType == cppu::UnoType<::com::sun::star::frame::status::ItemStatus>::get() )
+ else if ( pType == cppu::UnoType< ::com::sun::star::frame::status::ItemStatus>::get() )
{
frame::status::ItemStatus aItemStatus;
rEvent.State >>= aItemStatus;
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index bb1be33..2b4efb0 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -565,14 +565,14 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception )
rEvent.State >>= sTemp ;
pItem = new SfxStringItem( nSlotId, sTemp );
}
- else if ( pType == cppu::UnoType<::com::sun::star::frame::status::ItemStatus>::get() )
+ else if ( pType == cppu::UnoType< ::com::sun::star::frame::status::ItemStatus>::get() )
{
ItemStatus aItemStatus;
rEvent.State >>= aItemStatus;
eState = aItemStatus.State;
pItem = new SfxVoidItem( nSlotId );
}
- else if ( pType == cppu::UnoType<::com::sun::star::frame::status::Visibility>::get() )
+ else if ( pType == cppu::UnoType< ::com::sun::star::frame::status::Visibility>::get() )
{
Visibility aVisibilityStatus;
rEvent.State >>= aVisibilityStatus;
@@ -1111,14 +1111,14 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception )
rEvent.State >>= sTemp ;
pItem = new SfxStringItem( nSlotId, sTemp );
}
- else if ( pType == cppu::UnoType<::com::sun::star::frame::status::ItemStatus>::get() )
+ else if ( pType == cppu::UnoType< ::com::sun::star::frame::status::ItemStatus>::get() )
{
ItemStatus aItemStatus;
rEvent.State >>= aItemStatus;
eState = aItemStatus.State;
pItem = new SfxVoidItem( nSlotId );
}
- else if ( pType == cppu::UnoType<::com::sun::star::frame::status::Visibility>::get() )
+ else if ( pType == cppu::UnoType< ::com::sun::star::frame::status::Visibility>::get() )
{
Visibility aVisibilityStatus;
rEvent.State >>= aVisibilityStatus;
More information about the Libreoffice-commits
mailing list