summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/recfloat.cxx
diff options
context:
space:
mode:
authorThomas Benisch [tbe] <thomas.benisch@oracle.com>2011-02-18 10:29:07 +0100
committerThomas Benisch [tbe] <thomas.benisch@oracle.com>2011-02-18 10:29:07 +0100
commit51438c2d9ea3693fb61324c439ce6d4af5d539bc (patch)
tree78d61710ac7ddd551104ac9c2d7122cc7a8d2106 /sfx2/source/dialog/recfloat.cxx
parent3bcceaa72b950f3d3874f9efee7913fc1c95a74d (diff)
parentcd0d6a5a6775f197fdb7e78b54c8133074a7a236 (diff)
chart53: merge with DEV300_m100
Diffstat (limited to 'sfx2/source/dialog/recfloat.cxx')
-rw-r--r--sfx2/source/dialog/recfloat.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/dialog/recfloat.cxx b/sfx2/source/dialog/recfloat.cxx
index aaabdd3e5d74..7b24a3862811 100644
--- a/sfx2/source/dialog/recfloat.cxx
+++ b/sfx2/source/dialog/recfloat.cxx
@@ -148,21 +148,21 @@ static rtl::OUString GetLabelFromCommandURL( const rtl::OUString& rCommandURL, c
SFX_IMPL_FLOATINGWINDOW( SfxRecordingFloatWrapper_Impl, SID_RECORDING_FLOATWINDOW );
SfxRecordingFloatWrapper_Impl::SfxRecordingFloatWrapper_Impl( Window* pParentWnd ,
- USHORT nId ,
+ sal_uInt16 nId ,
SfxBindings* pBind ,
SfxChildWinInfo* pInfo )
: SfxChildWindow( pParentWnd, nId )
, pBindings( pBind )
{
pWindow = new SfxRecordingFloat_Impl( pBindings, this, pParentWnd );
- SetWantsFocus( FALSE );
+ SetWantsFocus( sal_False );
eChildAlignment = SFX_ALIGN_NOALIGNMENT;
( ( SfxFloatingWindow* ) pWindow )->Initialize( pInfo );
}
SfxRecordingFloatWrapper_Impl::~SfxRecordingFloatWrapper_Impl()
{
- SfxBoolItem aItem( FN_PARAM_1, TRUE );
+ SfxBoolItem aItem( FN_PARAM_1, sal_True );
com::sun::star::uno::Reference< com::sun::star::frame::XDispatchRecorder > xRecorder = pBindings->GetRecorder();
if ( xRecorder.is() )
pBindings->GetDispatcher()->Execute( SID_STOP_RECORDING, SFX_CALLMODE_SYNCHRON, &aItem, 0L );
@@ -171,7 +171,7 @@ SfxRecordingFloatWrapper_Impl::~SfxRecordingFloatWrapper_Impl()
sal_Bool SfxRecordingFloatWrapper_Impl::QueryClose()
{
// asking for recorded macro should be replaced if index access is available!
- BOOL bRet = TRUE;
+ sal_Bool bRet = sal_True;
com::sun::star::uno::Reference< com::sun::star::frame::XDispatchRecorder > xRecorder = pBindings->GetRecorder();
if ( xRecorder.is() && xRecorder->getRecordedMacro().getLength() )
{
@@ -221,7 +221,7 @@ SfxRecordingFloat_Impl::SfxRecordingFloat_Impl(
aTbx.SetSelectHdl( LINK( this, SfxRecordingFloat_Impl, Select ) );
// start recording
- SfxBoolItem aItem( SID_RECORDMACRO, TRUE );
+ SfxBoolItem aItem( SID_RECORDMACRO, sal_True );
GetBindings().GetDispatcher()->Execute( SID_RECORDMACRO, SFX_CALLMODE_SYNCHRON, &aItem, 0L );
}
@@ -240,9 +240,9 @@ SfxRecordingFloat_Impl::~SfxRecordingFloat_Impl()
}
}
-BOOL SfxRecordingFloat_Impl::Close()
+sal_Bool SfxRecordingFloat_Impl::Close()
{
- BOOL bRet = SfxFloatingWindow::Close();
+ sal_Bool bRet = SfxFloatingWindow::Close();
return bRet;
}