Bugzilla – Attachment 45507 Details for
Bug 35669
Incorrect cross-references to illustrations and equations in master documents
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Oops - disregard, patch submitted to wrong bug
(text/plain), 1006 bytes, created by
Troy Rollo
on 2011-04-12 03:01:38 UTC
(
hide
)
Description:
Oops - disregard, patch submitted to wrong bug
Filename:
MIME Type:
Creator:
Troy Rollo
Created:
2011-04-12 03:01:38 UTC
Size:
1006 bytes
patch
obsolete
>diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx >index 95ea5c8..d7df858 100644 >--- a/sw/source/core/doc/number.cxx >+++ b/sw/source/core/doc/number.cxx >@@ -770,7 +770,15 @@ String SwNumRule::MakeRefNumString( const SwNodeNum& rNodeNum, > pWorkingNodeNum->GetTxtNode() && > pWorkingNodeNum->GetTxtNode()->HasNumber() ) ) > { >- aRefNumStr.Insert( MakeNumString( pWorkingNodeNum->GetNumberVector() ), 0 ); >+ String aPrevStr = MakeNumString( pWorkingNodeNum->GetNumberVector() ); >+ int nLen = aPrevStr.Len(); >+ >+ if ( nLen > 0 && aPrevStr.GetChar(nLen - 1) == '.' && >+ ( aRefNumStr.Len() == 0 || >+ aRefNumStr.GetChar(0) == '(' ) >+ ) >+ aPrevStr.Erase( nLen - 1, 1 ); >+ aRefNumStr.Insert( aPrevStr, 0 ); > } > else if ( aRefNumStr.Len() > 0 ) > {
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 35669
:
45507
|
51080
|
58114
|
58688
|
70805
|
78719