summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/app/AppView.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-17 11:16:55 +0200
committerNoel Grandin <noel@peralex.com>2014-04-17 11:17:21 +0200
commitfee4efcb54c8162955f6fe626d9b68c3b74b3068 (patch)
treedf8989eab6d8aacb5f37f0673a1a14eb5584a394 /dbaccess/source/ui/app/AppView.hxx
parentcoverity#708633 Uninitialized pointer field (diff)
downloadcore-fee4efcb54c8162955f6fe626d9b68c3b74b3068.tar.gz
core-fee4efcb54c8162955f6fe626d9b68c3b74b3068.zip
dbaccess: sal_Bool->bool
Change-Id: Ieb52470f9638b74898954db3890aaf2cf202290a
Diffstat (limited to 'dbaccess/source/ui/app/AppView.hxx')
-rw-r--r--dbaccess/source/ui/app/AppView.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/dbaccess/source/ui/app/AppView.hxx b/dbaccess/source/ui/app/AppView.hxx
index f59879d888b6..43660890f693 100644
--- a/dbaccess/source/ui/app/AppView.hxx
+++ b/dbaccess/source/ui/app/AppView.hxx
@@ -118,10 +118,10 @@ namespace dbaui
inline const ::com::sun::star::lang::Locale& getLocale() const { return m_aLocale;}
// IClipboardTest
- virtual sal_Bool isCutAllowed() SAL_OVERRIDE;
- virtual sal_Bool isCopyAllowed() SAL_OVERRIDE;
- virtual sal_Bool isPasteAllowed() SAL_OVERRIDE;
- virtual sal_Bool hasChildPathFocus() SAL_OVERRIDE { return HasChildPathFocus(); }
+ virtual bool isCutAllowed() SAL_OVERRIDE;
+ virtual bool isCopyAllowed() SAL_OVERRIDE;
+ virtual bool isPasteAllowed() SAL_OVERRIDE;
+ virtual bool hasChildPathFocus() SAL_OVERRIDE { return HasChildPathFocus(); }
virtual void copy() SAL_OVERRIDE;
virtual void cut() SAL_OVERRIDE;
virtual void paste() SAL_OVERRIDE;
@@ -146,20 +146,20 @@ namespace dbaui
@return
<TRUE/> if the entry is a leaf, otherwise <FALSE/>
*/
- sal_Bool isLeaf(SvTreeListEntry* _pEntry) const;
+ bool isLeaf(SvTreeListEntry* _pEntry) const;
/** returns if one of the selected entries is a leaf
@return
<TRUE/> if the entry is a leaf, otherwise <FALSE/>
*/
- sal_Bool isALeafSelected() const;
+ bool isALeafSelected() const;
/** select all entries in the detail page
*/
void selectAll();
/// returns <TRUE/> if it sorts ascending
- sal_Bool isSortUp() const;
+ bool isSortUp() const;
/// sort the entries in the detail page down
void sortDown();
@@ -168,7 +168,7 @@ namespace dbaui
void sortUp();
/// returns <TRUE/> when a detail page was filled
- sal_Bool isFilled() const;
+ bool isFilled() const;
/// return the element of currently select entry
ElementType getElementType() const;
@@ -183,7 +183,7 @@ namespace dbaui
@param _bTaskAlso
If <TRUE/> the task window will also be cleared.
*/
- void clearPages(sal_Bool _bTaskAlso = sal_True);
+ void clearPages(bool _bTaskAlso = true);
/** returns the element names which are selected
@param _rNames
@@ -262,7 +262,7 @@ namespace dbaui
PreviewMode getPreviewMode();
/// <TRUE/> if the preview is enabled
- sal_Bool isPreviewEnabled();
+ bool isPreviewEnabled();
/** switches to the given preview mode
@param _eMode
@@ -290,7 +290,7 @@ namespace dbaui
void showPreview( const OUString& _sDataSourceName,
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection,
const OUString& _sName,
- sal_Bool _bTable);
+ bool _bTable);
SvTreeListEntry* getEntry( const Point& _aPosPixel ) const;
};