diff options
Diffstat (limited to 'toolkit/source/helper')
-rw-r--r-- | toolkit/source/helper/accessibilityclient.cxx | 18 | ||||
-rw-r--r-- | toolkit/source/helper/formpdfexport.cxx | 36 | ||||
-rw-r--r-- | toolkit/source/helper/imagealign.cxx | 8 | ||||
-rw-r--r-- | toolkit/source/helper/listenermultiplexer.cxx | 92 | ||||
-rw-r--r-- | toolkit/source/helper/unopropertyarrayhelper.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/helper/unowrapper.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/helper/vclunohelper.cxx | 12 |
7 files changed, 87 insertions, 87 deletions
diff --git a/toolkit/source/helper/accessibilityclient.cxx b/toolkit/source/helper/accessibilityclient.cxx index e9d9535ed43c..7acdb933c20e 100644 --- a/toolkit/source/helper/accessibilityclient.cxx +++ b/toolkit/source/helper/accessibilityclient.cxx @@ -33,15 +33,15 @@ // here) died, it's not said that everybody released all references to the // XAccessibleContext used by this component, and implemented in the acc lib. // So we cannot really unload the lib. - // + // Alternatively, if the lib would us own "usage counting", i.e. every component // implemented therein would affect a static ref count, the acc lib could care // for unloading itself. -//........................................................................ + namespace toolkit { -//........................................................................ + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::accessibility; @@ -58,9 +58,9 @@ namespace toolkit static ::rtl::Reference< IAccessibleFactory > s_pFactory; } - //==================================================================== + //= AccessibleDummyFactory - //==================================================================== + class AccessibleDummyFactory : public IAccessibleFactory { public: @@ -170,9 +170,9 @@ namespace toolkit return m_refCount; } - //==================================================================== + //= AccessibilityClient - //==================================================================== + AccessibilityClient::AccessibilityClient() :m_bInitialized( false ) @@ -270,8 +270,8 @@ namespace toolkit return *s_pFactory; } -//........................................................................ + } // namespace toolkit -//........................................................................ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/toolkit/source/helper/formpdfexport.cxx b/toolkit/source/helper/formpdfexport.cxx index c66d1489cd43..de1a2ee3a9cb 100644 --- a/toolkit/source/helper/formpdfexport.cxx +++ b/toolkit/source/helper/formpdfexport.cxx @@ -40,10 +40,10 @@ #include <functional> #include <algorithm> -//........................................................................ + namespace toolkitform { -//........................................................................ + using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -277,7 +277,7 @@ namespace toolkitform // if we survived classifyFormControl, then it's a real form control, and they all have // service infos - // ================================ + // set the common widget properties @@ -347,7 +347,7 @@ namespace toolkitform // text style _rpDescriptor->TextStyle = 0; - // ............................ + // multi line and word break // The MultiLine property of the control is mapped to both the "MULTILINE" and // "WORDBREAK" style flags @@ -359,7 +359,7 @@ namespace toolkitform if ( bMultiLine ) _rpDescriptor->TextStyle |= TEXT_DRAW_MULTILINE | TEXT_DRAW_WORDBREAK; } - // ............................ + // horizontal alignment static const OUString FM_PROP_ALIGN("Align"); if ( xPSI->hasPropertyByName( FM_PROP_ALIGN ) ) @@ -377,7 +377,7 @@ namespace toolkitform OSL_FAIL( "describePDFControl: invalid text align!" ); } } - // ............................ + // vertical alignment { OUString sVertAlignPropertyName( "VerticalAlign" ); @@ -414,17 +414,17 @@ namespace toolkitform _rpDescriptor->TabOrder = nIndex; } - // ================================ + // special widget properties // edits if ( _rpDescriptor->getType() == ::vcl::PDFWriter::Edit ) { ::vcl::PDFWriter::EditWidget* pEditWidget = static_cast< ::vcl::PDFWriter::EditWidget* >( _rpDescriptor.get() ); - // ............................ + // multiline (already flagged in the TextStyle) pEditWidget->MultiLine = ( _rpDescriptor->TextStyle & TEXT_DRAW_MULTILINE ) != 0; - // ............................ + // password input OUString sEchoCharPropName( "EchoChar" ); if ( xPSI->hasPropertyByName( sEchoCharPropName ) ) @@ -433,12 +433,12 @@ namespace toolkitform if ( ( xModelProps->getPropertyValue( sEchoCharPropName ) >>= nEchoChar ) && ( nEchoChar != 0 ) ) pEditWidget->Password = true; } - // ............................ + // file select static const OUString FM_SUN_COMPONENT_FILECONTROL("com.sun.star.form.component.FileControl"); if ( xSI->supportsService( FM_SUN_COMPONENT_FILECONTROL ) ) pEditWidget->FileSelect = true; - // ............................ + // maximum text length static const OUString FM_PROP_MAXTEXTLEN("MaxTextLen"); if ( xPSI->hasPropertyByName( FM_PROP_MAXTEXTLEN ) ) @@ -552,14 +552,14 @@ namespace toolkitform if ( _rpDescriptor->getType() == ::vcl::PDFWriter::ListBox ) { ::vcl::PDFWriter::ListBoxWidget* pListWidget = static_cast< ::vcl::PDFWriter::ListBoxWidget* >( _rpDescriptor.get() ); - // ............................ + // drop down static const OUString FM_PROP_DROPDOWN("Dropdown"); OSL_VERIFY( xModelProps->getPropertyValue( FM_PROP_DROPDOWN ) >>= pListWidget->DropDown ); - // ............................ + // multi selection OSL_VERIFY( xModelProps->getPropertyValue("MultiSelection") >>= pListWidget->MultiSelect ); - // ............................ + // entries getStringItemVector( xModelProps, pListWidget->Entries ); // since we explicitly list the entries in the order in which they appear, they should not be @@ -586,14 +586,14 @@ namespace toolkitform if ( _rpDescriptor->getType() == ::vcl::PDFWriter::ComboBox ) { ::vcl::PDFWriter::ComboBoxWidget* pComboWidget = static_cast< ::vcl::PDFWriter::ComboBoxWidget* >( _rpDescriptor.get() ); - // ............................ + // entries getStringItemVector( xModelProps, pComboWidget->Entries ); // same reasoning as above pComboWidget->Sort = false; } - // ================================ + // some post-processing // text line ends @@ -606,8 +606,8 @@ namespace toolkitform } } -//........................................................................ + } // namespace toolkitform -//........................................................................ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/toolkit/source/helper/imagealign.cxx b/toolkit/source/helper/imagealign.cxx index fa5297f5eebc..5201d27ef900 100644 --- a/toolkit/source/helper/imagealign.cxx +++ b/toolkit/source/helper/imagealign.cxx @@ -21,10 +21,10 @@ #include <com/sun/star/awt/ImagePosition.hpp> #include <com/sun/star/awt/ImageAlign.hpp> -//........................................................................ + namespace toolkit { -//........................................................................ + using namespace ::com::sun::star::awt::ImagePosition; using namespace ::com::sun::star::awt::ImageAlign; @@ -120,8 +120,8 @@ namespace toolkit return nReturn; } -//........................................................................ + } // namespace toolkit -//........................................................................ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/toolkit/source/helper/listenermultiplexer.cxx b/toolkit/source/helper/listenermultiplexer.cxx index fbb34badbd6e..26d8adf734d4 100644 --- a/toolkit/source/helper/listenermultiplexer.cxx +++ b/toolkit/source/helper/listenermultiplexer.cxx @@ -20,9 +20,9 @@ #include <toolkit/helper/listenermultiplexer.hxx> #include <com/sun/star/lang/DisposedException.hpp> -// ---------------------------------------------------- + // class ListenerMultiplexerBase -// ---------------------------------------------------- + ListenerMultiplexerBase::ListenerMultiplexerBase( ::cppu::OWeakObject& rSource ) : ::cppu::OInterfaceContainerHelper( GetMutex() ), mrContext( rSource ) { @@ -39,9 +39,9 @@ ListenerMultiplexerBase::~ListenerMultiplexerBase() } -// ---------------------------------------------------- + // class EventListenerMultiplexer -// ---------------------------------------------------- + EventListenerMultiplexer::EventListenerMultiplexer( ::cppu::OWeakObject& rSource ) : ListenerMultiplexerBase( rSource ) { @@ -60,61 +60,61 @@ void EventListenerMultiplexer::disposing( const ::com::sun::star::lang::EventObj { } -// ---------------------------------------------------- + // class FocusListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( FocusListenerMultiplexer, ::com::sun::star::awt::XFocusListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( FocusListenerMultiplexer, ::com::sun::star::awt::XFocusListener, focusGained, ::com::sun::star::awt::FocusEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( FocusListenerMultiplexer, ::com::sun::star::awt::XFocusListener, focusLost, ::com::sun::star::awt::FocusEvent ) -// ---------------------------------------------------- + // class WindowListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( WindowListenerMultiplexer, ::com::sun::star::awt::XWindowListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( WindowListenerMultiplexer, ::com::sun::star::awt::XWindowListener, windowResized, ::com::sun::star::awt::WindowEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( WindowListenerMultiplexer, ::com::sun::star::awt::XWindowListener, windowMoved, ::com::sun::star::awt::WindowEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( WindowListenerMultiplexer, ::com::sun::star::awt::XWindowListener, windowShown, ::com::sun::star::lang::EventObject ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( WindowListenerMultiplexer, ::com::sun::star::awt::XWindowListener, windowHidden, ::com::sun::star::lang::EventObject ) -// ---------------------------------------------------- + // class VclContainerListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( VclContainerListenerMultiplexer, ::com::sun::star::awt::XVclContainerListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( VclContainerListenerMultiplexer, ::com::sun::star::awt::XVclContainerListener, windowAdded, ::com::sun::star::awt::VclContainerEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( VclContainerListenerMultiplexer, ::com::sun::star::awt::XVclContainerListener, windowRemoved, ::com::sun::star::awt::VclContainerEvent ) -// ---------------------------------------------------- + // class KeyListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( KeyListenerMultiplexer, ::com::sun::star::awt::XKeyListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( KeyListenerMultiplexer, ::com::sun::star::awt::XKeyListener, keyPressed, ::com::sun::star::awt::KeyEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( KeyListenerMultiplexer, ::com::sun::star::awt::XKeyListener, keyReleased, ::com::sun::star::awt::KeyEvent ) -// ---------------------------------------------------- + // class MouseListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( MouseListenerMultiplexer, ::com::sun::star::awt::XMouseListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( MouseListenerMultiplexer, ::com::sun::star::awt::XMouseListener, mousePressed, ::com::sun::star::awt::MouseEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( MouseListenerMultiplexer, ::com::sun::star::awt::XMouseListener, mouseReleased, ::com::sun::star::awt::MouseEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( MouseListenerMultiplexer, ::com::sun::star::awt::XMouseListener, mouseEntered, ::com::sun::star::awt::MouseEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( MouseListenerMultiplexer, ::com::sun::star::awt::XMouseListener, mouseExited, ::com::sun::star::awt::MouseEvent ) -// ---------------------------------------------------- + // class MouseMotionListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( MouseMotionListenerMultiplexer, ::com::sun::star::awt::XMouseMotionListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( MouseMotionListenerMultiplexer, ::com::sun::star::awt::XMouseMotionListener, mouseDragged, ::com::sun::star::awt::MouseEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( MouseMotionListenerMultiplexer, ::com::sun::star::awt::XMouseMotionListener, mouseMoved, ::com::sun::star::awt::MouseEvent ) -// ---------------------------------------------------- + // class PaintListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( PaintListenerMultiplexer, ::com::sun::star::awt::XPaintListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( PaintListenerMultiplexer, ::com::sun::star::awt::XPaintListener, windowPaint, ::com::sun::star::awt::PaintEvent ) -// ---------------------------------------------------- + // class TopWindowListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( TopWindowListenerMultiplexer, ::com::sun::star::awt::XTopWindowListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( TopWindowListenerMultiplexer, ::com::sun::star::awt::XTopWindowListener, windowOpened, ::com::sun::star::lang::EventObject ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( TopWindowListenerMultiplexer, ::com::sun::star::awt::XTopWindowListener, windowClosing, ::com::sun::star::lang::EventObject ) @@ -124,27 +124,27 @@ IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( TopWindowListenerMultiplexer, ::com::su IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( TopWindowListenerMultiplexer, ::com::sun::star::awt::XTopWindowListener, windowActivated, ::com::sun::star::lang::EventObject ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( TopWindowListenerMultiplexer, ::com::sun::star::awt::XTopWindowListener, windowDeactivated, ::com::sun::star::lang::EventObject ) -// ---------------------------------------------------- + // class TextListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( TextListenerMultiplexer, ::com::sun::star::awt::XTextListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( TextListenerMultiplexer, ::com::sun::star::awt::XTextListener, textChanged, ::com::sun::star::awt::TextEvent ) -// ---------------------------------------------------- + // class ActionListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( ActionListenerMultiplexer, ::com::sun::star::awt::XActionListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( ActionListenerMultiplexer, ::com::sun::star::awt::XActionListener, actionPerformed, ::com::sun::star::awt::ActionEvent ) -// ---------------------------------------------------- + // class ItemListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( ItemListenerMultiplexer, ::com::sun::star::awt::XItemListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( ItemListenerMultiplexer, ::com::sun::star::awt::XItemListener, itemStateChanged, ::com::sun::star::awt::ItemEvent ) -// ---------------------------------------------------- + // class TabListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( TabListenerMultiplexer, ::com::sun::star::awt::XTabListener ) void TabListenerMultiplexer::inserted( sal_Int32 evt ) throw(::com::sun::star::uno::RuntimeException) IMPL_TABLISTENERMULTIPLEXER_LISTENERMETHOD_BODY_1PARAM( TabListenerMultiplexer, ::com::sun::star::awt::XTabListener, inserted, ::sal_Int32 ) @@ -157,47 +157,47 @@ IMPL_TABLISTENERMULTIPLEXER_LISTENERMETHOD_BODY_1PARAM( TabListenerMultiplexer, void TabListenerMultiplexer::deactivated( sal_Int32 evt ) throw(::com::sun::star::uno::RuntimeException) IMPL_TABLISTENERMULTIPLEXER_LISTENERMETHOD_BODY_1PARAM( TabListenerMultiplexer, ::com::sun::star::awt::XTabListener, deactivated, ::sal_Int32 ) -// ---------------------------------------------------- + // class ContainerListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( ContainerListenerMultiplexer, ::com::sun::star::container::XContainerListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( ContainerListenerMultiplexer, ::com::sun::star::container::XContainerListener, elementInserted, ::com::sun::star::container::ContainerEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( ContainerListenerMultiplexer, ::com::sun::star::container::XContainerListener, elementRemoved, ::com::sun::star::container::ContainerEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( ContainerListenerMultiplexer, ::com::sun::star::container::XContainerListener, elementReplaced, ::com::sun::star::container::ContainerEvent ) -// ---------------------------------------------------- + // class SpinListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( SpinListenerMultiplexer, ::com::sun::star::awt::XSpinListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( SpinListenerMultiplexer, ::com::sun::star::awt::XSpinListener, up, ::com::sun::star::awt::SpinEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( SpinListenerMultiplexer, ::com::sun::star::awt::XSpinListener, down, ::com::sun::star::awt::SpinEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( SpinListenerMultiplexer, ::com::sun::star::awt::XSpinListener, first, ::com::sun::star::awt::SpinEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( SpinListenerMultiplexer, ::com::sun::star::awt::XSpinListener, last, ::com::sun::star::awt::SpinEvent ) -// ---------------------------------------------------- + // class AdjustmentListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( AdjustmentListenerMultiplexer, ::com::sun::star::awt::XAdjustmentListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( AdjustmentListenerMultiplexer, ::com::sun::star::awt::XAdjustmentListener, adjustmentValueChanged, ::com::sun::star::awt::AdjustmentEvent ) -// ---------------------------------------------------- + // class MenuListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( MenuListenerMultiplexer, ::com::sun::star::awt::XMenuListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( MenuListenerMultiplexer, ::com::sun::star::awt::XMenuListener, itemHighlighted, ::com::sun::star::awt::MenuEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( MenuListenerMultiplexer, ::com::sun::star::awt::XMenuListener, itemSelected, ::com::sun::star::awt::MenuEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( MenuListenerMultiplexer, ::com::sun::star::awt::XMenuListener, itemActivated, ::com::sun::star::awt::MenuEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( MenuListenerMultiplexer, ::com::sun::star::awt::XMenuListener, itemDeactivated, ::com::sun::star::awt::MenuEvent ) -// ---------------------------------------------------- + // class TreeSelectionListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( TreeSelectionListenerMultiplexer, ::com::sun::star::view::XSelectionChangeListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( TreeSelectionListenerMultiplexer, ::com::sun::star::view::XSelectionChangeListener, selectionChanged, ::com::sun::star::lang::EventObject ) -// ---------------------------------------------------- + // class TreeSelectionListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( TreeExpansionListenerMultiplexer, ::com::sun::star::awt::tree::XTreeExpansionListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( TreeExpansionListenerMultiplexer, ::com::sun::star::awt::tree::XTreeExpansionListener, requestChildNodes, ::com::sun::star::awt::tree::TreeExpansionEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD_EXCEPTION( TreeExpansionListenerMultiplexer, ::com::sun::star::awt::tree::XTreeExpansionListener, treeExpanding, ::com::sun::star::awt::tree::TreeExpansionEvent, ::com::sun::star::awt::tree::ExpandVetoException ) @@ -205,20 +205,20 @@ IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD_EXCEPTION( TreeExpansionListenerMultiple IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( TreeExpansionListenerMultiplexer, ::com::sun::star::awt::tree::XTreeExpansionListener, treeExpanded, ::com::sun::star::awt::tree::TreeExpansionEvent ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( TreeExpansionListenerMultiplexer, ::com::sun::star::awt::tree::XTreeExpansionListener, treeCollapsed, ::com::sun::star::awt::tree::TreeExpansionEvent ) -// ---------------------------------------------------- + // class TreeEditListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( TreeEditListenerMultiplexer, ::com::sun::star::awt::tree::XTreeEditListener ) -// ---------------------------------------------------- + // class SelectionListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( SelectionListenerMultiplexer, ::com::sun::star::awt::grid::XGridSelectionListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( SelectionListenerMultiplexer, ::com::sun::star::awt::grid::XGridSelectionListener, selectionChanged, ::com::sun::star::awt::grid::GridSelectionEvent ) -// ---------------------------------------------------- + // class SelectionListenerMultiplexer -// ---------------------------------------------------- + IMPL_LISTENERMULTIPLEXER_BASEMETHODS( TabPageListenerMultiplexer, ::com::sun::star::awt::tab::XTabPageContainerListener ) IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( TabPageListenerMultiplexer, ::com::sun::star::awt::tab::XTabPageContainerListener, tabPageActivated, ::com::sun::star::awt::tab::TabPageActivatedEvent ) /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/toolkit/source/helper/unopropertyarrayhelper.cxx b/toolkit/source/helper/unopropertyarrayhelper.cxx index 9886e61b5a8c..3db66c940f5a 100644 --- a/toolkit/source/helper/unopropertyarrayhelper.cxx +++ b/toolkit/source/helper/unopropertyarrayhelper.cxx @@ -22,9 +22,9 @@ #include <toolkit/helper/property.hxx> #include <map> -// ---------------------------------------------------- + // class UnoPropertyArrayHelper -// ---------------------------------------------------- + UnoPropertyArrayHelper::UnoPropertyArrayHelper( const ::com::sun::star::uno::Sequence<sal_Int32>& rIDs ) { diff --git a/toolkit/source/helper/unowrapper.cxx b/toolkit/source/helper/unowrapper.cxx index 7f0cdcf5d2c4..f0a2f1cbec61 100644 --- a/toolkit/source/helper/unowrapper.cxx +++ b/toolkit/source/helper/unowrapper.cxx @@ -116,9 +116,9 @@ using namespace ::com::sun::star; } } -// ---------------------------------------------------- + // class UnoWrapper -// ---------------------------------------------------- + extern "C" { diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx index 9b10be493488..420992c0c2c7 100644 --- a/toolkit/source/helper/vclunohelper.cxx +++ b/toolkit/source/helper/vclunohelper.cxx @@ -56,9 +56,9 @@ using namespace ::com::sun::star; -// ---------------------------------------------------- + // class VCLUnoHelper -// ---------------------------------------------------- + uno::Reference< ::com::sun::star::awt::XToolkit> VCLUnoHelper::CreateToolkit() { @@ -457,9 +457,9 @@ sal_Int32 VCLUnoHelper::VCL2UnoEmbedMapUnit( MapUnit nVCLMapUnit ) using namespace ::com::sun::star::util; -//==================================================================== + //= file-local helpers -//==================================================================== + namespace { enum UnitConversionDirection @@ -516,9 +516,9 @@ namespace return (sal_Int16)FUNIT_NONE; } } -//======================================================================== + //= MeasurementUnitConversion -//======================================================================== + sal_Int16 VCLUnoHelper::ConvertToMeasurementUnit( FieldUnit _nFieldUnit, sal_Int16 _nUNOToFieldValueFactor ) { |