summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slidesorter/inc')
-rwxr-xr-xsd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx10
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx4
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx2
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx24
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx2
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx8
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx4
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsProperties.hxx24
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx14
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx8
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx4
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx6
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsTransferable.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx14
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx4
-rwxr-xr-x[-rw-r--r--]sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx10
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx14
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx8
-rwxr-xr-xsd/source/ui/slidesorter/inc/view/SlsPageObjectViewContact.hxx2
-rwxr-xr-x[-rw-r--r--]sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx4
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsTheme.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsToolTip.hxx4
24 files changed, 89 insertions, 89 deletions
diff --git a/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx b/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
index ba3e9346f28f..8596f8a0ce25 100755
--- a/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
+++ b/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
@@ -78,7 +78,7 @@ public:
the list of visible entries and maybe for the list of not visible
entries and creates preview creation requests for them.
@param bVisible
- When this is <FALSE/> then the implementation can decide whether
+ When this is <sal_False/> then the implementation can decide whether
to allow rendering of previews that are not visible (ahead of
time). When not then return an empty pointer or an empty vector.
*/
diff --git a/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx b/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
index bd2b542c5d87..defcc996dccc 100644
--- a/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
+++ b/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
@@ -108,9 +108,9 @@ public:
@param rRequestData
This data is used to determine the preview.
@param bResize
- When <TRUE/> then when the available bitmap has not the
+ When <sal_True/> then when the available bitmap has not the
requested size, it is scaled before it is returned. When
- <FALSE/> then the bitmap is returned in the wrong size and it is
+ <sal_False/> then the bitmap is returned in the wrong size and it is
the task of the caller to scale it.
@return
Returns a bitmap that is either empty, contains a scaled (up or
@@ -137,7 +137,7 @@ public:
data is not up-to-date anymore. This will invalidate all previews
in other caches that represent the same page as well.
@param bRequestPreview
- When <TRUE/> then a new preview is requested and will lead
+ When <sal_True/> then a new preview is requested and will lead
eventually to a repaint of the associated page object.
*/
void InvalidatePreviewBitmap (
@@ -154,8 +154,8 @@ public:
This is the case when the size of the page objects on the screen has
changed or when the model has changed.
@param bUpdateCache
- When this flags is <TRUE/> then requests for updated previews
- are created. When it is <FALSE/> the existing previews are only
+ When this flags is <sal_True/> then requests for updated previews
+ are created. When it is <sal_False/> the existing previews are only
marked as not being up-to-date anymore.
*/
void InvalidateCache (const bool bUpdateCache = true);
diff --git a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
index b6309f80d0b4..e9ef3e0fb725 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
@@ -100,7 +100,7 @@ public:
filler, the actual slide sorter view--are visible and place them in
the area last passed to Resize().
@param bForce
- When <TRUE/> is given (<FALSE/> is the default) then the content
+ When <sal_True/> is given (<sal_False/> is the default) then the content
window and with it the SlideSorterView is resized event when its
size does not change (the size does change when the visibility
of scroll bars changes.)
@@ -203,7 +203,7 @@ public:
this method should be called between calls to
PrepareEditModeChange() and FinishEditModeChange().
@return
- A return value of <TRUE/> indicates that the edit mode has
+ A return value of <sal_True/> indicates that the edit mode has
changed.
*/
bool ChangeEditMode (EditMode eEditMode);
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx b/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
index 2d8418e49631..08be80c4e487 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
@@ -123,7 +123,7 @@ private:
@param nTime
Time measured in milli seconds with some arbitrary reference point.
@return
- When one or more animation has finished then <TRUE/> is
+ When one or more animation has finished then <sal_True/> is
returned. Call CleanUpAnimationList() in this case.
*/
bool ProcessAnimations (const double nTime);
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
index 9b7b1f5ec2d3..ae6f2dceb277 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
@@ -87,25 +87,25 @@ public:
const AcceptDropEvent& rEvt,
DropTargetHelper& rTargetHelper,
::sd::Window* pTargetWindow = NULL,
- USHORT nPage = SDRPAGE_NOTFOUND,
- USHORT nLayer = SDRPAGE_NOTFOUND );
+ sal_uInt16 nPage = SDRPAGE_NOTFOUND,
+ sal_uInt16 nLayer = SDRPAGE_NOTFOUND );
sal_Int8 ExecuteDrop (
const ExecuteDropEvent& rEvt,
DropTargetHelper& rTargetHelper,
::sd::Window* pTargetWindow = NULL,
- USHORT nPage = SDRPAGE_NOTFOUND,
- USHORT nLayer = SDRPAGE_NOTFOUND);
+ sal_uInt16 nPage = SDRPAGE_NOTFOUND,
+ sal_uInt16 nLayer = SDRPAGE_NOTFOUND);
void Abort (void);
protected:
- virtual USHORT DetermineInsertPosition (
+ virtual sal_uInt16 DetermineInsertPosition (
const SdTransferable& rTransferable);
- virtual USHORT InsertSlides (
+ virtual sal_uInt16 InsertSlides (
const SdTransferable& rTransferable,
- USHORT nInsertPosition);
+ sal_uInt16 nInsertPosition);
private:
SlideSorter& mrSlideSorter;
@@ -126,7 +126,7 @@ private:
/** When pages are moved or copied then the selection of the slide
sorter has to be updated. This flag is used to remember whether the
- selection has to be updated or can stay as it is (FALSE).
+ selection has to be updated or can stay as it is (sal_False).
*/
bool mbUpdateSelectionPending;
@@ -137,7 +137,7 @@ private:
::boost::scoped_ptr<UndoContext> mpUndoContext;
::boost::scoped_ptr<SelectionObserver::Context> mpSelectionObserverContext;
- ULONG mnDragFinishedUserEventId;
+ sal_uLong mnDragFinishedUserEventId;
void CreateSlideTransferable (
::Window* pWindow,
@@ -179,7 +179,7 @@ private:
*/
void SelectPageRange (sal_Int32 nFirstIndex, sal_Int32 nPageCount);
- /** Return <TRUE/> when the current transferable in the current state of
+ /** Return <sal_True/> when the current transferable in the current state of
the slidesorter is acceptable to be pasted. For this the
transferable has to
a) exist,
@@ -218,8 +218,8 @@ private:
const void* pDropEvent ,
DropTargetHelper& rTargetHelper,
::sd::Window* pTargetWindow,
- USHORT nPage,
- USHORT nLayer);
+ sal_uInt16 nPage,
+ sal_uInt16 nLayer);
/** Asynchronous part of DragFinished. The argument is the sal_Int8
nDropAction, disguised as void*.
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx
index f49207a0bd48..1039f4414ab8 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx
@@ -72,7 +72,7 @@ public:
@param nSlideIndex
Zero based index in the range [0,number-of-slides).
@param bUpdateSelection
- When <TRUE/> then the page selection is cleared and only the new
+ When <sal_True/> then the page selection is cleared and only the new
current slide is selected.
*/
void SwitchCurrentSlide (
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
index 1d5aaee7a130..f86835bfca1b 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
@@ -85,7 +85,7 @@ public:
/** Show the focus indicator of the current slide.
@param bScrollToFocus
- When <TRUE/> (the default) then the view is scrolled so that the
+ When <sal_True/> (the default) then the view is scrolled so that the
focus rectangle lies inside its visible area.
*/
void ShowFocus (const bool bScrollToFocus = true);
@@ -137,9 +137,9 @@ public:
void SetFocusedPageToCurrentPage (void);
- /** Return <TRUE/> when the focus inidcator is currently shown. A
+ /** Return <sal_True/> when the focus inidcator is currently shown. A
prerequisite is that the window managed by this focus manager has
- the input focus as indicated by a <TRUE/> return value of
+ the input focus as indicated by a <sal_True/> return value of
HasFocus(). It is not necessary that the focus indicator is
visible. It may have been scrolled outside the visible area.
*/
@@ -214,7 +214,7 @@ private:
@param pDescriptor
When NULL is given then the call is ignored.
@param bScrollToFocus
- When <TRUE/> (the default) then the view is scrolled so that the
+ When <sal_True/> (the default) then the view is scrolled so that the
focus rectangle lies inside its visible area.
*/
void ShowFocusIndicator (
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx
index b0a9cfa148cb..cc39463ae73a 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx
@@ -103,7 +103,7 @@ public:
/** Deselect the descriptor that is associated with the given page.
@param bUpdateCurrentPage
- When <TRUE/> then the current page is updated to the first slide
+ When <sal_True/> then the current page is updated to the first slide
of the remaining selection.
*/
void DeselectPage (
@@ -151,7 +151,7 @@ public:
this method with the selection. When pages have been inserted
or removed the result may be unexpected.
@param bUpdateCurrentPage
- When <TRUE/> (the default value) then after setting the
+ When <sal_True/> (the default value) then after setting the
selection update the current page to the first page of the
selection.
When called from withing UpdateCurrentPage() then this flag is
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
index 06d239c81da3..8b4ac62e782a 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
@@ -45,44 +45,44 @@ public:
*/
void HandleDataChangeEvent (void);
- /** When this method returns <TRUE/> then the current slide is
- highlighted in the view. The default value is <FALSE/>.
+ /** When this method returns <sal_True/> then the current slide is
+ highlighted in the view. The default value is <sal_False/>.
*/
bool IsHighlightCurrentSlide (void) const;
void SetHighlightCurrentSlide (const bool bIsHighlightCurrentSlide);
- /** When this method returns <TRUE/> then the selection is indicated in
+ /** When this method returns <sal_True/> then the selection is indicated in
the view (typically by drawing rectangles around the selected
- slides.) The default value is <TRUE/>.
+ slides.) The default value is <sal_True/>.
*/
bool IsShowSelection (void) const;
void SetShowSelection (const bool bIsShowSelection);
- /** When this method returns <TRUE/> then the focusdselection is indicated in
+ /** When this method returns <sal_True/> then the focusdselection is indicated in
the view (typically by drawing dotted rectangles around the selected
- slides.) The default value is <TRUE/>.
+ slides.) The default value is <sal_True/>.
*/
bool IsShowFocus (void) const;
void SetShowFocus (const bool bIsShowFocus);
- /** When this method returns <TRUE/> then on a selection change the
+ /** When this method returns <sal_True/> then on a selection change the
visible area is adapted so that the selected slides are shown
centered in the view. This can be used to center the current slide
- by selecting only the current slide. The default value is <FALSE/>.
+ by selecting only the current slide. The default value is <sal_False/>.
*/
bool IsCenterSelection (void) const;
void SetCenterSelection (const bool bIsCenterSelection);
- /** When this mehod returns <TRUE/> then the view may try to change the
+ /** When this mehod returns <sal_True/> then the view may try to change the
visible area by scrolling it smoothly on the screen. Experimental.
- Default value is <FALSE/>.
+ Default value is <sal_False/>.
*/
bool IsSmoothSelectionScrolling (void) const;
void SetSmoothSelectionScrolling (const bool bIsSmoothSelectionScrolling);
- /** When this method returns <TRUE/> then during a full screen
+ /** When this method returns <sal_True/> then during a full screen
presentation the previews in a slide sorter are not updated.
- Default value is <TRUE/>.
+ Default value is <sal_True/>.
*/
bool IsSuspendPreviewUpdatesDuringFullScreenPresentation (void) const;
void SetSuspendPreviewUpdatesDuringFullScreenPresentation (const bool bFlag);
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
index fa2aae6111fb..f1e674a2ad56 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
@@ -101,10 +101,10 @@ public:
were inserted or deleted, the layout or the zoom factor has
changed.
@param bResetThumbPosition
- When <TRUE/> then set the thumb position to position 0. This is
+ When <sal_True/> then set the thumb position to position 0. This is
done when e.g. switching between master page mode and draw mode.
@param bScrollToCurrentPosition
- When <TRUE/> then scroll the window to the new offset that is
+ When <sal_True/> then scroll the window to the new offset that is
defined by the scroll bars. Otherwise the new offset is simply
set and the whole window is repainted.
*/
@@ -119,10 +119,10 @@ public:
The scroll bars will be placed inside this rectangle. It is
expected to be given in pixel relative to its parent.
@param bIsHorizontalScrollBarAllowed
- Only when this flag is <TRUE/> the horizontal scroll may be
+ Only when this flag is <sal_True/> the horizontal scroll may be
displayed.
@param bIsVerticalScrollBarAllowed
- Only when this flag is <TRUE/> the horizontal scroll may be
+ Only when this flag is <sal_True/> the horizontal scroll may be
displayed.
@return
Returns the space that remains after the scroll bars are
@@ -166,8 +166,8 @@ public:
@param rAutoScrollFunctor
Every time when the window is scrolled then this functor is executed.
@return
- When the window is scrolled then this method returns <TRUE/>.
- When the window is not changed then <FALSE/> is returned.
+ When the window is scrolled then this method returns <sal_True/>.
+ When the window is not changed then <sal_False/> is returned.
*/
bool AutoScroll (
const Point& rMouseWindowPosition,
@@ -258,7 +258,7 @@ private:
or hidden.
@return
When the window content can be shown with only being clipped in
- an orientation where the scroll bar would be shown then <TRUE/>
+ an orientation where the scroll bar would be shown then <sal_True/>
is returned.
*/
bool TestScrollBarVisibilities (
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
index 9dcd0abb646c..f3963ae04255 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
@@ -62,10 +62,10 @@ public:
static FunctionReference Create( SlideSorter& rSlideSorter, SfxRequest& rRequest );
// Mouse- & Key-Events
- virtual BOOL KeyInput(const KeyEvent& rKEvt);
- virtual BOOL MouseMove(const MouseEvent& rMEvt);
- virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
- virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+ virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
+ virtual sal_Bool MouseMove(const MouseEvent& rMEvt);
+ virtual sal_Bool MouseButtonUp(const MouseEvent& rMEvt);
+ virtual sal_Bool MouseButtonDown(const MouseEvent& rMEvt);
virtual void Activate();
virtual void Deactivate();
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx
index a9617a88c2e6..49ebfc394ac9 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx
@@ -66,9 +66,9 @@ public:
/** Delete the currently selected slides. When this method returns the
selection is empty.
@param bSelectFollowingPage
- When <TRUE/> then after deleting the selected pages make the
+ When <sal_True/> then after deleting the selected pages make the
slide after the last selected page the new current page.
- When <FALSE/> then make the first slide before the selected
+ When <sal_False/> then make the first slide before the selected
pages the new current slide.
*/
void DeleteSelectedPages (const bool bSelectFollowingPage = true);
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx
index 5b8c7d9a08b6..f149365f710a 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx
@@ -50,9 +50,9 @@ class SlideFunction
public:
TYPEINFO();
- virtual BOOL MouseMove (const MouseEvent& rMEvt);
- virtual BOOL MouseButtonUp (const MouseEvent& rMEvt);
- virtual BOOL MouseButtonDown (const MouseEvent& rMEvt);
+ virtual sal_Bool MouseMove (const MouseEvent& rMEvt);
+ virtual sal_Bool MouseButtonUp (const MouseEvent& rMEvt);
+ virtual sal_Bool MouseButtonDown (const MouseEvent& rMEvt);
/** Called from ForceScroll() before the actual scrolling.
*/
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx
index d2c9f7481624..4a678dcbfd06 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx
@@ -103,7 +103,7 @@ private:
*/
void RenameSlide (void);
DECL_LINK(RenameSlideHdl, AbstractSvxNameDialog*);
- bool RenameSlideFromDrawViewShell( USHORT nPageId, const String& rName);
+ bool RenameSlideFromDrawViewShell( sal_uInt16 nPageId, const String& rName);
/** Handle SID_INSERTPAGE slot calls.
*/
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsTransferable.hxx b/sd/source/ui/slidesorter/inc/controller/SlsTransferable.hxx
index 289fb1f5f072..c0a09e73bfe9 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsTransferable.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsTransferable.hxx
@@ -65,7 +65,7 @@ public:
Transferable (
SdDrawDocument* pSrcDoc,
::sd::View* pWorkView,
- BOOL bInitOnGetData,
+ sal_Bool bInitOnGetData,
SlideSorterViewShell* pViewShell,
const ::std::vector<Representative>& rRepresentatives);
diff --git a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
index 9dfd861fd5cf..a5fa4a6e0c42 100644
--- a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
@@ -59,8 +59,8 @@ namespace sd { namespace slidesorter { namespace model {
class DocumentPageContainer;
-inline sal_Int32 FromCoreIndex (const USHORT nCoreIndex) { return (nCoreIndex-1)/2; }
-inline USHORT ToCoreIndex (const sal_Int32 nIndex) { return nIndex*2+1; }
+inline sal_Int32 FromCoreIndex (const sal_uInt16 nCoreIndex) { return (nCoreIndex-1)/2; }
+inline sal_uInt16 ToCoreIndex (const sal_Int32 nIndex) { return nIndex*2+1; }
/** The model of the slide sorter gives access to the slides that are to be
displayed in the slide sorter view. Via the SetDocumentSlides() method
@@ -86,7 +86,7 @@ public:
previous page descriptor list is replaced by a new one which
has to be repainted.
@return
- A return value of <TRUE/> indicates that the edit mode has
+ A return value of <sal_True/> indicates that the edit mode has
changed and thus the page descriptor list has been set up
to reflect that change. A repaint is necessary.
*/
@@ -112,8 +112,8 @@ public:
The index of the requested slide. The valid values
are 0 to GetPageCount()-1.
@param bCreate
- When <TRUE/> and the requested page descriptor is missing then
- it is created. When <FALSE/> then an empty reference is
+ When <sal_True/> and the requested page descriptor is missing then
+ it is created. When <sal_False/> then an empty reference is
returned for missing descriptors.
@return
When the given index is not valid, i.e. lower then zero or
@@ -155,7 +155,7 @@ public:
the n*2+1 magic. Only when a special model is set, like a custom
slide show, then the returned value is different.
*/
- USHORT GetCoreIndex (const sal_Int32 nIndex) const;
+ sal_uInt16 GetCoreIndex (const sal_Int32 nIndex) const;
/** Call this method after the document has changed its structure. This
will get the model in sync with the SdDrawDocument. This method
@@ -221,7 +221,7 @@ public:
/** Typically called from controller::Listener this method handles the
insertion and deletion of single pages.
@return
- Returns <TRUE/> when the given page is relevant for the current
+ Returns <sal_True/> when the given page is relevant for the current
page kind and edit mode.
*/
bool NotifyPageEvent (const SdrPage* pPage);
diff --git a/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx b/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx
index 276f1a7c10a7..93b1366b5910 100644
--- a/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx
@@ -112,9 +112,9 @@ public:
page it describes and determine whether a redraw to update the
selection indicator is necessary.
@return
- When the two selection states were different <TRUE/> is
+ When the two selection states were different <sal_True/> is
returned. When they were the same this method returns
- <FALSE/>.
+ <sal_False/>.
*/
bool GetCoreSelection (void);
diff --git a/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx b/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx
index 3586eead3532..ec44229515e2 100644..100755
--- a/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx
@@ -59,7 +59,7 @@ public:
The new page enumeration enumerates the pages of this model.
@param rPredicate
This predicate determines which pages to include in the
- enumeration. Pages for which rPredicate returns <FALSE/> are
+ enumeration. Pages for which rPredicate returns <sal_False/> are
exclude.
*/
typedef ::boost::function<bool(const SharedPageDescriptor&)> PagePredicate;
@@ -78,8 +78,8 @@ public:
constructor only when you know what you are doing. When in doubt,
use the one argument version.
@param bCloneImpl
- When <TRUE/> is given this constructor behaves exactly like its
- one argument version. When <FALSE/> is given then the
+ When <sal_True/> is given this constructor behaves exactly like its
+ one argument version. When <sal_False/> is given then the
implementation object is not copied but moved from the given
enumeration to the newly created one. The given enumeration
thus becomes empty.
@@ -92,7 +92,7 @@ public:
PageEnumeration& operator= (const PageEnumeration& rEnumeration);
- /** Return <TRUE/> when the enumeration has more elements, i.e. it is
+ /** Return <sal_True/> when the enumeration has more elements, i.e. it is
save to call GetNextElement() at least one more time.
*/
virtual bool HasMoreElements (void) const;
@@ -100,7 +100,7 @@ public:
/** Return the next element of the enumeration. Call the
HasMoreElements() before to make sure that there exists at least one
more element. Calling this method with HasMoreElements() returning
- <FALSE/> is an error.
+ <sal_False/> is an error.
*/
virtual SharedPageDescriptor GetNextElement (void);
diff --git a/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx b/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx
index 460c915f8a56..bd1651c11bd4 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx
@@ -73,7 +73,7 @@ public:
/** Return the number of buttons that are to be displayed in page
objects which the mouse hovers over.
@param bIsExcluded
- When this flag is <TRUE/> then return the number of
+ When this flag is <sal_True/> then return the number of
buttons that is to be displayed for pages that are
excluded from the slide show.
*/
@@ -83,7 +83,7 @@ public:
@param nIndex
Valid values lie in the range [0,GetButtonCount()).
@param bIsExcluded
- When this flag is <TRUE/> then return a button that is to
+ When this flag is <sal_True/> then return a button that is to
be displayed for pages that are excluded from the slide
show.
@return
@@ -116,8 +116,8 @@ public:
/** Request the button bar to be shown.
@param bAnimate
- This flag controls whether to just show the button bar (<FALSE/>)
- or to fade it in smoothly (<TRUE/>.)
+ This flag controls whether to just show the button bar (<sal_False/>)
+ or to fade it in smoothly (<sal_True/>.)
*/
void RequestFadeIn (
const model::SharedPageDescriptor& rpDescriptor,
@@ -125,8 +125,8 @@ public:
/** Request the button bar to be hidden.
@param bAnimate
- This flag controls whether to just hide the button bar (<FALSE/>)
- or to fade it out smoothly (<TRUE/>.)
+ This flag controls whether to just hide the button bar (<sal_False/>)
+ or to fade it out smoothly (<sal_True/>.)
*/
void RequestFadeOut (
const model::SharedPageDescriptor& rpDescriptor,
@@ -217,7 +217,7 @@ public:
/** Set a new state.
@return
When the new state is different from the old state
- then <TRUE/> is returned.
+ then <sal_True/> is returned.
*/
bool SetState (const State eState);
State GetState (void) const;
diff --git a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx
index 4d19e41e881b..256bab308ee9 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx
@@ -130,7 +130,7 @@ public:
page objects.
@return
The return value indicates whether the Get... methods can be
- used to obtain valid values (<TRUE/>).
+ used to obtain valid values (<sal_True/>).
*/
bool Rearrange (
const Orientation eOrientation,
@@ -189,16 +189,16 @@ public:
The position is expected to be in model coordinates relative to
the page origin.
@param bIncludePageBorders
- When <TRUE/> then include the page borders into the calculation,
+ When <sal_True/> then include the page borders into the calculation,
i.e. when a point lies in the border of a page object but not on
the actual page area the index of that page is returned;
otherwise -1 would be returned to indicate that no page object
has been hit.
@param bClampToValidRange
- When <TRUE/> then values outside the valid range [0,mnPageCount)
+ When <sal_True/> then values outside the valid range [0,mnPageCount)
are mapped to 0 (when smaller than 0) or mnPageCount-1 when
equal to or larger than mnPageCount.
- When <FALSE/> then -1 is returned for values outside the valid range.
+ When <sal_False/> then -1 is returned for values outside the valid range.
@return
The returned index may be larger than the number of existing
page objects.
diff --git a/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewContact.hxx b/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewContact.hxx
index 31899d3b3e44..e7a06e7f7c25 100755
--- a/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewContact.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewContact.hxx
@@ -76,7 +76,7 @@ protected:
virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const;
private:
- /** This flag is set to <TRUE/> when the destructor is called to
+ /** This flag is set to <sal_True/> when the destructor is called to
indicate that further calls made to it must not call outside.
*/
bool mbInDestructor;
diff --git a/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx b/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx
index 7e884fc54797..65911a1a3474 100644..100755
--- a/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx
@@ -131,7 +131,7 @@ public:
/** Paint a mouse over effect.
@param bVisible
- When bVisible is <FALSE/> then paint the area of the mouse over
+ When bVisible is <sal_False/> then paint the area of the mouse over
effect in the background color, i.e. erase it.
*/
drawinglayer::primitive2d::Primitive2DSequence createMouseOverEffectPrimitive2DSequence();
@@ -197,7 +197,7 @@ private:
static const sal_Int32 mnMouseOverEffectOffset;
static const sal_Int32 mnMouseOverEffectThickness;
- /** This flag is set to <TRUE/> when the destructor is called to
+ /** This flag is set to <sal_True/> when the destructor is called to
indicate that further calls made to it must not call outside.
*/
bool mbInDestructor;
diff --git a/sd/source/ui/slidesorter/inc/view/SlsTheme.hxx b/sd/source/ui/slidesorter/inc/view/SlsTheme.hxx
index 2b39e6d2a3ee..0781d8ea3519 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsTheme.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsTheme.hxx
@@ -227,7 +227,7 @@ private:
/** Guarded initialization of the specified icon in the maIcons
container. Call only while a LocalResource object is active.
*/
- void InitializeIcon (const IconType eType, USHORT nResourceId);
+ void InitializeIcon (const IconType eType, sal_uInt16 nResourceId);
};
diff --git a/sd/source/ui/slidesorter/inc/view/SlsToolTip.hxx b/sd/source/ui/slidesorter/inc/view/SlsToolTip.hxx
index b633b1f3f5ca..0883b7d39af1 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsToolTip.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsToolTip.hxx
@@ -77,12 +77,12 @@ private:
model::SharedPageDescriptor mpDescriptor;
::rtl::OUString msDefaultHelpText;
::rtl::OUString msCurrentHelpText;
- ULONG mnHelpWindowHandle;
+ sal_uLong mnHelpWindowHandle;
Timer maTimer;
/** Request to show the tool tip.
@param bForce
- When <TRUE/> then the tool tip is show right away. Otherwise it
+ When <sal_True/> then the tool tip is show right away. Otherwise it
is shown after a short delay.
*/
void Show (const bool bForce);