diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2018-04-04 17:13:45 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-04-10 08:37:48 +0200 |
commit | 18caee072ccbd2be7b947ef2659204d3c18a05f1 (patch) | |
tree | 7bd188d6144c2ea10da7aa26e6be74b50d3068e3 /vcl/inc/impgraph.hxx | |
parent | c5e4eec3dd98f0c7ab7a59b08450748382afcea2 (diff) |
graphic: move access to cxx for PDFData and VectorGraphicData
We need strict control when PDFData and VectorGraphicData is
accessed and changed, so create access methods for PDFData and
move the access methods to cxx (for VectorGraphicData).
Change-Id: I39324a807a4db559bad5501b5913e62a0aeabf01
Reviewed-on: https://gerrit.libreoffice.org/52395
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/inc/impgraph.hxx')
-rw-r--r-- | vcl/inc/impgraph.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx index 4496cfd84b82..a60296fde556 100644 --- a/vcl/inc/impgraph.hxx +++ b/vcl/inc/impgraph.hxx @@ -191,7 +191,11 @@ private: friend void WriteImpGraphic(SvStream& rOStm, const ImpGraphic& rImpGraphic); friend void ReadImpGraphic(SvStream& rIStm, ImpGraphic& rImpGraphic); - const VectorGraphicDataPtr& getVectorGraphicData() const { return maVectorGraphicData; } + const VectorGraphicDataPtr& getVectorGraphicData() const; + + const css::uno::Sequence<sal_Int8>& getPdfData() const; + + void setPdfData(const css::uno::Sequence<sal_Int8>& rPdfData); }; #endif // INCLUDED_VCL_INC_IMPGRAPH_HXX |