summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/WCopyTable.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 20:02:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:29 +0100
commit9cc60839f3f3a9dfcf52d5eb76b7d36c1fbc751a (patch)
tree6995b212a06737f908c59fbadbc64f2b0c493c78 /dbaccess/source/ui/misc/WCopyTable.cxx
parente1dc859bebc0ce9ec0d61ce7948aff60f94cb0e8 (diff)
bool improvements
Change-Id: I294b930214ce82033402afecf2b3eb2d04299505
Diffstat (limited to 'dbaccess/source/ui/misc/WCopyTable.cxx')
-rw-r--r--dbaccess/source/ui/misc/WCopyTable.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx
index a8b8bfafd662..9ffaa14f4a37 100644
--- a/dbaccess/source/ui/misc/WCopyTable.cxx
+++ b/dbaccess/source/ui/misc/WCopyTable.cxx
@@ -960,20 +960,20 @@ void OCopyTableWizard::CheckButtons()
if(GetCurLevel() == 0) // the first page has no back button
{
if(m_nPageCount > 1)
- m_pbNext.Enable(sal_True);
+ m_pbNext.Enable(true);
else
- m_pbNext.Enable(sal_False);
+ m_pbNext.Enable(false);
- m_pbPrev.Enable(sal_False);
+ m_pbPrev.Enable(false);
}
else if(GetCurLevel() == m_nPageCount-1) // the last page has no next button
{
- m_pbNext.Enable(sal_False);
- m_pbPrev.Enable(sal_True);
+ m_pbNext.Enable(false);
+ m_pbPrev.Enable(true);
}
else
{
- m_pbPrev.Enable(sal_True);
+ m_pbPrev.Enable(true);
// next already has its state
}
}