Resolves: fdo#80938 fix SQL view to be editable

regression from

commit d60392fb5b387175dbd2e575848993c02c56922f
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Thu Mar 6 12:05:24 2014 +0000
    coverity#706316 help out coverity re tortured logic

Change-Id: I2ee7bd3b7421ae46878d1b565ef14dd7b0bbd10e
(cherry picked from commit 6269b62b525ec22471db56015ac2daed813ec5ff)
Resolves: fdo#86799 fix insert special char in Find/Find and Replace

regression from

7f7d2213209dd8e23292ec5a85fbab6127824c49
author	Caolán McNamara <caolanm@redhat.com>	2014-10-13 09:25:26 (GMT)
osl_Module -> osl::Module

Change-Id: Idb8fec23bdd0ee3ea0488047aadaf21e3cd2900f
(cherry picked from commit 8fc14413d9dadede63743ec76603d95eb587f580)