summaryrefslogtreecommitdiff
path: root/include/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-14 13:23:06 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 09:00:07 +0200
commitd593f45886cbe6ee9d54af1cf84b11a9004efc61 (patch)
tree5423a2fac77c02b2a5b18b6b282bbcfdeff0c944 /include/filter
parentc58fe8c85f159c6b456223b51981f411e312e33b (diff)
filter,formula: prefer passing OUString by reference
Change-Id: I332f1a593853283b72ecf4dfd82b36cc091661b4
Diffstat (limited to 'include/filter')
-rw-r--r--include/filter/msfilter/escherex.hxx2
-rw-r--r--include/filter/msfilter/util.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/filter/msfilter/escherex.hxx b/include/filter/msfilter/escherex.hxx
index a97dd87015bd..f87aa5367089 100644
--- a/include/filter/msfilter/escherex.hxx
+++ b/include/filter/msfilter/escherex.hxx
@@ -1644,7 +1644,7 @@ public:
sal_Bool SeekToPersistOffset( sal_uInt32 nKey );
virtual sal_Bool InsertAtPersistOffset( sal_uInt32 nKey, sal_uInt32 nValue ); // nValue is being inserted into the Stream where it's appropriate (overwrite modus), without that the
// current StreamPosition changes
- void SetEditAs( OUString rEditAs );
+ void SetEditAs( const OUString& rEditAs );
rtl::OUString GetEditAs() { return mEditAs; }
SvStream& GetStream() const { return *mpOutStrm; }
sal_uLong GetStreamPos() const { return mpOutStrm->Tell(); }
diff --git a/include/filter/msfilter/util.hxx b/include/filter/msfilter/util.hxx
index b22c6fbb0f30..ddf5a120ac5c 100644
--- a/include/filter/msfilter/util.hxx
+++ b/include/filter/msfilter/util.hxx
@@ -136,7 +136,7 @@ MSFILTER_DLLPUBLIC EquationResult ParseCombinedChars(const OUString& rStr);
MSFILTER_DLLPUBLIC const char* GetOOXMLPresetGeometry( const char* sShapeType );
/// Similar to EnhancedCustomShapeTypeNames::Get(), but returns an MSO_SPT (binary / VML type).
-MSFILTER_DLLPUBLIC MSO_SPT GETVMLShapeType(OString aType);
+MSFILTER_DLLPUBLIC MSO_SPT GETVMLShapeType(const OString& aType);
}