summaryrefslogtreecommitdiff
path: root/sd/source/ui/table/tablefunction.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-13 11:45:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-13 11:45:32 +0200
commit552bbc2ec1b41f9ceb5367f1e94eb7e8bbffc76a (patch)
treeace6990543020a29ee4fed56e97353ac667c726d /sd/source/ui/table/tablefunction.cxx
parent833d376b6df5f2f9e4a9cee8fe59aafac405d94f (diff)
loplugin:oncevar: empty strings: sd
Change-Id: I94330c65d021c96e79185c8a2d59f1be702c6b61
Diffstat (limited to 'sd/source/ui/table/tablefunction.cxx')
-rw-r--r--sd/source/ui/table/tablefunction.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/table/tablefunction.cxx b/sd/source/ui/table/tablefunction.cxx
index 856ef30e5eff..20bbc450fad5 100644
--- a/sd/source/ui/table/tablefunction.cxx
+++ b/sd/source/ui/table/tablefunction.cxx
@@ -277,8 +277,7 @@ void CreateTableFromRTF( SvStream& rStream, SdDrawDocument* pModel )
::tools::Rectangle aRect (aPos, aSize);
sdr::table::SdrTableObj* pObj = new sdr::table::SdrTableObj( pModel, aRect, 1, 1 );
pObj->NbcSetStyleSheet( pModel->GetDefaultStyleSheet(), true );
- OUString sTableStyle;
- apply_table_style( pObj, pModel, sTableStyle );
+ apply_table_style( pObj, pModel, OUString() );
pPage->NbcInsertObject( pObj );