--- editors/libreoffice/files/patch-sw_source_core_edit_edfcol.cxx (nonexistent) +++ editors/libreoffice/files/patch-sw_source_core_edit_edfcol.cxx (working copy) @@ -0,0 +1,12 @@ +--- sw/source/core/edit/edfcol.cxx.orig 2016-12-13 16:57:41 UTC ++++ sw/source/core/edit/edfcol.cxx +@@ -177,7 +177,8 @@ void SwEditShell::SetClassification(cons + if (!pDocShell) + return; + +- SfxClassificationHelper aHelper(pDocShell->getDocProperties()); ++ uno::Reference xDocProps(pDocShell->getDocProperties()); ++ SfxClassificationHelper aHelper(xDocProps); + + bool bHadWatermark = !aHelper.GetDocumentWatermark().isEmpty(); +