summaryrefslogtreecommitdiff
path: root/cppcanvas/source/inc/implrenderer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppcanvas/source/inc/implrenderer.hxx')
-rw-r--r--cppcanvas/source/inc/implrenderer.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx
index 93b68f9410ad..1f367280598f 100644
--- a/cppcanvas/source/inc/implrenderer.hxx
+++ b/cppcanvas/source/inc/implrenderer.hxx
@@ -23,6 +23,7 @@
#include <sal/types.h>
#include <tools/stream.hxx>
+#include <utility>
#include <vcl/metaactiontypes.hxx>
#include <cppcanvas/renderer.hxx>
#include <cppcanvas/canvas.hxx>
@@ -34,6 +35,7 @@
#include <osl/diagnose.h>
#include <memory>
+#include <span>
#include <vector>
class GDIMetaFile;
@@ -136,9 +138,9 @@ namespace cppcanvas::internal
// public, since some functors need it, too.
struct MtfAction
{
- MtfAction( const std::shared_ptr<Action>& rAction,
+ MtfAction( std::shared_ptr<Action> xAction,
sal_Int32 nOrigIndex ) :
- mpAction( rAction ),
+ mpAction(std::move( xAction )),
mnOrigIndex( nOrigIndex )
{
}
@@ -192,7 +194,8 @@ namespace cppcanvas::internal
const OUString& rString,
int nIndex,
int nLength,
- const tools::Long* pCharWidths,
+ KernArraySpan pCharWidths,
+ std::span<const sal_Bool> pKashidaArray,
const ActionFactoryParameters& rParms,
bool bSubsettable );