summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebookweek.cpp
authorsimon <simon>2002-04-30 14:28:04 (UTC)
committer simon <simon>2002-04-30 14:28:04 (UTC)
commitb7b0040f0a8069d36e3f5ad0bed0ce992dd30780 (patch) (unidiff)
tree39ac29f14f3e2e153af816b7a9f0f2d821bb075a /core/pim/datebook/datebookweek.cpp
parent972fbb128294c821ff0f13ea59a83edb015d571e (diff)
downloadopie-b7b0040f0a8069d36e3f5ad0bed0ce992dd30780.zip
opie-b7b0040f0a8069d36e3f5ad0bed0ce992dd30780.tar.gz
opie-b7b0040f0a8069d36e3f5ad0bed0ce992dd30780.tar.bz2
- no default args in method impls
- resolved parameter shadowing problem
Diffstat (limited to 'core/pim/datebook/datebookweek.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebookweek.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/datebook/datebookweek.cpp b/core/pim/datebook/datebookweek.cpp
index e9fcc39..6532ba4 100644
--- a/core/pim/datebook/datebookweek.cpp
+++ b/core/pim/datebook/datebookweek.cpp
@@ -609,13 +609,13 @@ QDate DateBookWeek::weekDate() const
609// For Weeks that start on Sunday... (ahh... home rolled) 609// For Weeks that start on Sunday... (ahh... home rolled)
610// okay, if Jan 1 is on Friday or Saturday, 610// okay, if Jan 1 is on Friday or Saturday,
611// it will go to the pervious 611// it will go to the pervious
612// week... 612// week...
613 613
614bool calcWeek( const QDate &d, int &week, int &year, 614bool calcWeek( const QDate &d, int &week, int &year,
615 bool startOnMonday = false ) 615 bool startOnMonday )
616{ 616{
617 int weekNumber; 617 int weekNumber;
618 int yearNumber; 618 int yearNumber;
619 619
620 // remove a pesky warning, (Optimizations on g++) 620 // remove a pesky warning, (Optimizations on g++)
621 weekNumber = -1; 621 weekNumber = -1;