diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-17 11:41:00 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-17 11:41:00 +0100 |
commit | 3d6bed44c8ca414f60c03223482b9f7b94d56c14 (patch) | |
tree | 9b015da930eaf9856b5f05707245327185fff884 /sd/source/ui/view/ViewShellManager.cxx | |
parent | a4babcc4a08648e99d988fca640ab555da10048c (diff) |
removetooltypes01: #i112600# Remove tools types from sd
Diffstat (limited to 'sd/source/ui/view/ViewShellManager.cxx')
-rwxr-xr-x | sd/source/ui/view/ViewShellManager.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/view/ViewShellManager.cxx b/sd/source/ui/view/ViewShellManager.cxx index c1ffcb884cd1..1c27f4fe2198 100755 --- a/sd/source/ui/view/ViewShellManager.cxx +++ b/sd/source/ui/view/ViewShellManager.cxx @@ -930,7 +930,7 @@ void ViewShellManager::Implementation::UpdateShellStack (void) // 3. Get SFX shell stack. ShellStack aSfxShellStack; - USHORT nIndex (0); + sal_uInt16 nIndex (0); while (mrBase.GetSubShell(nIndex)!=NULL) ++nIndex; aSfxShellStack.reserve(nIndex); @@ -1026,7 +1026,7 @@ void ViewShellManager::Implementation::TakeShellsFromStack (const SfxShell* pShe // 0.Make sure that the given shell is on the stack. This is a // preparation for the following assertion. - for (USHORT nIndex=0; true; nIndex++) + for (sal_uInt16 nIndex=0; true; nIndex++) { SfxShell* pShellOnStack = mrBase.GetSubShell(nIndex); if (pShellOnStack == NULL) @@ -1044,7 +1044,7 @@ void ViewShellManager::Implementation::TakeShellsFromStack (const SfxShell* pShe { // 1. Deactivate our shells on the stack before they are removed so // that during the Deactivation() calls the stack is still intact. - for (USHORT nIndex=0; true; nIndex++) + for (sal_uInt16 nIndex=0; true; nIndex++) { SfxShell* pShellOnStack = mrBase.GetSubShell(nIndex); Deactivate(pShellOnStack); @@ -1187,7 +1187,7 @@ IMPL_LINK(ViewShellManager::Implementation, WindowEventHandler, VclWindowEvent*, break; } } - return TRUE; + return sal_True; } @@ -1340,7 +1340,7 @@ void ViewShellManager::Implementation::DumpShellStack (const ShellStack& rStack) void ViewShellManager::Implementation::DumpSfxShellStack (void) { ShellStack aSfxShellStack; - USHORT nIndex (0); + sal_uInt16 nIndex (0); while (mrBase.GetSubShell(nIndex)!=NULL) ++nIndex; aSfxShellStack.reserve(nIndex); @@ -1373,7 +1373,7 @@ void ViewShellManager::Implementation::Deactivate (SfxShell* pShell) } // Now we can deactivate the shell. - pShell->Deactivate(TRUE); + pShell->Deactivate(sal_True); } |