diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-11 21:52:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-12 11:51:10 +0100 |
commit | 3bc03cd0c10a74d929f21e84772416c9ee300c70 (patch) | |
tree | cf300a37ba3255a53ef5515f0f4cedcabc7db8c5 /unotools/inc | |
parent | shrink api further (diff) | |
download | core-3bc03cd0c10a74d929f21e84772416c9ee300c70.tar.gz core-3bc03cd0c10a74d929f21e84772416c9ee300c70.zip |
SvtFilterOptions::Get can never be NULL, return ref and don't leak
Diffstat (limited to 'unotools/inc')
-rw-r--r-- | unotools/inc/unotools/fltrcfg.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/unotools/inc/unotools/fltrcfg.hxx b/unotools/inc/unotools/fltrcfg.hxx index e601804e6c53..cd581e6544fd 100644 --- a/unotools/inc/unotools/fltrcfg.hxx +++ b/unotools/inc/unotools/fltrcfg.hxx @@ -93,12 +93,9 @@ public: sal_Bool IsEnableCalcPreview() const; sal_Bool IsEnableWordPreview() const; - static SvtFilterOptions* Get(); + static SvtFilterOptions& Get(); }; #endif - - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |