summaryrefslogtreecommitdiff
path: root/sfx2/source/view
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-11 16:23:55 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-11 16:23:55 +0100
commit66356194e2a9b45df904e6452b954b9e15a121c3 (patch)
tree4d3d153c76d31cbf187807334f60eaf3cfa0671f /sfx2/source/view
parentce4e7d16a32df7448947e4cc72836bfea9aace26 (diff)
removetooltypes01: #i112600# do not affect FASTBOOL in this cws
Diffstat (limited to 'sfx2/source/view')
-rw-r--r--sfx2/source/view/viewfrm.cxx4
-rw-r--r--sfx2/source/view/viewprn.cxx4
-rw-r--r--sfx2/source/view/viewsh.cxx8
3 files changed, 6 insertions, 10 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index abc863e36887..d88c097a0d57 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -3028,7 +3028,6 @@ void SfxViewFrame::AddDispatchMacroToBasic_Impl( const ::rtl::OUString& sMacro )
void SfxViewFrame::MiscExec_Impl( SfxRequest& rReq )
{
DBG_MEMTEST();
- int bDone = sal_False;
switch ( rReq.GetSlot() )
{
case SID_STOP_RECORDING :
@@ -3207,9 +3206,6 @@ void SfxViewFrame::MiscExec_Impl( SfxRequest& rReq )
break;
}
}
-
- if ( bDone )
- rReq.Done();
}
void SfxViewFrame::MiscState_Impl(SfxItemSet &rSet)
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index 2907d31ef709..9f244a1c303d 100644
--- a/sfx2/source/view/viewprn.cxx
+++ b/sfx2/source/view/viewprn.cxx
@@ -528,8 +528,8 @@ SfxPrinter* SfxViewShell::SetPrinter_Impl( SfxPrinter *pNewPrinter )
SfxPrinter *pDocPrinter = GetPrinter();
// Printer-Options auswerten
- int bOriToDoc = sal_False;
- int bSizeToDoc = sal_False;
+ bool bOriToDoc = false;
+ bool bSizeToDoc = false;
if ( &pDocPrinter->GetOptions() )
{
sal_uInt16 nWhich = GetPool().GetWhich(SID_PRINTER_CHANGESTODOC);
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index cfa336470738..88b185482abb 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1758,7 +1758,7 @@ sal_Bool SfxViewShell::ExecKey_Impl(const KeyEvent& aKey)
//--------------------------------------------------------------------
-int SfxViewShell::KeyInput( const KeyEvent &rKeyEvent )
+FASTBOOL SfxViewShell::KeyInput( const KeyEvent &rKeyEvent )
/* [Beschreibung]
@@ -1769,7 +1769,7 @@ int SfxViewShell::KeyInput( const KeyEvent &rKeyEvent )
[R"uckgabewert]
- int TRUE
+ FASTBOOL sal_True
die Taste ist konfiguriert, der betreffende
Handler wurde gerufen
@@ -1785,14 +1785,14 @@ int SfxViewShell::KeyInput( const KeyEvent &rKeyEvent )
return ExecKey_Impl(rKeyEvent);
}
-int SfxViewShell::GlobalKeyInput_Impl( const KeyEvent &rKeyEvent )
+bool SfxViewShell::GlobalKeyInput_Impl( const KeyEvent &rKeyEvent )
{
return ExecKey_Impl(rKeyEvent);
}
//--------------------------------------------------------------------
-void SfxViewShell::ShowCursor( int /*bOn*/ )
+void SfxViewShell::ShowCursor( FASTBOOL /*bOn*/ )
/* [Beschreibung]