summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-28 14:27:20 +0200
committerNoel Grandin <noel@peralex.com>2014-03-03 08:59:37 +0200
commit0f60ab5ebf5ab7a7e4bd92cd8a34e86f27474131 (patch)
treeb7789e867917d1bb6d29e36d895658791482ff1a /include
parent074a2af8bc26d5d1ba3ef01016df7d6d122cfb9f (diff)
editeng: sal_Bool->bool
Change-Id: I4fc276e320294d57eb667b6db8e5eff078bc28b3
Diffstat (limited to 'include')
-rw-r--r--include/editeng/unoedprx.hxx10
-rw-r--r--include/editeng/unoedsrc.hxx20
-rw-r--r--include/editeng/unoviwou.hxx10
3 files changed, 20 insertions, 20 deletions
diff --git a/include/editeng/unoedprx.hxx b/include/editeng/unoedprx.hxx
index e716dc92c952..5fe0f6f8a609 100644
--- a/include/editeng/unoedprx.hxx
+++ b/include/editeng/unoedprx.hxx
@@ -123,11 +123,11 @@ public:
virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
// SvxEditViewForwarder interface
- virtual sal_Bool GetSelection( ESelection& rSelection ) const;
- virtual sal_Bool SetSelection( const ESelection& rSelection );
- virtual sal_Bool Copy();
- virtual sal_Bool Cut();
- virtual sal_Bool Paste();
+ virtual bool GetSelection( ESelection& rSelection ) const;
+ virtual bool SetSelection( const ESelection& rSelection );
+ virtual bool Copy();
+ virtual bool Cut();
+ virtual bool Paste();
void SetForwarder( SvxEditViewForwarder&, SvxAccessibleTextAdapter& );
diff --git a/include/editeng/unoedsrc.hxx b/include/editeng/unoedsrc.hxx
index 8f117169b7ee..5f4a7865cc4d 100644
--- a/include/editeng/unoedsrc.hxx
+++ b/include/editeng/unoedsrc.hxx
@@ -503,37 +503,37 @@ public:
@param rSelection
Contains the current selection after method call
- @return sal_False, if there is no view or no selection (the empty selection _is_ a selection)
+ @return false, if there is no view or no selection (the empty selection _is_ a selection)
*/
- virtual sal_Bool GetSelection( ESelection& rSelection ) const = 0;
+ virtual bool GetSelection( ESelection& rSelection ) const = 0;
/** Set selection in view.
@param rSelection
The selection to set
- @return sal_False, if there is no view or selection is invalid
+ @return false, if there is no view or selection is invalid
*/
- virtual sal_Bool SetSelection( const ESelection& rSelection ) = 0;
+ virtual bool SetSelection( const ESelection& rSelection ) = 0;
/** Copy current selection to clipboard.
- @return sal_False if no selection or no view (the empty selection _is_ a selection)
+ @return false if no selection or no view (the empty selection _is_ a selection)
*/
- virtual sal_Bool Copy() = 0;
+ virtual bool Copy() = 0;
/** Cut current selection to clipboard.
- @eturn sal_False if no selection or no view (the empty selection _is_ a selection)
+ @eturn balse if no selection or no view (the empty selection _is_ a selection)
*/
- virtual sal_Bool Cut() = 0;
+ virtual bool Cut() = 0;
/** Paste clipboard into current selection.
- @return sal_False if no view or no selection (the empty selection _is_ a selection)
+ @return false if no view or no selection (the empty selection _is_ a selection)
*/
- virtual sal_Bool Paste() = 0;
+ virtual bool Paste() = 0;
virtual sal_Bool IsWrongSpelledWordAtPos( sal_Int32, sal_Int32 ) { return sal_False; };
virtual sal_Bool IsShapeParaFocusable( ) { return sal_True; };
diff --git a/include/editeng/unoviwou.hxx b/include/editeng/unoviwou.hxx
index 3c6ebe927d1c..50f4c68f4d93 100644
--- a/include/editeng/unoviwou.hxx
+++ b/include/editeng/unoviwou.hxx
@@ -45,11 +45,11 @@ public:
virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
- virtual sal_Bool GetSelection( ESelection& rSelection ) const;
- virtual sal_Bool SetSelection( const ESelection& rSelection );
- virtual sal_Bool Copy();
- virtual sal_Bool Cut();
- virtual sal_Bool Paste();
+ virtual bool GetSelection( ESelection& rSelection ) const;
+ virtual bool SetSelection( const ESelection& rSelection );
+ virtual bool Copy();
+ virtual bool Cut();
+ virtual bool Paste();
};
#endif