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/ListBox.cxx | |
parent | 224f6c17f7119ca65716a73f21244ddd3e26a653 (diff) |
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/ListBox.cxx')
-rw-r--r-- | forms/source/component/ListBox.cxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 14685b611dc5..c103c65deb4d 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -59,7 +59,7 @@ #include <iterator> -//......................................................................... + namespace frm { using namespace ::com::sun::star::uno; @@ -78,9 +78,9 @@ namespace frm using ::connectivity::ORowSetValue; - //============================================================================== + //= helper - //============================================================================== + namespace { @@ -123,14 +123,14 @@ namespace frm } } - //============================================================================== + //= ItemEventDescription - //============================================================================== + typedef ::comphelper::EventHolder< ItemEvent > ItemEventDescription; - //============================================================================== + //= OListBoxModel - //============================================================================== + InterfaceRef SAL_CALL OListBoxModel_CreateInstance(const Reference<XMultiServiceFactory>& _rxFactory) throw (RuntimeException) { @@ -1410,7 +1410,7 @@ namespace frm namespace { - //................................................................ + struct ExtractStringFromSequence_Safe : public ::std::unary_function< sal_Int16, OUString > { protected: @@ -1428,7 +1428,7 @@ namespace frm } }; - //................................................................ + Any lcl_getSingleSelectedEntry( const Sequence< sal_Int16 >& _rSelectSequence, const Sequence< OUString >& _rStringList ) { Any aReturn; @@ -1448,7 +1448,7 @@ namespace frm return aReturn; } - //................................................................ + Any lcl_getMultiSelectedEntries( const Sequence< sal_Int16 >& _rSelectSequence, const Sequence< OUString >& _rStringList ) { Sequence< OUString > aSelectedEntriesTexts( _rSelectSequence.getLength() ); @@ -1461,7 +1461,7 @@ namespace frm return makeAny( aSelectedEntriesTexts ); } - //................................................................ + struct ExtractAnyFromValueList_Safe : public ::std::unary_function< sal_Int16, Any > { protected: @@ -1479,7 +1479,7 @@ namespace frm } }; - //................................................................ + Any lcl_getSingleSelectedEntryAny( const Sequence< sal_Int16 >& _rSelectSequence, const ValueList& _rStringList ) { Any aReturn; @@ -1495,7 +1495,7 @@ namespace frm return aReturn; } - //................................................................ + Any lcl_getMultiSelectedEntriesAny( const Sequence< sal_Int16 >& _rSelectSequence, const ValueList& _rStringList ) { Sequence< Any > aSelectedEntriesValues( _rSelectSequence.getLength() ); @@ -1722,9 +1722,9 @@ namespace frm initFromField( m_xCursor ); } - //================================================================== + // OListBoxControl - //================================================================== + InterfaceRef SAL_CALL OListBoxControl_CreateInstance(const Reference<XMultiServiceFactory>& _rxFactory) throw (RuntimeException) @@ -2129,8 +2129,8 @@ namespace frm m_xAggregateListBox->makeVisible( nEntry ); } -//......................................................................... + } -//......................................................................... + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |