summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-09 21:10:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-09 22:04:31 +0000
commitd22519f62bcd1325f1e7cc920a115b68fccd1922 (patch)
tree3b761a7f8c25f8f765c8d25662a803e47b5a7167 /shell
parentd44168795aed842d524e3a349962f2b98a8ac504 (diff)
V801: Decreased performance
Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
Diffstat (limited to 'shell')
-rw-r--r--shell/inc/internal/contentreader.hxx2
-rw-r--r--shell/source/win32/ooofilereader/contentreader.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/inc/internal/contentreader.hxx b/shell/inc/internal/contentreader.hxx
index 279aea90eba0..a6a4e2e8a235 100644
--- a/shell/inc/internal/contentreader.hxx
+++ b/shell/inc/internal/contentreader.hxx
@@ -106,7 +106,7 @@ protected:
/** get a style's locale field.
*/
- LocaleSet_t const & getLocale( const StyleName_t Style );
+ LocaleSet_t const & getLocale( const StyleName_t& Style );
private:
std::stack<ITag*> m_TagBuilderStack;
diff --git a/shell/source/win32/ooofilereader/contentreader.cxx b/shell/source/win32/ooofilereader/contentreader.cxx
index 7f4ecd717243..3c22a1a11481 100644
--- a/shell/source/win32/ooofilereader/contentreader.cxx
+++ b/shell/source/win32/ooofilereader/contentreader.cxx
@@ -151,7 +151,7 @@ void CContentReader::addChunk( LocaleSet_t const & Locale, Content_t const & Con
/** get a style's locale field.
*/
-LocaleSet_t const & CContentReader::getLocale( const StyleName_t Style )
+LocaleSet_t const & CContentReader::getLocale( const StyleName_t& Style )
{
if ( m_StyleMap.empty() )
return m_DefaultLocale;