summaryrefslogtreecommitdiff
path: root/sw/inc/printdata.hxx
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-02-18 16:15:50 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-02-18 16:15:50 +0100
commit0986be2a1dd63c693a680f26d14c3b8a25768cbc (patch)
tree920f3b6d4d1dfe4342fef69bc4d1a6383abe19dd /sw/inc/printdata.hxx
parentd5b0d7fada1feab69bc5a9db1332cbf73e6df7a5 (diff)
fix a return value issue
Diffstat (limited to 'sw/inc/printdata.hxx')
-rwxr-xr-xsw/inc/printdata.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/printdata.hxx b/sw/inc/printdata.hxx
index ce3e3cc6adbc..2077aa2157b1 100755
--- a/sw/inc/printdata.hxx
+++ b/sw/inc/printdata.hxx
@@ -293,8 +293,8 @@ public:
// a map for printer paper tray numbers to use for each document page
// a value of -1 for the tray means that there is no specific tray defined
- std::map< sal_Int32, sal_Int32 > GetPrinterPaperTrays() { return m_aPrinterPaperTrays; }
- const std::map< sal_Int32, sal_Int32 > GetPrinterPaperTrays() const { return m_aPrinterPaperTrays; }
+ std::map< sal_Int32, sal_Int32 >& GetPrinterPaperTrays() { return m_aPrinterPaperTrays; }
+ const std::map< sal_Int32, sal_Int32 >& GetPrinterPaperTrays() const { return m_aPrinterPaperTrays; }
// used for 'normal' printing
// A page value of 0 as entry indicates that this page is not from the document but