summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/genericcontroller.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/browser/genericcontroller.cxx
parente1dc859bebc0ce9ec0d61ce7948aff60f94cb0e8 (diff)
bool improvements
Change-Id: I294b930214ce82033402afecf2b3eb2d04299505
Diffstat (limited to 'dbaccess/source/ui/browser/genericcontroller.cxx')
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index c318ea352d4e..f86f7fea660f 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -248,7 +248,7 @@ sal_Bool OGenericUnoController::Construct(Window* /*pParent*/)
{
SAL_WARN("dbaccess.ui","OGenericUnoController::Construct: could not create (or start listening at) the database context!");
// at least notify the user. Though the whole component does not make any sense without the database context ...
- ShowServiceNotAvailableError(getView(), OUString("com.sun.star.sdb.DatabaseContext"), sal_True);
+ ShowServiceNotAvailableError(getView(), OUString("com.sun.star.sdb.DatabaseContext"), true);
}
return sal_True;
@@ -310,7 +310,7 @@ void SAL_CALL OGenericUnoController::initialize( const Sequence< Any >& aArgumen
throw RuntimeException("unable to create a view", *this );
if ( m_bReadOnly || m_bPreview )
- pView->EnableInput( sal_False );
+ pView->EnableInput( false );
impl_initialize();
}