diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-04 11:26:07 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-10 10:50:15 +0100 |
commit | 1180b3473aed3251b5869256abc9c7774bab9ced (patch) | |
tree | 72e169fd28db8da7b247290e2e53d530feae9d2b /sc/source | |
parent | 7713d916e06a8388f849a758f928cbcfded6c0ae (diff) |
com::sun::star -> css
Change-Id: I890ec73e30d3cc6b210903ecee29431f3cb5f635
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175979
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/excel/xehelper.cxx | 6 | ||||
-rw-r--r-- | sc/source/filter/excel/xestyle.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/excel/xiescher.cxx | 18 | ||||
-rw-r--r-- | sc/source/filter/excel/xlstyle.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/chartsh.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellvaluebinding.cxx | 2 |
6 files changed, 17 insertions, 17 deletions
diff --git a/sc/source/filter/excel/xehelper.cxx b/sc/source/filter/excel/xehelper.cxx index f910aa4aaad5..ea93333b8a54 100644 --- a/sc/source/filter/excel/xehelper.cxx +++ b/sc/source/filter/excel/xehelper.cxx @@ -367,7 +367,7 @@ XclExpStringRef lclCreateFormattedString( // script type handling Reference< XBreakIterator > xBreakIt = rRoot.GetDoc().GetBreakIterator(); - namespace ApiScriptType = ::com::sun::star::i18n::ScriptType; + namespace ApiScriptType = css::i18n::ScriptType; // #i63255# get script type for leading weak characters sal_Int16 nLastScript = XclExpStringHelper::GetLeadingScriptType( rRoot, rText ); @@ -443,7 +443,7 @@ XclExpStringRef lclCreateFormattedString( // script type handling Reference< XBreakIterator > xBreakIt = rRoot.GetDoc().GetBreakIterator(); - namespace ApiScriptType = ::com::sun::star::i18n::ScriptType; + namespace ApiScriptType = css::i18n::ScriptType; // #i63255# get script type for leading weak characters sal_Int16 nLastScript = XclExpStringHelper::GetLeadingScriptType( rRoot, rEE.GetText() ); @@ -659,7 +659,7 @@ XclExpStringRef XclExpStringHelper::CreateString( sal_Int16 XclExpStringHelper::GetLeadingScriptType( const XclExpRoot& rRoot, const OUString& rString ) { - namespace ApiScriptType = ::com::sun::star::i18n::ScriptType; + namespace ApiScriptType = css::i18n::ScriptType; Reference< XBreakIterator > xBreakIt = rRoot.GetDoc().GetBreakIterator(); sal_Int32 nStrPos = 0; sal_Int32 nStrLen = rString.getLength(); diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx index ece9f1c2333a..01bc9bfe8d81 100644 --- a/sc/source/filter/excel/xestyle.cxx +++ b/sc/source/filter/excel/xestyle.cxx @@ -836,7 +836,7 @@ sal_Int16 lclCheckFontItems( const SfxItemSet& rItemSet, sal_Int16 XclExpFontHelper::GetFirstUsedScript( const XclExpRoot& rRoot, const SfxItemSet& rItemSet ) { - namespace ApiScriptType = ::com::sun::star::i18n::ScriptType; + namespace ApiScriptType = css::i18n::ScriptType; /* #i17050# #i107170# We need to determine which font items are set in the item set, and which script type we should prefer according to the diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index 513febf2b257..2f1ceadc0735 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -1539,7 +1539,7 @@ void XclImpTextObj::DoPreProcessSdrObj( XclImpDffConverter& rDffConv, SdrObject& SdrTextVertAdjust eVerAlign = SDRTEXTVERTADJUST_TOP; // orientation (this is only a fake, drawing does not support real text orientation) - namespace csst = ::com::sun::star::text; + namespace csst = css::text; csst::WritingMode eWriteMode = csst::WritingMode_LR_TB; switch( maTextData.maData.mnOrient ) { @@ -2183,7 +2183,7 @@ void XclImpButtonObj::DoProcessControl( ScfPropertySet& rPropSet ) const rPropSet.SetProperty( u"Align"_ustr, nHorAlign ); // vertical text alignment - namespace csss = ::com::sun::star::style; + namespace csss = css::style; csss::VerticalAlignment eVerAlign = csss::VerticalAlignment_MIDDLE; switch( maTextData.maData.GetVerAlign() ) { @@ -2201,7 +2201,7 @@ void XclImpButtonObj::DoProcessControl( ScfPropertySet& rPropSet ) const rPropSet.SetBoolProperty( u"DefaultButton"_ustr, bDefButton ); // button type (flags cannot be combined in OOo) - namespace cssa = ::com::sun::star::awt; + namespace cssa = css::awt; cssa::PushButtonType eButtonType = cssa::PushButtonType_STANDARD; if( ::get_flag( maTextData.maData.mnButtonFlags, EXC_OBJ_BUTTON_CLOSE ) ) eButtonType = cssa::PushButtonType_OK; @@ -2286,7 +2286,7 @@ void XclImpCheckBoxObj::DoProcessControl( ScfPropertySet& rPropSet ) const rPropSet.SetProperty( u"DefaultState"_ustr, nApiState ); // box style - namespace AwtVisualEffect = ::com::sun::star::awt::VisualEffect; + namespace AwtVisualEffect = css::awt::VisualEffect; sal_Int16 nEffect = ::get_flagvalue( mnCheckBoxFlags, EXC_OBJ_CHECKBOX_FLAT, AwtVisualEffect::FLAT, AwtVisualEffect::LOOK3D ); rPropSet.SetProperty( u"VisualEffect"_ustr, nEffect ); @@ -2294,7 +2294,7 @@ void XclImpCheckBoxObj::DoProcessControl( ScfPropertySet& rPropSet ) const rPropSet.SetBoolProperty( u"MultiLine"_ustr, false ); // #i40279# always centered vertically - namespace csss = ::com::sun::star::style; + namespace csss = css::style; rPropSet.SetProperty( u"VerticalAlign"_ustr, csss::VerticalAlignment_MIDDLE ); // background color @@ -2425,7 +2425,7 @@ void XclImpLabelObj::DoProcessControl( ScfPropertySet& rPropSet ) const // text alignment (always top/left aligned) rPropSet.SetProperty( u"Align"_ustr, sal_Int16( 0 ) ); - namespace csss = ::com::sun::star::style; + namespace csss = css::style; rPropSet.SetProperty( u"VerticalAlign"_ustr, csss::VerticalAlignment_TOP ); // always wrap text automatically @@ -2696,7 +2696,7 @@ void XclImpScrollBarObj::DoProcessControl( ScfPropertySet& rPropSet ) const rPropSet.SetProperty< sal_Int32 >( u"BlockIncrement"_ustr, mnPageStep ); rPropSet.SetProperty( u"VisibleSize"_ustr, ::std::min< sal_Int32 >( mnPageStep, 1 ) ); - namespace AwtScrollOrient = ::com::sun::star::awt::ScrollBarOrientation; + namespace AwtScrollOrient = css::awt::ScrollBarOrientation; sal_Int32 nApiOrient = ::get_flagvalue( mnOrient, EXC_OBJ_SCROLLBAR_HOR, AwtScrollOrient::HORIZONTAL, AwtScrollOrient::VERTICAL ); rPropSet.SetProperty( u"Orientation"_ustr, nApiOrient ); } @@ -2733,7 +2733,7 @@ void XclImpTbxObjListBase::ReadLbsData( XclImpStream& rStrm ) void XclImpTbxObjListBase::SetBoxFormatting( ScfPropertySet& rPropSet ) const { // border style - namespace AwtVisualEffect = ::com::sun::star::awt::VisualEffect; + namespace AwtVisualEffect = css::awt::VisualEffect; sal_Int16 nApiBorder = ::get_flagvalue( mnListFlags, EXC_OBJ_LISTBOX_FLAT, AwtVisualEffect::FLAT, AwtVisualEffect::LOOK3D ); rPropSet.SetProperty( u"Border"_ustr, nApiBorder ); @@ -3547,7 +3547,7 @@ rtl::Reference<SdrObject> XclImpDffConverter::CreateSdrObject( const XclImpPictu if( aGraphic.GetType() != GraphicType::NONE ) { ErrCode nError = ERRCODE_NONE; - namespace cssea = ::com::sun::star::embed::Aspects; + namespace cssea = css::embed::Aspects; sal_Int64 nAspects = rPicObj.IsSymbol() ? cssea::MSOLE_ICON : cssea::MSOLE_CONTENT; xSdrObj = CreateSdrOLEFromStorage( diff --git a/sc/source/filter/excel/xlstyle.cxx b/sc/source/filter/excel/xlstyle.cxx index 0ba44a00bc83..1a89878d65b3 100644 --- a/sc/source/filter/excel/xlstyle.cxx +++ b/sc/source/filter/excel/xlstyle.cxx @@ -164,7 +164,7 @@ Color XclDefaultPalette::GetDefColor( sal_uInt16 nXclIndex ) const // Font Data ================================================================== -namespace Awt = ::com::sun::star::awt; +namespace Awt = css::awt; namespace AwtFontFamily = Awt::FontFamily; namespace AwtFontLineStyle = Awt::FontUnderline; namespace AwtFontStrikeout = Awt::FontStrikeout; @@ -747,7 +747,7 @@ void XclFontPropSetHelper::WriteFontProperties( ScfPropSetHelper& XclFontPropSetHelper::GetChartHelper( sal_Int16 nScript ) { - namespace ApiScriptType = ::com::sun::star::i18n::ScriptType; + namespace ApiScriptType = css::i18n::ScriptType; switch( nScript ) { case ApiScriptType::LATIN: return maHlpChWstrn; diff --git a/sc/source/ui/drawfunc/chartsh.cxx b/sc/source/ui/drawfunc/chartsh.cxx index 7a0a63b76195..96f72e115cbe 100644 --- a/sc/source/ui/drawfunc/chartsh.cxx +++ b/sc/source/ui/drawfunc/chartsh.cxx @@ -38,7 +38,7 @@ using namespace css::uno; using namespace sfx2::sidebar; -namespace drawing = com::sun::star::drawing; +namespace drawing = css::drawing; namespace { diff --git a/sc/source/ui/unoobj/cellvaluebinding.cxx b/sc/source/ui/unoobj/cellvaluebinding.cxx index c0caf001c20d..21844d268365 100644 --- a/sc/source/ui/unoobj/cellvaluebinding.cxx +++ b/sc/source/ui/unoobj/cellvaluebinding.cxx @@ -42,7 +42,7 @@ namespace calc #define PROP_HANDLE_BOUND_CELL 1 - namespace lang = ::com::sun::star::lang; + namespace lang = css::lang; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::table; |