summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/QueryDesignView.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/inc/QueryDesignView.hxx
parent6907b67d3d3208eb54289db2476132188d86dfec (diff)
dbaccess: sal_Bool->bool
Change-Id: Ieb52470f9638b74898954db3890aaf2cf202290a
Diffstat (limited to 'dbaccess/source/ui/inc/QueryDesignView.hxx')
-rw-r--r--dbaccess/source/ui/inc/QueryDesignView.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/source/ui/inc/QueryDesignView.hxx b/dbaccess/source/ui/inc/QueryDesignView.hxx
index f11cdab72d4a..0bf604a67bc1 100644
--- a/dbaccess/source/ui/inc/QueryDesignView.hxx
+++ b/dbaccess/source/ui/inc/QueryDesignView.hxx
@@ -71,15 +71,15 @@ namespace dbaui
OSelectionBrowseBox* m_pSelectionBox; // presents the lower window
ChildFocusState m_eChildFocus;
- sal_Bool m_bInSplitHandler;
+ bool m_bInSplitHandler;
public:
OQueryDesignView(OQueryContainerWindow* pParent, OQueryController& _rController,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& );
virtual ~OQueryDesignView();
- virtual sal_Bool isCutAllowed() SAL_OVERRIDE;
- virtual sal_Bool isPasteAllowed() SAL_OVERRIDE;
- virtual sal_Bool isCopyAllowed() SAL_OVERRIDE;
+ virtual bool isCutAllowed() SAL_OVERRIDE;
+ virtual bool isPasteAllowed() SAL_OVERRIDE;
+ virtual bool isCopyAllowed() SAL_OVERRIDE;
virtual void copy() SAL_OVERRIDE;
virtual void cut() SAL_OVERRIDE;
virtual void paste() SAL_OVERRIDE;
@@ -88,7 +88,7 @@ namespace dbaui
// set the view readonly or not
virtual void setReadOnly(sal_Bool _bReadOnly) SAL_OVERRIDE;
// check if the statement is correct when not returning false
- virtual sal_Bool checkStatement();
+ virtual bool checkStatement();
// set the statement for representation
virtual void setStatement(const OUString& _rsStatement) SAL_OVERRIDE;
// returns the current sql statement
@@ -100,14 +100,14 @@ namespace dbaui
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
virtual void GetFocus() SAL_OVERRIDE;
- sal_Bool isSlotEnabled(sal_Int32 _nSlotId);
- void setSlotEnabled(sal_Int32 _nSlotId,sal_Bool _bEnable);
+ bool isSlotEnabled(sal_Int32 _nSlotId);
+ void setSlotEnabled(sal_Int32 _nSlotId, bool _bEnable);
void setNoneVisbleRow(sal_Int32 _nRows);
::com::sun::star::lang::Locale getLocale() const { return m_aLocale;}
OUString getDecimalSeparator() const { return m_sDecimalSep;}
- SqlParseError InsertField( const OTableFieldDescRef& rInfo, sal_Bool bVis=sal_True, sal_Bool bActivate = sal_True);
+ SqlParseError InsertField( const OTableFieldDescRef& rInfo, bool bVis = true, bool bActivate = true);
bool HasFieldByAliasName(const OUString& rFieldName, OTableFieldDescRef& rInfo) const;
// save the position of the table window and the pos of the splitters
// called when fields are deleted