Bugzilla – Attachment 65914 Details for
Bug 53872
CRASH - opening database report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
proposed patch
patch_proposed_53872.txt (text/plain), 1.49 KB, created by
Julien Nabet
on 2012-08-21 21:32:19 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Julien Nabet
Created:
2012-08-21 21:32:19 UTC
Size:
1.49 KB
patch
obsolete
>diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx >index 9f3ce57..c9fd201 100644 >--- a/reportdesign/source/filter/xml/xmlExport.cxx >+++ b/reportdesign/source/filter/xml/xmlExport.cxx >@@ -1186,7 +1186,6 @@ void ORptExport::exportAutoStyle(XPropertySet* _xProp,const Reference<XFormatted > > awt::Point aPos = xFixedLine->getPosition(); > awt::Size aSize = xFixedLine->getSize(); >- sal_Int32 nSectionHeight = xFixedLine->getSection()->getHeight(); > > ::rtl::OUString sBorderProp; > ::std::vector< ::rtl::OUString> aProps; >@@ -1208,11 +1207,15 @@ void ORptExport::exportAutoStyle(XPropertySet* _xProp,const Reference<XFormatted > } > else // horizontal > { >- // check if border should be bottom >- if ( (aPos.Y + aSize.Height) == nSectionHeight ) >+ if ( xFixedLine->getSection() != NULL) > { >- sBorderProp = PROPERTY_BORDERBOTTOM; >- aProps.push_back(static_cast<const rtl::OUString&>(PROPERTY_BORDERTOP)); >+ sal_Int32 nSectionHeight = xFixedLine->getSection()->getHeight(); >+ // check if border should be bottom >+ if ( (aPos.Y + aSize.Height) == nSectionHeight ) >+ { >+ sBorderProp = PROPERTY_BORDERBOTTOM; >+ aProps.push_back(static_cast<const rtl::OUString&>(PROPERTY_BORDERTOP)); >+ } > } > else > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 53872
:
65870
|
65871
|
65912
| 65914