diff options
Diffstat (limited to 'svx/source/items')
-rw-r--r-- | svx/source/items/viewlayoutitem.cxx | 4 | ||||
-rw-r--r-- | svx/source/items/zoomslideritem.cxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/items/viewlayoutitem.cxx b/svx/source/items/viewlayoutitem.cxx index 94d88e8562fd..c45635eb137c 100644 --- a/svx/source/items/viewlayoutitem.cxx +++ b/svx/source/items/viewlayoutitem.cxx @@ -99,9 +99,9 @@ bool SvxViewLayoutItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nM case 0 : { ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > aSeq( VIEWLAYOUT_PARAMS ); - aSeq[0].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( VIEWLAYOUT_PARAM_COLUMNS )); + aSeq[0].Name = OUString( VIEWLAYOUT_PARAM_COLUMNS ); aSeq[0].Value <<= sal_Int32( GetValue() ); - aSeq[1].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( VIEWLAYOUT_PARAM_BOOKMODE )); + aSeq[1].Name = OUString( VIEWLAYOUT_PARAM_BOOKMODE ); aSeq[1].Value <<= sal_Bool( mbBookMode ); rVal <<= aSeq; } diff --git a/svx/source/items/zoomslideritem.cxx b/svx/source/items/zoomslideritem.cxx index ef19d6dc52a3..eb04b54c04e0 100644 --- a/svx/source/items/zoomslideritem.cxx +++ b/svx/source/items/zoomslideritem.cxx @@ -96,13 +96,13 @@ bool SvxZoomSliderItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nM case 0 : { ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > aSeq( ZOOMSLIDER_PARAMS ); - aSeq[0].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( ZOOMSLIDER_PARAM_CURRENTZOOM )); + aSeq[0].Name = OUString( ZOOMSLIDER_PARAM_CURRENTZOOM ); aSeq[0].Value <<= sal_Int32( GetValue() ); - aSeq[1].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( ZOOMSLIDER_PARAM_SNAPPINGPOINTS )); + aSeq[1].Name = OUString( ZOOMSLIDER_PARAM_SNAPPINGPOINTS ); aSeq[1].Value <<= maValues; - aSeq[2].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( ZOOMSLIDER_PARAM_MINZOOM ) ); + aSeq[2].Name = OUString( ZOOMSLIDER_PARAM_MINZOOM ); aSeq[2].Value <<= mnMinZoom; - aSeq[3].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( ZOOMSLIDER_PARAM_MAXZOOM ) ); + aSeq[3].Name = OUString( ZOOMSLIDER_PARAM_MAXZOOM ); aSeq[3].Value <<= mnMaxZoom; rVal <<= aSeq; } |