summaryrefslogtreecommitdiff
path: root/vcl/osx/salframeview.mm
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-16 09:24:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-16 11:38:31 +0200
commitbf08ca37324c5a6d6cfe8cc0be5c4d6396fa1341 (patch)
tree9ded9153489a95217b41933565821f1332e014bd /vcl/osx/salframeview.mm
parentbe394e1cec8eefd21f5963857b90c2268b511fc5 (diff)
loplugin:simplifyconstruct (macOS)
Change-Id: Ifad405b05142ce61673f22ec3160f50314419ce7 Reviewed-on: https://gerrit.libreoffice.org/75680 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/osx/salframeview.mm')
-rw-r--r--vcl/osx/salframeview.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index 6831415b75ba..c2c9169a40df 100644
--- a/vcl/osx/salframeview.mm
+++ b/vcl/osx/salframeview.mm
@@ -1595,7 +1595,7 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
if( len > 0 ) {
NSString *pString = [aString string];
OUString aInsertString( GetOUString( pString ) );
- std::vector<ExtTextInputAttr> aInputFlags = std::vector<ExtTextInputAttr>( std::max( 1, len ), ExtTextInputAttr::NONE );
+ std::vector<ExtTextInputAttr> aInputFlags( std::max( 1, len ), ExtTextInputAttr::NONE );
for ( int i = 0; i < len; i++ )
{
unsigned int nUnderlineValue;