summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbastyles.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 09:13:09 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 13:30:50 +0200
commit71c88f02a019dee180686ac9ec88d8c7c1f7f534 (patch)
tree601702c26d9fc4fd97a88e8625e580871c5f9d01 /sc/source/ui/vba/vbastyles.hxx
parent236d6cd67e5024ecbe9baccc8f1db597bea4bfa9 (diff)
sc: prefer passing OUString by reference
Change-Id: I85e8823e872bf53182ce90576225e462edb1930a
Diffstat (limited to 'sc/source/ui/vba/vbastyles.hxx')
-rw-r--r--sc/source/ui/vba/vbastyles.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbastyles.hxx b/sc/source/ui/vba/vbastyles.hxx
index f4d75c29d628..8229f256785c 100644
--- a/sc/source/ui/vba/vbastyles.hxx
+++ b/sc/source/ui/vba/vbastyles.hxx
@@ -34,7 +34,7 @@ class ScVbaStyles: public ScVbaStyles_BASE
public:
ScVbaStyles( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::frame::XModel >& xModel ) throw ( css::script::BasicErrorException );
css::uno::Sequence< OUString > getStyleNames() throw ( css::uno::RuntimeException );
- void Delete(const OUString _sStyleName) throw ( css::script::BasicErrorException );
+ void Delete(const OUString& _sStyleName) throw ( css::script::BasicErrorException );
// XStyles
virtual css::uno::Reference< ov::excel::XStyle > SAL_CALL Add( const OUString& Name, const css::uno::Any& BasedOn ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception);
// XEnumerationAccess