diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-17 11:47:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-17 11:49:13 +0100 |
commit | 5573ee341b1fc38d26fcfabffbfb23eb3cadea68 (patch) | |
tree | bf6f583ac71abb71414e63e5c4cb22a52446f86c /sw | |
parent | 539f4074dd37f3ba3abe8db3cbe379b9926b4618 (diff) |
unknown printer metrics property results in empty settings.xml
regression since 0fd4d12c6233da2ac1936cd89838b006ffec5192
Change-Id: I894fe80f6c531af5c335dc1f3ba1c0ffaca1e07f
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/uno/SwXDocumentSettings.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/ui/uno/SwXDocumentSettings.cxx b/sw/source/ui/uno/SwXDocumentSettings.cxx index 8944837d9ba1..080f3b722cf8 100644 --- a/sw/source/ui/uno/SwXDocumentSettings.cxx +++ b/sw/source/ui/uno/SwXDocumentSettings.cxx @@ -1085,6 +1085,12 @@ void SwXDocumentSettings::_getSingleValue( const comphelper::PropertyInfo & rInf rValue.setValue( &bTmp, ::getBooleanCppuType() ); } break; + case HANDLE_USE_OLD_PRINTER_METRICS: + { + sal_Bool bTmp = sal_False; + rValue.setValue( &bTmp, ::getBooleanCppuType() ); + } + break; case HANDLE_TABS_RELATIVE_TO_INDENT: { sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::TABS_RELATIVE_TO_INDENT); |