diff options
Diffstat (limited to 'linguistic/source/thesdsp.hxx')
-rw-r--r-- | linguistic/source/thesdsp.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linguistic/source/thesdsp.hxx b/linguistic/source/thesdsp.hxx index 954723417a0a..077413d6e791 100644 --- a/linguistic/source/thesdsp.hxx +++ b/linguistic/source/thesdsp.hxx @@ -81,8 +81,9 @@ public: inline css::uno::Reference< css::linguistic2::XLinguProperties > ThesaurusDispatcher::GetPropSet() { - return xPropSet.is() ? - xPropSet : xPropSet = linguistic::GetLinguProperties(); + if (!xPropSet.is()) + xPropSet = linguistic::GetLinguProperties(); + return xPropSet; } |