diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-24 16:02:20 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-24 16:05:07 -0500 |
commit | 4917cebdb988223be47b0f1a82241ade643bc675 (patch) | |
tree | 6e681178e37cce491cb4e5e0278509003743ae14 /sc/inc/compiler.hxx | |
parent | 3cf0847e7514a3f1217554c08cb109902cf2a637 (diff) |
fdo#75304: Set external reference info to ScCompiler.
And remove this excessive const fetish which was unfortunately necessary to
get this to compile. Setting the container const is good enough.
Change-Id: I2c6cc55a88643a68e065c4518cdf069c247f4f02
Diffstat (limited to 'sc/inc/compiler.hxx')
-rw-r--r-- | sc/inc/compiler.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx index a9f2d83edc3f..6ca4a6cc7516 100644 --- a/sc/inc/compiler.hxx +++ b/sc/inc/compiler.hxx @@ -254,7 +254,7 @@ public: virtual bool parseExternalName( const OUString& rSymbol, OUString& rFile, OUString& rName, const ScDocument* pDoc, const ::com::sun::star::uno::Sequence< - const ::com::sun::star::sheet::ExternalLinkInfo > * pExternalLinks ) const = 0; + com::sun::star::sheet::ExternalLinkInfo>* pExternalLinks ) const = 0; virtual OUString makeExternalNameStr( const OUString& rFile, const OUString& rName ) const = 0; @@ -312,7 +312,7 @@ private: SvNumberFormatter* mpFormatter; // For CONV_XL_OOX, may be set via API by MOOXML filter. - ::com::sun::star::uno::Sequence< const ::com::sun::star::sheet::ExternalLinkInfo > maExternalLinks; + com::sun::star::uno::Sequence<com::sun::star::sheet::ExternalLinkInfo> maExternalLinks; sal_Unicode cSymbol[MAXSTRLEN]; // current Symbol OUString aFormula; // formula source code @@ -425,9 +425,9 @@ private: public: /// Set external link info for ScAddress::CONV_XL_OOX. - inline void SetExternalLinks( - const ::com::sun::star::uno::Sequence< - const ::com::sun::star::sheet::ExternalLinkInfo > & rLinks ) + void SetExternalLinks( + const ::com::sun::star::uno::Sequence< + com::sun::star::sheet::ExternalLinkInfo>& rLinks ) { maExternalLinks = rLinks; } |