diff options
Diffstat (limited to 'uui/source/fltdlg.cxx')
-rw-r--r-- | uui/source/fltdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/fltdlg.cxx b/uui/source/fltdlg.cxx index 4aa2baa2c8e9..84cec1b166a6 100644 --- a/uui/source/fltdlg.cxx +++ b/uui/source/fltdlg.cxx @@ -173,7 +173,7 @@ class StringCalculator : public ::cppu::WeakImplHelper< css::util::XStringWidth { } - sal_Int32 SAL_CALL queryStringWidth( const OUString& sString ) throw( css::uno::RuntimeException, std::exception ) override + sal_Int32 SAL_CALL queryStringWidth( const OUString& sString ) override { return (sal_Int32)(m_pDevice->GetTextWidth(sString)); } |