summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8esh.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 12:47:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 17:55:36 +0000
commitaba0f624c8d4770b8a84a46add07c71656e96318 (patch)
treed385702d539150e3aa8ed7d52b3a3537b8abe48e /sw/source/filter/ww8/wrtw8esh.cxx
parente8260df1d67baf807771cd5c740164a227856515 (diff)
loplugin:expandablemethodds in sw(part3)
Change-Id: I7db01985a35407e4169709ede5324656c6629047 Reviewed-on: https://gerrit.libreoffice.org/30095 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/wrtw8esh.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8esh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx
index d5d62a18c8c5..9dd13c1b619a 100644
--- a/sw/source/filter/ww8/wrtw8esh.cxx
+++ b/sw/source/filter/ww8/wrtw8esh.cxx
@@ -3203,7 +3203,7 @@ void SwMSConvertControls::ExportControl(WW8Export &rWW8Wrt, const SdrUnoObj& rFo
//Create a destination storage for the microsoft control
OUStringBuffer sStorageName;
- sal_uInt32 nObjId = GenerateObjectID();
+ sal_uInt32 nObjId = ++mnObjectId;
sStorageName.append('_').append( static_cast<sal_Int64>( nObjId ));
tools::SvRef<SotStorage> xOleStg = xObjPool->OpenSotStorage(sStorageName.makeStringAndClear());