summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/SqlNameEdit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/inc/SqlNameEdit.hxx')
-rw-r--r--dbaccess/source/ui/inc/SqlNameEdit.hxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/dbaccess/source/ui/inc/SqlNameEdit.hxx b/dbaccess/source/ui/inc/SqlNameEdit.hxx
index edeed2d4f40b..2356e9d0ed58 100644
--- a/dbaccess/source/ui/inc/SqlNameEdit.hxx
+++ b/dbaccess/source/ui/inc/SqlNameEdit.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -36,8 +36,8 @@ namespace dbaui
class OSQLNameChecker
{
::rtl::OUString m_sAllowedChars;
- sal_Bool m_bOnlyUpperCase;
- sal_Bool m_bCheck; // true when we should check for invalid chars
+ sal_Bool m_bOnlyUpperCase;
+ sal_Bool m_bCheck; // true when we should check for invalid chars
public:
OSQLNameChecker(const ::rtl::OUString& _rAllowedChars)
:m_sAllowedChars(_rAllowedChars)
@@ -46,12 +46,12 @@ namespace dbaui
{
}
- void setUpperCase(sal_Bool _bUpper=sal_True)
- {
- m_bOnlyUpperCase = _bUpper;
+ void setUpperCase(sal_Bool _bUpper=sal_True)
+ {
+ m_bOnlyUpperCase = _bUpper;
}
- void setAllowedChars(const ::rtl::OUString& _rAllowedChars)
- {
+ void setAllowedChars(const ::rtl::OUString& _rAllowedChars)
+ {
m_sAllowedChars = _rAllowedChars;
}
// default is false because it is initialized with true
@@ -66,19 +66,19 @@ namespace dbaui
,public OSQLNameChecker
{
public:
- OSQLNameEdit(Window* _pParent,const ::rtl::OUString& _rAllowedChars, WinBits nStyle = WB_BORDER)
+ OSQLNameEdit(Window* _pParent,const ::rtl::OUString& _rAllowedChars, WinBits nStyle = WB_BORDER)
: Edit(_pParent,nStyle)
,OSQLNameChecker(_rAllowedChars)
{
}
- OSQLNameEdit(Window* _pParent,const ResId& _rRes,const ::rtl::OUString& _rAllowedChars = ::rtl::OUString())
+ OSQLNameEdit(Window* _pParent,const ResId& _rRes,const ::rtl::OUString& _rAllowedChars = ::rtl::OUString())
: Edit(_pParent,_rRes)
,OSQLNameChecker(_rAllowedChars)
{
}
// Window overload
- // virtual long PreNotify( NotifyEvent& rNEvt );
+ // virtual long PreNotify( NotifyEvent& rNEvt );
// Edit
virtual void Modify();
};
@@ -87,16 +87,16 @@ namespace dbaui
,public OSQLNameChecker
{
public:
- OSQLNameComboBox(Window* _pParent,const ::rtl::OUString& _rAllowedChars, WinBits nStyle = WB_BORDER)
+ OSQLNameComboBox(Window* _pParent,const ::rtl::OUString& _rAllowedChars, WinBits nStyle = WB_BORDER)
: ComboBox(_pParent,nStyle)
,OSQLNameChecker(_rAllowedChars)
{
}
- OSQLNameComboBox(Window* _pParent,const ResId& _rRes,const ::rtl::OUString& _rAllowedChars = ::rtl::OUString())
+ OSQLNameComboBox(Window* _pParent,const ResId& _rRes,const ::rtl::OUString& _rAllowedChars = ::rtl::OUString())
: ComboBox(_pParent,_rRes)
,OSQLNameChecker(_rAllowedChars)
{
- }
+ }
// Window overload
// Edit