summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
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;