summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-05-17 11:47:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-05-17 11:49:13 +0100
commit5573ee341b1fc38d26fcfabffbfb23eb3cadea68 (patch)
treebf6f583ac71abb71414e63e5c4cb22a52446f86c /sw/source
parent539f4074dd37f3ba3abe8db3cbe379b9926b4618 (diff)
unknown printer metrics property results in empty settings.xml
regression since 0fd4d12c6233da2ac1936cd89838b006ffec5192 Change-Id: I894fe80f6c531af5c335dc1f3ba1c0ffaca1e07f
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/uno/SwXDocumentSettings.cxx6
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);