summaryrefslogtreecommitdiff
path: root/include/unotools/atom.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/unotools/atom.hxx')
-rw-r--r--include/unotools/atom.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unotools/atom.hxx b/include/unotools/atom.hxx
index d59f67a85c28..fdc656e5b69a 100644
--- a/include/unotools/atom.hxx
+++ b/include/unotools/atom.hxx
@@ -47,7 +47,7 @@ namespace utl {
~AtomProvider();
int getAtom( const OUString&, bool bCreate = false );
- OUString getString( int ) const;
+ const OUString& getString( int ) const;
};
class UNOTOOLS_DLLPUBLIC MultiAtomProvider
@@ -59,7 +59,7 @@ namespace utl {
int getAtom( int atomClass, const OUString& rString, bool bCreate = false );
- OUString getString( int atomClass, int atom ) const;
+ const OUString& getString( int atomClass, int atom ) const;
};
}