diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-01-17 14:28:41 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-01-17 14:30:59 -0500 |
commit | 1fb5ecdd7442247e0ed8154928b66fab0bcbe3ad (patch) | |
tree | b3fb2f85d285f2080a65b0d0526a3f82d7790bec /svtools/inc | |
parent | 3f390be5a7f3dd0108e2257fa57cfcca6d0859e3 (diff) |
Const correct-ness in one place...
And an avalanche of changes that ensued.
Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
Diffstat (limited to 'svtools/inc')
-rw-r--r-- | svtools/inc/svtools/embedhlp.hxx | 2 | ||||
-rw-r--r-- | svtools/inc/svtools/embedtransfer.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/inc/svtools/embedhlp.hxx b/svtools/inc/svtools/embedhlp.hxx index 28976c65ec66..606aad34f089 100644 --- a/svtools/inc/svtools/embedhlp.hxx +++ b/svtools/inc/svtools/embedhlp.hxx @@ -88,7 +88,7 @@ public: sal_Int64 GetViewAspect() const; void SetViewAspect( sal_Int64 nAspect ); - Graphic* GetGraphic( ::rtl::OUString* pMediaType=0 ) const; + const Graphic* GetGraphic( OUString* pMediaType = NULL ) const; // the original size of the object ( size of the icon for iconified object ) // no conversion is done if no target mode is provided diff --git a/svtools/inc/svtools/embedtransfer.hxx b/svtools/inc/svtools/embedtransfer.hxx index b63772511168..9da80b87f37a 100644 --- a/svtools/inc/svtools/embedtransfer.hxx +++ b/svtools/inc/svtools/embedtransfer.hxx @@ -42,13 +42,13 @@ protected: public: // object, replacement image, and the aspect SvEmbedTransferHelper( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject >& xObj, - Graphic* pGraphic, + const Graphic* pGraphic, sal_Int64 nAspect ); ~SvEmbedTransferHelper(); static void FillTransferableObjectDescriptor( TransferableObjectDescriptor& rDesc, const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject >& xObj, - Graphic* pGraphic, + const Graphic* pGraphic, sal_Int64 nAspect ); }; |