summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2009-11-18 19:19:29 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2009-11-18 19:19:29 +0100
commit447d6bfd0f3d7680ecd0bbf4568e2e76ae915604 (patch)
treee634193f01d732207f08c51e7216967e61c06eda /starmath
parentf323477de7b296489ae3104fd66c22100002d358 (diff)
printerpullpages: #i106507# remove layout page for math
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/unomodel.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index 0e37f853c164..2527ddb41b81 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -96,7 +96,7 @@ SmPrintUIOptions::SmPrintUIOptions()
// create sequence of print UI options
// (Actually IsIgnoreSpacesRight is a parser option. Without it we need only 8 properties here.)
- m_aUIProperties.realloc( 8 );
+ m_aUIProperties.realloc( 9 );
// create Section for formula (results in an extra tab page in dialog)
SvtModuleOptions aOpt;
@@ -152,6 +152,11 @@ SmPrintUIOptions::SmPrintUIOptions()
10, // min value
1000, // max value
aRangeOpt );
+
+ Sequence< PropertyValue > aHintNoLayoutPage( 1 );
+ aHintNoLayoutPage[0].Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "HintNoLayoutPage" ) );
+ aHintNoLayoutPage[0].Value = makeAny( sal_True );
+ m_aUIProperties[8].Value <<= aHintNoLayoutPage;
// IsIgnoreSpacesRight is a parser option! Thus we don't add it to the printer UI.
//