diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-03-29 11:39:48 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-03-29 11:48:21 +0100 |
commit | 3f4d1e17782c4aa893731e3a078929dae3a28a66 (patch) | |
tree | f00ba39d80bf5d2ab5b7a039e32438d88d25aaa3 /svx/source/fmcomp | |
parent | 60f567e87feca99971d32d5fd7b221b65fe97479 (diff) |
svx: clean up these macros in fmprop.hrc
Change-Id: I9b5b76929d823654bcff40b47062b96bc453e825
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r-- | svx/source/fmcomp/fmgridif.cxx | 4 | ||||
-rw-r--r-- | svx/source/fmcomp/gridcell.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 5c5b6cbb9a7c..fba1ffcfa8d4 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -1676,7 +1676,7 @@ void FmXGridPeer::addColumnListeners(const Reference< XPropertySet >& xCol) { static const ::rtl::OUString aPropsListenedTo[] = { - FM_PROP_LABEL, FM_PROP_WIDTH, FM_PROP_HIDDEN, FM_PROP_ALIGN, FM_PROP_FORMATKEY + OUString(FM_PROP_LABEL), OUString(FM_PROP_WIDTH), OUString(FM_PROP_HIDDEN), OUString(FM_PROP_ALIGN), OUString(FM_PROP_FORMATKEY) }; // as not all properties have to be supported by all columns we have to check this @@ -1703,7 +1703,7 @@ void FmXGridPeer::removeColumnListeners(const Reference< XPropertySet >& xCol) // we have to do it this way .... static ::rtl::OUString aPropsListenedTo[] = { - FM_PROP_LABEL, FM_PROP_WIDTH, FM_PROP_HIDDEN, FM_PROP_ALIGN, FM_PROP_FORMATKEY + OUString(FM_PROP_LABEL), OUString(FM_PROP_WIDTH), OUString(FM_PROP_HIDDEN), OUString(FM_PROP_ALIGN), OUString(FM_PROP_FORMATKEY) }; Reference< XPropertySetInfo > xInfo = xCol->getPropertySetInfo(); diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 6581488c6bce..053eac32d569 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -836,7 +836,7 @@ void DbCellControl::implAdjustReadOnly( const Reference< XPropertySet >& _rxMode sal_Bool bReadOnly = m_rColumn.IsReadOnly(); if ( !bReadOnly ) { - _rxModel->getPropertyValue( i_bReadOnly ? FM_PROP_READONLY : FM_PROP_ISREADONLY) >>= bReadOnly; + _rxModel->getPropertyValue( i_bReadOnly ? OUString(FM_PROP_READONLY) : OUString(FM_PROP_ISREADONLY)) >>= bReadOnly; } static_cast< Edit* >( m_pWindow )->SetReadOnly( bReadOnly ); } |