diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 18:50:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 14:54:56 -0600 |
commit | bed18b128ff1329579369b07b2b172e2906649f8 (patch) | |
tree | 2d3766c57b8b262e9560578edecb83e070154fe1 /forms/source/component/CheckBox.cxx | |
parent | Remove visual noise from formula (diff) | |
download | core-bed18b128ff1329579369b07b2b172e2906649f8.tar.gz core-bed18b128ff1329579369b07b2b172e2906649f8.zip |
Remove visual noise from forms
Conflicts:
forms/source/component/DatabaseForm.cxx
Change-Id: I4005fe65e89794bd92191c37221c252a3e964917
Reviewed-on: https://gerrit.libreoffice.org/8262
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'forms/source/component/CheckBox.cxx')
-rw-r--r-- | forms/source/component/CheckBox.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/forms/source/component/CheckBox.cxx b/forms/source/component/CheckBox.cxx index 95acfd2eb609..7ca360d7eee7 100644 --- a/forms/source/component/CheckBox.cxx +++ b/forms/source/component/CheckBox.cxx @@ -25,7 +25,7 @@ #include <comphelper/basicio.hxx> #include <comphelper/processfactory.hxx> -//......................................................................... + namespace frm { using namespace ::com::sun::star::uno; @@ -41,9 +41,9 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::util; using namespace ::com::sun::star::form::binding; -//================================================================== + //= OCheckBoxControl -//================================================================== + OCheckBoxControl::OCheckBoxControl(const Reference<XComponentContext>& _rxFactory) @@ -68,11 +68,11 @@ StringSequence SAL_CALL OCheckBoxControl::getSupportedServiceNames() throw(::com return aSupported; } -//================================================================== + //= OCheckBoxModel -//================================================================== -//================================================================== + + InterfaceRef SAL_CALL OCheckBoxModel_CreateInstance(const Reference<XMultiServiceFactory>& _rxFactory) throw (RuntimeException) { return *(new OCheckBoxModel( comphelper::getComponentContext(_rxFactory) )); @@ -211,7 +211,7 @@ Any OCheckBoxModel::translateDbColumnToControlValue() { Any aValue; - ////////////////////////////////////////////////////////////////// + // Set value in ControlModel bool bValue = bool(); // avoid warning if(DbUseBool()) @@ -287,8 +287,8 @@ sal_Bool OCheckBoxModel::commitControlValueToDbColumn( bool /*_bPostReset*/ ) return sal_True; } -//......................................................................... + } -//......................................................................... + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |