summaryrefslogtreecommitdiff
path: root/include/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-28 09:46:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-28 09:47:59 +0200
commit1b9c3a17e8496aedfb80528c5275e6658154789d (patch)
tree69407fe156f15c60bb6e926355155229522b0e6f /include/unotools
parent02d87840558523370d552ef452f1660300d161b5 (diff)
Revert "Simplify MultiAtomProvider::getString"
This reverts commit 625c93a8daa2d23bfd42908e6fbba428d5967e84, causes problems in (Linux-only) callers.
Diffstat (limited to 'include/unotools')
-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;
};
}