diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-09-14 18:59:05 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-09-15 11:15:00 +0200 |
commit | cca02a2fbdbcc6f178c05543b0315fe8e1ade812 (patch) | |
tree | f71dcc7f8c99c53604d40f5b9b2916df69e150c7 /sw/source/core/inc | |
parent | 1f7bbd1fcd81e23ed3c8965664863bc7bb7c107c (diff) |
sw: don't throw if disposed in SwXRedlinePortion::getPropertyValue()
No other SwXTextPortion method does that, so avoid it here for
consistency, just return void.
Change-Id: Iae9b6b12e21609e315a9f269feb0703657bbf3cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102691
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sw/source/core/inc')
-rw-r--r-- | sw/source/core/inc/unoport.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/inc/unoport.hxx b/sw/source/core/inc/unoport.hxx index 7817d7d16d36..69c407d5b135 100644 --- a/sw/source/core/inc/unoport.hxx +++ b/sw/source/core/inc/unoport.hxx @@ -273,8 +273,7 @@ class SwXRedlinePortion : public SwXTextPortion private: SwRangeRedline const& m_rRedline; - /// @throws css::uno::RuntimeException - void Validate(); + bool Validate(); using SwXTextPortion::GetPropertyValue; |