summaryrefslogtreecommitdiff
path: root/sw/source/uibase/table
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 16:22:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-03 21:38:56 +0200
commitca734f7cfa55814a85d5940e5f64d7c53638f6a7 (patch)
tree6958c7a84693891a687f29eead25297da0470e46 /sw/source/uibase/table
parentdc3b0983561f9166da9f3d48f8c64f9077193b0c (diff)
Just use Any ctor instead of makeAny in sw
Change-Id: I2c9023ba8d07314d23ae7a65e670e8748c5e9322 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133766 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/uibase/table')
-rw-r--r--sw/source/uibase/table/chartins.cxx2
-rw-r--r--sw/source/uibase/table/tablemgr.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/table/chartins.cxx b/sw/source/uibase/table/chartins.cxx
index 2fcea5f285f5..a1b18fedac28 100644
--- a/sw/source/uibase/table/chartins.cxx
+++ b/sw/source/uibase/table/chartins.cxx
@@ -200,7 +200,7 @@ SwInsertChart::SwInsertChart( const Link<css::ui::dialogs::DialogClosedEvent*, v
tools::Rectangle aRect( aSwRect.SVRect() );
Point aDialogPos = SwGetChartDialogPos( &rWrtShell.GetView().GetEditWin(), aDialogSize, aRect );
xDialogProps->setPropertyValue("Position",
- uno::makeAny( awt::Point(aDialogPos.getX(),aDialogPos.getY()) ) );
+ uno::Any( awt::Point(aDialogPos.getX(),aDialogPos.getY()) ) );
}
}
}
diff --git a/sw/source/uibase/table/tablemgr.cxx b/sw/source/uibase/table/tablemgr.cxx
index e062a305a279..854fa30ab6ce 100644
--- a/sw/source/uibase/table/tablemgr.cxx
+++ b/sw/source/uibase/table/tablemgr.cxx
@@ -296,16 +296,16 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart(
uno::Sequence< beans::PropertyValue > aArgs{
beans::PropertyValue(
"CellRangeRepresentation", -1,
- uno::makeAny( rCellRange ), beans::PropertyState_DIRECT_VALUE ),
+ uno::Any( rCellRange ), beans::PropertyState_DIRECT_VALUE ),
beans::PropertyValue(
"HasCategories", -1,
- uno::makeAny( bHasCategories ), beans::PropertyState_DIRECT_VALUE ),
+ uno::Any( bHasCategories ), beans::PropertyState_DIRECT_VALUE ),
beans::PropertyValue(
"FirstCellAsLabel", -1,
- uno::makeAny( bFirstCellAsLabel ), beans::PropertyState_DIRECT_VALUE ),
+ uno::Any( bFirstCellAsLabel ), beans::PropertyState_DIRECT_VALUE ),
beans::PropertyValue(
"DataRowSource", -1,
- uno::makeAny( eDataRowSource ), beans::PropertyState_DIRECT_VALUE )
+ uno::Any( eDataRowSource ), beans::PropertyState_DIRECT_VALUE )
};
xDataReceiver->setArguments( aArgs );
}