summaryrefslogtreecommitdiff
path: root/include/basic/sbmod.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-12 15:36:41 +0200
committerNoel Grandin <noel@peralex.com>2014-03-13 08:39:26 +0200
commit39c7532933bb4f1630e821a2a38b213eb05dcc59 (patch)
tree728ba3d9190cd42fd8f3b24c2d9b65bece528bbd /include/basic/sbmod.hxx
parent18909ddb30db7ca9416ee2bfb0503753e877f002 (diff)
basic: prefer passing OUString and OString by reference
Change-Id: I8121204cdb37d4e1d8967397f3e45bdab6aaddad
Diffstat (limited to 'include/basic/sbmod.hxx')
-rw-r--r--include/basic/sbmod.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/basic/sbmod.hxx b/include/basic/sbmod.hxx
index 62e3ebe12f79..b0b8ce34bfb0 100644
--- a/include/basic/sbmod.hxx
+++ b/include/basic/sbmod.hxx
@@ -109,7 +109,7 @@ public:
virtual sal_Bool Compile();
virtual sal_Bool IsCompiled() const;
- const SbxObject* FindType( OUString aTypeName ) const;
+ const SbxObject* FindType( const OUString& aTypeName ) const;
virtual sal_Bool IsBreakable( sal_uInt16 nLine ) const;
virtual sal_Bool IsBP( sal_uInt16 nLine ) const;