https://bugs.documentfoundation.org/show_bug.cgi?id=147989

--- Comment #15 from Julien Nabet <[email protected]> ---
(In reply to Caolán McNamara from comment #14)
> another thing we have is include/i18nutil/paper.hxx and "doSloppyFit" which
> snaps page dimensions to real paper sizes when they are close enough to be
> typically rounding errors away from their intended size

Indeed, I got:
git grep -n GetSvxPaper
cui/source/tabpages/page.cxx:481:    Paper ePaper = SvxPaperInfo::GetSvxPaper(
aPaperSize, MapUnit::Map100thMM );
cui/source/tabpages/page.cxx:1000:    Paper ePaper = SvxPaperInfo::GetSvxPaper(
aSize, eUnit );
editeng/source/items/paperinf.cxx:85:Paper SvxPaperInfo::GetSvxPaper( const
Size &rSize, MapUnit eUnit )
include/editeng/paperinf.hxx:42:    static Paper    GetSvxPaper( const Size
&rSize, MapUnit eUnit );
sc/source/ui/view/printfun.cxx:2635:    Paper ePaper =
SvxPaperInfo::GetSvxPaper( aEnumSize, MapUnit::MapTwip );
sd/source/ui/sidebar/SlideBackground.cxx:920:                Paper ePaper =
SvxPaperInfo::GetSvxPaper(aPaperSize, meUnit);
sw/source/ui/envelp/envfmt.cxx:136:        Paper ePaper =
SvxPaperInfo::GetSvxPaper(
sw/source/ui/envelp/envfmt.cxx:394:    Paper ePaper =
SvxPaperInfo::GetSvxPaper(
sw/source/uibase/sidebar/PageFormatPanel.cxx:175:                Paper ePaper =
SvxPaperInfo::GetSvxPaper(aPaperSize, meUnit);

Now I don't know the best location where it should be called and not sure the
location I changed (sw/source/uibase/uno/unotxdoc.cxx) is the best part.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to