diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-10 15:04:25 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-10 17:43:23 +0100 |
commit | 275443f052887f67a6d459d443293690daa3ae24 (patch) | |
tree | 88bc19dba48f4981fbfca98a7741d5381800a01c /include/sfx2/classificationhelper.hxx | |
parent | ac8e83cfb41265c6d8a3f05000e2593bc01494e7 (diff) |
sfx2 classification: merge common code from sw and writerfilter
The two versions were almost a duplicate.
Change-Id: I3148150d62484a55fc8d59ca354998f211435c0b
Diffstat (limited to 'include/sfx2/classificationhelper.hxx')
-rw-r--r-- | include/sfx2/classificationhelper.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/classificationhelper.hxx b/include/sfx2/classificationhelper.hxx index 9ce8933d9449..5cf0cdd2613f 100644 --- a/include/sfx2/classificationhelper.hxx +++ b/include/sfx2/classificationhelper.hxx @@ -45,6 +45,8 @@ public: /// Checks if pasting from xSource to xDestination would leak information. static SfxClassificationCheckPasteResult CheckPaste(const css::uno::Reference<css::document::XDocumentProperties>& xSource, const css::uno::Reference<css::document::XDocumentProperties>& xDestination); + /// Wrapper around CheckPaste(): informs the user if necessary and finds out if the paste can be continued or not. + static bool ShowPasteInfo(SfxClassificationCheckPasteResult eResult); SfxClassificationHelper(const css::uno::Reference<css::document::XDocumentProperties>& xDocumentProperties); ~SfxClassificationHelper(); |