summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-09-07 12:38:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-09-07 18:41:23 +0200
commit46b8c7a83f2cae57966ac55591e6f512ceaa114f (patch)
treee7d2bf01ff62be4b59c03e8f94a06e7e24c6ea62 /sc
parent18502f44fc68ee9aa7967377b81c06b81d649858 (diff)
merge SvxFmDrawPage into SvxDrawPage
it adds hardly any functionality. Change-Id: I82f5c52148222596d52f1fb41d726733ca1cf40d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156654 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/pageuno.hxx6
-rw-r--r--sc/source/ui/unoobj/pageuno.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/pageuno.hxx b/sc/inc/pageuno.hxx
index 742b2aaa583a..1956ba246270 100644
--- a/sc/inc/pageuno.hxx
+++ b/sc/inc/pageuno.hxx
@@ -19,11 +19,11 @@
#pragma once
-#include <svx/fmdpage.hxx>
+#include <svx/unopage.hxx>
-// SvxFmDrawPage subclass to create ScShapeObj for shapes
+// SvxDrawPage subclass to create ScShapeObj for shapes
-class ScPageObj final : public SvxFmDrawPage
+class ScPageObj final : public SvxDrawPage
{
public:
ScPageObj(SdrPage* pPage);
diff --git a/sc/source/ui/unoobj/pageuno.cxx b/sc/source/ui/unoobj/pageuno.cxx
index 796d16e12e06..3ca903e63eb6 100644
--- a/sc/source/ui/unoobj/pageuno.cxx
+++ b/sc/source/ui/unoobj/pageuno.cxx
@@ -25,7 +25,7 @@
using namespace ::com::sun::star;
ScPageObj::ScPageObj( SdrPage* pPage ) :
- SvxFmDrawPage( pPage )
+ SvxDrawPage( pPage )
{
}
@@ -35,7 +35,7 @@ ScPageObj::~ScPageObj() noexcept
uno::Reference<drawing::XShape > ScPageObj::CreateShape( SdrObject *pObj ) const
{
- uno::Reference<drawing::XShape> xShape(SvxFmDrawPage::CreateShape( pObj ));
+ uno::Reference<drawing::XShape> xShape(SvxDrawPage::CreateShape( pObj ));
new ScShapeObj( xShape ); // aggregates object and modifies xShape