summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsa.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-22 13:20:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-22 17:17:18 +0100
commitde6ccf060cc85a6ea154989bcc254e37854aa07b (patch)
tree25e3e88706f1012f777bdde58604d7e54c149a9d /sd/source/ui/view/drviewsa.cxx
parent26be5f21cebfe9acad088a1086f97eebdb437b7c (diff)
Revert "unused SID command in sd"
This reverts commit 46db544b41fd30f61dd7b7b4fa2b97ab22ceb079. Change-Id: I8eed13269000a7fc4c52c1695e36df8607b470ac Reviewed-on: https://gerrit.libreoffice.org/46965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view/drviewsa.cxx')
-rw-r--r--sd/source/ui/view/drviewsa.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
index 9a1cffc7a4fd..8032e66608cc 100644
--- a/sd/source/ui/view/drviewsa.cxx
+++ b/sd/source/ui/view/drviewsa.cxx
@@ -398,9 +398,9 @@ void DrawViewShell::CheckLineTo(SfxRequest& rReq)
#ifdef DBG_UTIL
if(rReq.IsAPI())
{
- if(SID_BEZIERTO == rReq.GetSlot() )
+ if(SID_LINETO == rReq.GetSlot() || SID_BEZIERTO == rReq.GetSlot() || SID_MOVETO == rReq.GetSlot() )
{
- OSL_FAIL("DrawViewShell::CheckLineTo: slots SID_BEZIERTO no longer supported.");
+ OSL_FAIL("DrawViewShell::CheckLineTo: slots SID_LINETO, SID_BEZIERTO, SID_MOVETO no longer supported.");
}
}
#endif
@@ -409,7 +409,7 @@ void DrawViewShell::CheckLineTo(SfxRequest& rReq)
}
/**
- * Change page parameter if SID_PAGEMARGIN
+ * Change page parameter if SID_PAGESIZE or SID_PAGEMARGIN
*/
void DrawViewShell::SetupPage (Size const &rSize,
long nLeft,